We have a lab with virtual IOS-XE, IOS-XR and Junos (vMX) router. I would like to learn how to provisioning the Lab router.
Also, these two platforms cover the worst possible network automation scenarios. Cisco IOS has no API and pretty broken NETCONF, and Nexus OS doesn’t even have configuration replace.
You want to know how broken NETCONF is on Cisco IOS? David Gee covered the details in the NETCONF and YANG webinar. Nexus OS was worse (didn’t test the latest versions) – you couldn’t even retrieve the configuration with get-config.
Later, I would add baseline config…
Covered. We’re talking about copying configs with scp or using Ansible networking modules to merge configurations. If Ansible 2.2 ships before the workshop, I’ll add a section on configuration management (new network modules are full of configuration management goodies).
… and after running the tests I’d want to go back to previous config.
All three platforms (IOS XE, IOS XR and Junos) have configuration replace functionality, so that shouldn’t be a problem, and we’ll talk about executing commands on networking devices using Ansible modules. Replacing configuration works like a charm on vMX, probably also on IOS-XR, with some glitches on IOS-XE (policy maps are a beast).
However, as my reader is running a virtual lab, it might be easier to just clone or snapshot the VMs and rollback to the previous state using the virtualization platform.
Will you cover using network automation in live environment?
Absolutely, including all sorts of caveats ;)
We want to provide from the engineering team config templates and plan changes to live network routers, but before rolling out these new changes, the OPS dream have to agree on the changes.
These topics are well covered in the introductory part of the workshop (it’s more about processes and procedures than tools), and if I find time within the next few weeks, I’ll add a live demo of Github/Jenkins workflow.
Interested? Register now!