Course description
Network Automation Using Python and Ansible
This Network Automation training course teaches students to blend Python skillsets with Ansible through the lens of automating networks. Automation techniques for the most popular vendors (incl. Cisco, Juniper, Arista) will be subjects of study, however students may request examples from vendors within their own environments. Topics begin with a focus on automating networks with Python. This skill set is then folded into a broadening understanding of automating with Ansible. By the conclusion of this course, Students will have programmatic experience automating enterprise class networks, including writing custom Ansible modules with Python.
Class is a combination of lecture, demonstration, and hands-on labs. Students are invited to share their own relevant Python and Ansible scripts with the instructor to ensure class subjects are as relevant as possible.
Upcoming start dates
Who should attend?
Prerequisites
Python Basics
Training content
Python Review
- Conditional expressions
- Relational and Boolean operators
- Lists, Tuples, Dictionaries
- Built-in functions
- Writing custom functions
- Getting at methods
- Iterating with Loops (for and while)
- Working with files
- Working with JSON and YAML
Python and Network Automation
- Overview of REST
- Getting at RESTful interfaces with Python
- Python and APIs
- Paramkio and Netmiko
- Dealing with SSH Keys and Passwords
- Best practices for securing credentials
Version Management with Git and GitHub
- git commands
- git branching
- Setting up a GitHub user account
- Tracking your code with git
Introduction to Ansible
- Ansible programming keywords
- YAML and JSON for data exchange within playbooks
- Ansible Playbook components
- Tying together Python and Ansible – Using Python within Ansible
Ansible Network Modules
- What is new in Ansible (most current updates / release notes)
- Network Agnostic modules
- Writing network playbooks
- Reviewing the construction of network playbooks
- Writing Ansible playbooks that respond to network failures
Blending Python and Ansible Skillsets
- Dropping Python code snippets within Ansible Playbooks
- Overview of the Ansible Python Plugin system
- Crafting custom Ansible modules with Python
- Calling Python scripts with Ansible
- Jinja2 Templating Engine for Python (and Ansible)
- Using Templates in Ansible playbooks
- Jinja2 filters, looping, and other useful tricks for automating with Ansible
- When to use Python and when to use Ansible
- Ansible Galaxy, Collection, and Roles
Customizing Ansible with Python
- Writing custom Ansible modules with Python
- Writing custom Ansible plugins with Python
- Deploying Ansible customizations with Ansible Collections
- Prompting for Ansible user input Molecule – Testing your roles
Costs
- Live Webinar fee: $2,195.00
- Contact the provider for more information about pricing for on-site delivery option
Continuing studies
Follow-on Courses
Python for Network Automation
Quick stats about Alta3?
25+ years specializing in technology training
Over 95% student satisfaction rate
Training delivered in 9+ countries
Reviews
Average rating 4.8
I didn't have any expectations prior to this class,. thanks for helping me better understand scripts, codes, and a little bit of programming and linx.
Sam's class was excellent and enjoyable. He hit all the points I was interested in and showed us examples of how we can use this knowledge in our jobs. He was very knowledgeable...
Contact this provider
Alta3 Research
Since 1997, Alta3 Research has been empowering organizations and individuals using their expert approach to Cloud, DevOps and Telecom training. We develop and perform technical training via live classroom, online classes and our library of self-paced learning videos and labs....
It was a very informative course with many useful samples and practicality. Thank you very much.