The recording of the network programmability stream which occurred on 2018/05/29
CONTEST! Get a chance to win a printed copy of "Cisco Software-Defined Access" book! Check the recording!
On this stream I showed how to use NETCONF with Ansible and Jinja2 XML templates, explained the power of NETCONF operation replace and showed python library YDK which converts YANG models to Python objects.
Timecode:
0:00 - Introduction, news and announcements
3:45 - Contest announcement! Win "Cisco Software-Defined Access" book!
8:00 - Recap of what we did last time
18:05 - Why NETCONF replace is important
30:25 - Agenda for today
53:42 - Defining new inventory for the backup lab environment
1:00:45 - NETCONF with Ansible: Replacing VRFs with Jinja2 XML templates
1:50:30 - Getting interface configuration with NETCONF and XPath filter
1:53:40 - NETCONF with Ansible: Adding Loopbacks with Jinja2 XML templates
2:16:50 - YDK: installation and troubleshooting
2:55:45 - YDK: ietf-interfaces model manipulation
3:01:09 - Summary
All YANG models can be downloaded here: https://github.com/YangModels/yang
pyang: https://github.com/mbj4668/pyang
ncclient Python library: https://github.com/ncclient/ncclient
Ansible netconf_config module: http://docs.ansible.com/ansible/lates...
YDK: https://github.com/CiscoDevNet/ydk-py
Please note that this content is stream-first and it is slow-paced by design. I recommend increasing playback speed in the player settings.
Don't miss my upcoming streams at / dmfigol
The code is on my github: https://github.com/dmfigol/network-pr...
To chat between streams join discord: / discord
Twitter: / dmfigol
Blog: https://dmfigol.me
Background music (royalty-free):
https://www.pretzel.rocks/