[195478] in North American Network Operators' Group
Re: DevOps workflow for networking
daemon@ATHENA.MIT.EDU (Leo Bicknell)
Fri Aug 11 12:34:49 2017
X-Original-To: nanog@nanog.org
Date: Fri, 11 Aug 2017 09:34:41 -0700
From: Leo Bicknell <bicknell@ufp.org>
To: nanog@nanog.org
Mail-Followup-To: nanog@nanog.org
In-Reply-To: <20170811155125.GD29045@bamboo.slabnet.com>
Errors-To: nanog-bounces@nanog.org
--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
In a message written on Fri, Aug 11, 2017 at 08:51:25AM -0700, Hugo Slabber=
t wrote:
> Possibly a minor nit, but if the devices "don't directly support=20
> automation", how is the "D" part of "CI/CD" accomplished there? =20
> `integration -ne deployment`. Do you mean something like "there is no AP=
I=20
> or e.g. netconf interface, but they can generate config off-box, scp it,=
=20
> and `copy start run` to load"?
More or less. I've worked at places that do this sort of thing.
1) Download config from box.
2) Run script to determine changes necesary to config.
3) Load changes.
4) Download config again.
5) Re-run the script to determine changes necessary, verify there are none.
For a lot of the devices with a Cisco-IOS like interface it's not even
hard. Generate a code snippet:
config terminal
interface e0
description bar
end
write mem
Then tftp the config to a server, have the script see e0 has description
bar.
--=20
Leo Bicknell - bicknell@ufp.org
PGP keys at http://www.ufp.org/~bicknell/
--ew6BAiZeqk4r7MaW
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIVAwUBWY3cobN3O8aJIdTMAQJdOxAAuDiiN14xBSSU9UKLKAYE9dnQNJMMd6h5
70oo4dEm2G7r7xiPA36jc5defbc0YW5E5S1bKHKa5/edRWhYBAWcHHczzMoNQyL4
4/KNIutFdI+4qHIDF7Ea0Y6PgxOM0Zsp2HUofrI+QMm+m7uul0WPis8SQnKgnbw4
rzsB3lhqNCBGbkXKX81qpEx+H5pSO6MH7U5eH1FYQeq0lvOA7TH1Ficzpzi5ykx0
0T7G8bFxdK25jjEAxERkJV286N2WdFBkGjR4Al+P64FQ3rxFpyxydnGz5LPT+kVU
r3slGGRan23/F7m4pBswhkyDa2q6vmXpU4updTLaFnjrJasSjbfBbmHGmNSPG6P5
zzSCrS6MwN4aiye4ior2eEMlhzCdPGZMbYhiw4piAXOVFSXhwzzo/7yo7nlY/1+s
cAXwzPnNlosmRnJ01i5i3K2gWR/gnWnSCP09I1v8prNyKfz55iihgf9ZKmSXXXcl
eyfqJUD54bTc2ePceV9aXwoDzkNsE/Zfjw9wDXGtegrONXJI53qvlaSzbrp1HNn6
Zr4yxQEySEb944NUcm8oeobhd4uq9IMmeQ/I63mZqCY9PqUgR5l3S3mWL2MemAhQ
YI6rVdStZICcgY5IK225V5wMU+J36iZOpivFkIGEwGLFwg1VIEaM67vfuvNpygB7
/KlUGPbXdkc=
=QUFB
-----END PGP SIGNATURE-----
--ew6BAiZeqk4r7MaW--