Python for Network Automation

Learn how to automate your network using Python. This class will help you maximize your networking skill set by learning to script solutions for tedious, complicated, and overwhelming networking tasks.

Retail Price: $2,395.00

Next Date: Request Date

Course Days: 5


Request a Date

Request Custom Course


WHAT YOU'LL LEARN

Join an engaging hands-on learning environment, where you’ll learn to:

  • Automate front end interfaces
  • Interact with APIs
  • Open Telnet and SSH sessions
  • Read and write data from popular file types (including Excel)
  • Transform data between popular data structures like JSON and YAML
  • Learn to interact with switches and routers using Python libraries

This is a lab-intensive hands-on course with engaging instruction, demos, and discussions.

WHO SHOULD ATTEND?

Network Engineers, System Administrators, Developers, and other professionals interested in network programmability with Python.

PREREQUISITES

Before attending this course, you should have:

  • Basic understanding of network concepts
  • Previous experience with Python or any another scripting language
  • Python Basics
  • Understanding Networking Fundamentals

COURSE OUTLINE

Reviewing Python Essentials

  • Version Controlling Code
  • Up and running with Python (installing on various platforms)
  • Lists
  • Dictionaries
  • File Input and Output
  • Functions
  • Methods
  • Review of the Standard Library
  • Using pip and pypi.org

Python and Data translation

  • JSON
    • Reading from files
    • Reading from API
  • YAML
    • Reading from files
  • CSV
    • Reading from files
  • Excel
    • Using pyexcel library
    • Using pandas library

Python and RESTful APIs

  • RESTful APIs decoded
  • Reading attachments
  • API keying
  • Passing credentials securely
  • Standard Library Solution
  • 3rd party library solutions

Automating SMTP and Extended SMTP (Email)

  • SMTP
  • Extended SMTP
  • Automating Email solutions
  • Setting headers and creating a body
  • Attachments
  • Google Gmail considerations
  • Microsoft considerations

Completing Webforms with Python

  • Web Scraping
  • Automating front-ends with code
  • Selenium for Automation
  • Completing webforms
  • Filling in data with data from open files
  • How to select ‘buttons’
  • How to make ‘clicks’

Python and Telnet

  • RFC 854 - Telnet Protocol
  • Standard Library Solution

Python and SSH

  • Library Solution
  • Paramiko
    • SSH Agents
    • Key exchange and authorization
    • Securing dealing with passwords
    • Configuration
    • SFTP
  • Passing commands and capturing responses
  • Parsing remote logs

Automating Switches and Routers with Python

  • Netmiko
  • Push / Pull Configuration
  • Retrieve information about devices
  • Manage the devices configuration
  • Connecting and Running a Command on a Networking Device
  • Enable & Global Config Mode
  • Configure a Networking Device from a File
  • Configuration Backup using Netmiko
  • VLAN & VXLAN management
  • BGP & OSPF Management
  • Solutions for HSRP, VRRP, and GLBP

Automating Networks with Python NAPALM

  • Installation
  • Tutorials
  • Validating deployments
  • Supported Devices
  • Command Line Tool
  • NetworkDriver
  • YANG
  • napalm-logs
  • Integrations

Python and Network Captures

  • Wireshark
  • TCPDump
  • Decoding network captures with Python
  • *.pcap files
  • *.pcap-ng files
  • Parsing network captures
  • Regular Expression Library

Optimizations and Security

  • Multiprocessing and Multithreading
  • Examples of running in parallel
  • Cost and Benefit Considerations
  • Secure hashes and digests
  • MD5, SHA, and OpenSSL Options
  • Encrypting content
  • Considerations for credentials
  • Securely passing input


Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com


Request a Date