Network Automation with Python and Playbooks Training in Canada

  • Learn via: Classroom
  • Duration: 5 Days
  • Price: From €3,243+VAT
We can host this training at your preferred location. Contact us!

New - Learn how to automate your network using Python and Playbooks.

No two networks are the same! Regardless, your network can be automated with a powerful combination of Python and Ansible across all major (and most minor) network vendors. Lessons and labs focus on using both Python and Ansible to interact with and configure your network devices. At the conclusion of this course, you will return to work empowered with skills necessary to automate network management! This class is a combination of live demonstrations and hands-on labs with virtual network devices and endpoints as targets for your configuration.



Is This The Right Course?

  • Recommended Prerequisite: Python Basics (5 days)
  • Coding experience in another language serves as an adequate prerequisite

Who Should Attend?

  • Network Administrators
  • Playbook devs / architects
  • Python devs
  • Administrators interested in Automation
  • Individuals interested in devops, specifically for networking

  • Recommended Prerequisite: Python Basics (5 days)
  • Coding experience in another language serves as an adequate prerequisite

  • Version controlling code with Git
  • Open SSH sessions and pass commands to remote servers
  • Remotely open CLI to network devices
  • Move files via SFTP
  • Overview of Ansible modules
  • Ansible collections for network automation
  • Custom Ansible modules with Python
  • Best practices for automating the management and configuration of network devices

Day 01
Python Basics Review

  • Overview of Python and Ansible
  • Python whitespace rules & best practices
  • Conditional expressions
  • Relational and Boolean operators
  • Lists, Tuples, Dictionaries
  • Indexing and slicing
  • Built-in functions
  • Writing custom functions
  • Getting at methods
  • Iterating with Loops (for and while)
  • Working with files
  • Software Control Management (SCM) (Git, Github, Bitbucket, Cloudshare, etc.)
  • Getting at RESTful interfaces with Python
  • Working with JSON
  • Python, Ansible and Paramiko
  • Using Paramiko to SSH with keys and passwords

Day 02
Python and Network Automation

  • RESTful API review
  • API keys
  • Paramiko Review
  • Using Paramiko to SFTP with keys and passwords
  • Introduction to Netmiko (automating routers and switches)
  • Using Netmiko to send commands to / from network devices
  • Working with YAML
  • Converting JSON to YAML with Python

 

Day 03
Basic Ansible Review

  • Ansible keywords
  • YAML and JSON for data exchange
  • Ansible and YAML
  • 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

 

Day 04
Blending Python and Ansible Skillsets

  • Review how to use Python within Ansible
  • 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
  • Playbook tagging for selective runs
  • When to use Python and when to use Ansible
  • “Big Picture” options for using Python & Ansible within your Network
  • Ansible Roles
  • Extending Ansible to support Palo Alto (Optional - Case Study)
  • Extending Ansible to support Juniper vendor modules (Optional - Case Study)
  • Extending Ansible to support NAPALM (Optional - Case Study)

Day 05
Customizing Ansible with Python

  • Review – Running Scripts with Ansible
  • Prompting for Ansible user input
  • Ansible Galaxy & Getting at Roles
  • Writing a custom Ansible Module with Python
  • Ansible “Engine” vs Ansible “Tower” – marketing hype, capabilities, costs, etc.
  • Case Study: Automate your Enterprise Network
  • When to use Python and when to use Ansible
  • Writing your own Ansible modules in Python
  • “Big Picture” options for using Python & Ansible within your Network
  • Overview - NETCONF / YANG and what they mean for Python and Ansible
  • Molecule – Testing your roles


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Canada facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
05 January 2025
Toronto, Montreal, Calgary
5 Days
Classroom / Virtual Classroom
13 January 2025
Toronto, Montreal, Calgary
5 Days
Classroom / Virtual Classroom
05 January 2025
Toronto, Montreal, Calgary
5 Days
Classroom / Virtual Classroom
05 February 2025
Toronto, Montreal, Calgary
5 Days
Classroom / Virtual Classroom
13 January 2025
Toronto, Montreal, Calgary
5 Days
Classroom / Virtual Classroom
21 February 2025
Toronto, Montreal, Calgary
5 Days
Classroom / Virtual Classroom
05 February 2025
Toronto, Montreal, Calgary
5 Days
Classroom / Virtual Classroom
21 February 2025
Toronto, Montreal, Calgary
5 Days
Network Automation with Python and Playbooks Training Course in Canada

Canada is a North American country. Known as the second-largest country of the world, Canada’s capital city is Ottawa. Toronto, Vancouver and Montreal are the biggest and most popular cities of this country. The 8,891-kilometer southern and western border between Canada and the United States is the world's longest intergovernmental land border. This country also has the longest coastline in the world.

Canada is a constitutional monarchy. The country was originally a British Empire colony and is now a part of the British Commonwealth. Both French and English are Canada’s official languages. Canada’s national animal is a beaver and the its flag design is a vertical triband of red and white with a red maple leaf charged in the centre. Some of the top-rated tourist attractions in Canada are Niagara Falls, Banff National Park and Rocky Mountains, CN Tower in Toronto City, Bay of Fundy, Old Quebec (Vieux-Quebec in French), the ski resort of Whistler, Ottawa's Parliament Hill and Vancouver Island.

Choose from our extensive selection of IT courses, covering programming, data analytics, software development, business skills, cloud computing, cybersecurity, project management. Our highly skilled instructors will deliver hands-on training and valuable insights at a location of your choice within Canada.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.