Network Automation using Ansible and Python
summary
Shows a practical method to treat network config as data and render device configs with Ansible + Jinja2 + YAML, then push them and verify state. Uses Vagrant test VSRX lab (three devices), Junos Ansible modules to load rendered configs, and a PyEZ verification script (Python) that checks for the advertised prefix 123.123.123.1. Templates render per-host, pushes report changes, and the end-to-end deploy plus verification succeeds.
AI-written summary · about
chapters (11)
- 0:00Introduction & Methodology
- 18:09YAML data modeling
- 26:42Jinja2 templating
- 33:43Applying concepts to networking
- 40:39Ansible fundamentals
- 49:40Ansible playbooks in action
- 1:05:48Ansible roles and variables
- 1:19:20Ansible with Juniper devices
- 1:32:12Advanced Ansible techniques
- 1:44:11Verification and Python
- 1:52:50Conclusion & Resources
related talks
30mIntroduction to Ansible for Network Automation
50mJust Enough Network Automation to Get You Started
44mAnsible powered Network automation
51mOur Journey to a self-healing network
25mNetwork Automation Tools & Technology
32mNetwork Automation: A Journey, Not a Destination
36mSelf-service Network Automation Using Slack
27mNetwork as Code
