CSV files, Jinja2 templates, python and Network Automation! Wow - that is a lot! But Hank Preston demonstrates how to use all of those in this video. Source code here: [ Ссылка ]
Menu:
00:00 - Introduction
02:29 - Spreadsheet conversion
04:19 - Importing using Python
13:41 - What are the advantages of using Jinja2 templates?
16:35 - Skills that Network Engineers should learn?
19:00 - The working template
32:09 - Exporting to a text file
35:22 - Using a script
37:46 - How would I turn this into something that configures a device?
51:18 - Should I use CSV/YAML/JSON?
Links:
Video 1 in series: [ Ссылка ]
Video 2 in series: [ Ссылка ]
Start Now Page on Devnet: [ Ссылка ]
NetDevOps Live Episode on Python Libraries including CSV: [ Ссылка ]
Coding Fundamentals Learning Labs: [ Ссылка ]
Network programmability Basics Video Series covering CSV: [ Ссылка ]
Jinja2 template video: [ Ссылка ]
#python #jinja2 #devnet
Python and Jinja2 Cisco Network Automation
Теги
pythonjinja2jinjajinja2 tutorialpython jinja2 template examplepython jinja2 examplejinja python3devnethank prestonhank preston pythondavid bombal hank prestonNetwork Automationnetwork programmingnetwork pythoncisco pythoncisco devnetpython ciscopython automationansiblepython csvcsv pythoncsv formatCisco Devnetnetdevopscisco devopspython tutorialccnpccna pythonpython ccnapython programmingcsv file pythondevops