-
Learning by doing
-
Trainers with practical experience
-
Classroom training
-
Detailed course material
-
Clear content description
-
Tailormade content possible
-
Training that proceeds
-
Small groups
In the course Python Network Automation participants learn to use Python and special Python networking libraries to automatically manage and configure networks. The focus is on the use of Python for interacting with network equipment. The course uses the Graphical Network Simulator-3, GNS3, with which complex networks can be simulated. Network engineers can use the acquired knowledge directly in their daily work.
The course starts with a discussion of the basic Python syntax with variables, data types, control flow, functions, modules and packages.
Next attention is paid to classes and objects in Python, including encapsulation, inheritance, polymorphism and abstract classes.
Widely used Python libraries such as those for regular expressions and the access of files including XML and JSON files are on the program of the course as well.
The Graphical Network Simulator-3, GNS3, is then loaded with images of Cisco IOS, Juniper vSRX and Arista vEOS to access and configure these network systems with Python.
Setting up serial connections, encoding and decoding, configuring Cisco devices and module enhancement are treated also.
Then the course will discuss the automation of networks with the SSH tools Paramiko and Netmiko and the open source Napalm Network API.
Finally, after a treatment of making backups, parallel processing in Python with multiple threads and processes is on the program. Netmiko is used here as well.
The Course Python Network Automation is intended for developers and system administrators who want to learn how to use Python to configure and analyze network equipment.
Experience with Python programming is not strictly necessary to participate in this course. Experience with Python programming is beneficial to good understanding.
The theory in the course Python Network Automation is discussed on the basis of presentation slides. Illustrative demos clarify the concepts. The theory is interchanged with exercises. Course times are from 9:30 to 16:30.
Participants receive an official certificate Python Network Automation after successful completion of the course.
Module 1 : Python Essentials |
Module 2 : Classes and Objects |
Module 3 : Python Libraries |
Python 2 versus Python 3 Lines and Indentation Python Data Types Numbers and Strings Lists and Tuples Sets and Dictionaries Python Flow Control Comprehensions Functions Modules and Packages Exception Handling |
Python Object Orientation Creating Classes Class Members Creating and Using Objects Property Syntax Static Methods Encapsulation Inheritance and Polymorphism Constructor Chaining Overriding Methods Abstract Classes |
Regular Expressions Logging Log Configuration Generators Unit Testing Dates and Times JSON Access XML Access Numpy Library Pandas Library Plotting |
Module 4 : Python Network Access |
Module 5 : File Access |
Module 6 : Serial Connections |
VM Installations Install GNS3 VM Cisco IOS Images Juniper vSRX Images Arista vEOS Images Connect to Images Cisco IOS in GNS3 Arista vEOS in GNS3 Juniper vSRX in GNS3 Configuring Images |
Creating Files File Processing Reading Files Tell, Seek and Cursors With Keyword Reading into List CSV File Access CSV Custom Delimiters Iterating over Files Copying Files |
Bytes Objects Encoding and Decoding Communication Basics Connecting to Console Port Open Connection to Device Configure Cisco Devices Pyserial Refactoring Custom Serial Module Module Enhancement Configuration Automation |
Module 7 : Network Automation |
Module 8 : Backups |
Module 9 : Parallel Processing |
Telnet Protocol Basics Connecting to Network Devices getpass Module Configure Multiple Devices Configure Loopback Interfaces Automation with Paramiko SSH on Cisco Devices Configure OSPF Automation with Netmiko Automation with Napalm |
Cisco Backup Configuration Secure Copying with SCP Netmiko Prompt Global Config Mode Backup Improvement Preparing Router for SCP Configure EOS Switches Check Interface Status Merging Configurations Configuration Rollback |
Processing Theory Multiple Threads Multiple Processing Subprocess Module Os Module Synchronization Global Interpreter Lock Multiprocessing with Netmiko Shutil Module Troubleshooting Netmiko |
All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.
We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.
The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.
We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.
Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.
The course includes lunch that we use in a restaurant within walking distance of the course room.
The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.
At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.
The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.