Introducing Python and Web Services Programmability for Network Engineers v3.0

Course Duration

4 Days


• Solid understanding of networking protocols, routing, and switching
• CCNA certification and experience with Cisco routers and switches is recommended but not required

Course Content

In this course, you will learn about the interoperability of Python programming with networking to prepare the next generation engineers for software defined networking (SDN). This class is designed for network engineers and administrators looking to add necessary programming skills in preparation for various ACI and SDN technologies as well as interacting with Web Services on appliances such as the F5, A10, and Cisco UCS. A skillset of data extraction for interacting with big data platforms is emphasized in this course.

What You’ll Learn

• Basic and advanced Python terminologies
• Python script errors and correct
• Query and reconfigure networking devices using Python scripts
• Introduction to RESTful API utilizing JSON and XML
• Apply Web Services Protocols to Multivendor Platforms (The CSR 1000v) is used as the platform for demonstration

Who Should Attend

• Network administrators, engineers, and operations technicians
• Individuals interested in learning about programming

Course Outline

1. Basic Constructs
• Execute printing
• Execute variables
• Execute built in methods
• Execute input from users
• Boolean

2. Advanced Constructs
• Execute redundant scripts
• Execute functions
• Execute classes

3. Scaling Python
• Execute Reading Files scripts
• Execute Writing to File scripts
• Execute Reading and Writing to Spreadsheets
• Reading and Writing to Databases
• Execute substituting strings and integers
• Execute while loops
• Execute for loops and lists
• Execute slicing
• Updating and editing a list
• Error checking

4. Dictionaries and Regular Expressions
• Execute dictionaries
• Delete dictionaries
• Execute dictionaries with lists
• Execute Regular expressions (match, search, findall, sub)

5. Introduction to Web Services Protocols
• Common Web Services Protocols and Transport methods
• The Management Information Tree view of accessing objects
• Object naming conventions
• What an encoded document is in relation to plain text.

6. XML and JSON
• Basic XML concepts
• Format of an XML document
• Basic JSON concepts
• Format of a JSON document

7. Data Models
• Generic parts of an XML Schema
• Flow of how an XML Schema is used

8. Modifying the Schema
• Use CURL to post and retrieve data from a schema
• Use POSTMAN to post and retrieve data from a schema
• Use Python with a native API to an appliance
• Use Python without a native API to an appliance

9. Data Extraction and Manipulation
• Load and parse a JSON Document
• Load and Parse an XML Document

• Lab 1: The Basic Script
• Lab 2: Introduction to the SSH Script
• Lab 3: Scaling SSH Script-1
• Lab 4: Scaling SSH Script-2
• Lab 5: Efficiency of Functions
• Lab 6: Reading and Writing to Files-1
• Lab 7: Reading and Writing to Files-2 
• Lab 8: Advanced SSH Script
• Lab 9: Working with Regular Expressions
• Lab 10: Pinger Detector
• Lab 11: VLAN Checker
• Lab 12: Final Mentored Lab
• Lab 13: Challenge-1
• Lab 14: Challenge-2
• Lab 15: CURL
• Lab 16: POSTMAN
• Lab 17: Python with Web Services