Want to automate networks easily? Use Python, CSV files and Cisco Genie (pyATS). Hank Preston shows us how to connect to live devices and automate the network.
Menu:
1:15 - Start Python Virtual Environment
4:10 - Install VIRL utils
6:12 - Genie Install
8:10 - Genie Inventory file (testbed file)
12:05 - Install iPython
12:30 - Create and use Genie Python Script
32:00 - Python Script with multiple devices
Videos mentioned and references:
CSV Part 1: www.youtube.com/watch?v=PB9D4RqBaQw
Genie Intro Video: youtu.be/unOmwDsMj8k
VIRL Utils: www.youtube.com/watch?v=S0jfZLobFdU&t=2188s
Which network automation tool should I learn? youtu.be/jsh4XUPZTWE
pyATS and Genie on DevNet: bit.ly/2KVshrt
NetDevOps Live Episode on Python Libraries including CSV: bit.ly/2xrowkK
Network programmability Basics Video Series covering CSV: bit.ly/325FxPB
Code Samples Repo github.com/hpreston/network_info_scripts
Final Code Sample github.com/hpreston/network_in…interface_report.py
Interactive Walkthrough github.com/hpreston/network_in…port_interactive.py