Many network engineers still configure their devices (e.g. Cisco routers, switches, etc.) by hand. These days there are better ways: using RESTCONF we can automate our ports and interfaces using Python. This course teaches how to do with in a 4-day, hands-on approach.
Outline
About labs/exercises
There are exercises available for all topics covered. Participants typically work on their own computers, but if necessary Code Sensei offers an online environment (Jupyter Lab).
Day 1
- Variables, Types, Operators
- Input, Output, Type Conversions
- Booleans and Conditional Execution (if)
- While loops
- Reading and writing text files
- Searching for text in a file
- Filtering text files
Day 2
- Functions
- Lists
- For Loops
- Import
- Reading and writing CSV files
- Correctly working with CSV headers
- Searching and filtering CSV files
Day 3
- Dicts
- Tuples
- Exceptions
- Running python programs from the command-line
- Using Requests to consume REST API’s
Dag 4
- Running commands remotely using netmiko and paramiko
- Generating text (e.g. interface commands) using Jinja
- Understanding the YANG network data model
- Using RESTCONF to automate network management