Questions about Network Automation Workshop
Marcel Reuter sent me a few questions about my upcoming Network Automation workshop. You might find them interesting, so here they are:
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.
Covered in the workshop. I’m focusing on vIOS (which is pretty close to IOS Classic and IOS-XE) and Nexus OS because that’s what I can get up and running quickly in VIRL.
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!
Netconf tools use Yang (and not XSD) to model data.
So here is a question I asked on the forum of OpenDaylight (with southbond in netconf) ... No response ... yet
https://ask.opendaylight.org/question/12986/how-to-convert-xsd-to-yang-model/