DevOps workflow for networking
bicknell at ufp.org
Fri Aug 11 16:34:41 UTC 2017
In a message written on Fri, Aug 11, 2017 at 08:51:25AM -0700, Hugo Slabbert wrote:
> Possibly a minor nit, but if the devices "don't directly support
> automation", how is the "D" part of "CI/CD" accomplished there?
> `integration -ne deployment`. Do you mean something like "there is no API
> or e.g. netconf interface, but they can generate config off-box, scp it,
> 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:
Then tftp the config to a server, have the script see e0 has description
Leo Bicknell - bicknell at ufp.org
PGP keys at http://www.ufp.org/~bicknell/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 793 bytes
Desc: not available
More information about the NANOG