Python Programming for Cisco Networking Engineers

Duration: 
5 days
Codes: 
PPCNE

Overview

The course provides a comprehensive Python programming experience for Cisco networking professionals to automate and manage across the entire Cisco networking product line. With a focus on the Python programming language, you will learn to write, edit, modify, and expand complex Python scripts to utilize APIs and data models to effectively automate Cisco networking tasks throughout the enterprise. This will enable you to create and implement Python programming to automate configuration and operational needs in a Cisco enterprise.

Hands-on labs are an integral part of this class and take you from the basics of Python programming to the specific skills and tools needed to manage network devices en masse using programming.Reducing implementation time for software-based technologies in a Cisco enterprise.

Audience

Engineers who implement software-based technologies in a Cisco enterprise or configure and manage network devices.

Skills Gained

After you complete this course you should be able to:

  • Write and test several functional Python scripts.
  • Write, edit, modify, and expand complex Python scripts to utilize APIs and data models.
  • Use the following APIs to automate configuration and management of Cisco networking devices:
    • Paramiko
    • REST
    • XML
    • JSON
    • NETCONF
    • RESTCONF
  • Use the YANG and MIT data models to read and manage objects to automate configuration and management of Cisco networking devices.
  • Automate configuration of multiple Cisco devices.
  • Use the following DevOps / learning tools to enable efficient use of APIs and data models and effectively create Python scripts:
    • Postman
    • IDEs for both Windows and Linux
      • Notepad++
      • Sublime
      • PyCharm
      • Microsoft Visual Studio
      • Anaconda
      • Linux VI Editor
    • Lint tools for XML and JSON
    • Visore for Cisco Data Center
    • API Inspector for Cisco ACI
    • YANG Validator

 

Prerequisites

Attendees should meet the following prerequisites:

  • Knowledge of Cisco networking devices is required. ICND1 Recommended
  • Knowledge of ACI is useful. INTACI Recommended
  • Knowledge of programming or Python is NOT required

Course Outline

Fundamental Python programming

Python data structure

Using Python to read from and write to a file

Python loops and conditional code

GitHub

Programming Python Functions

Python Libraries, Packages, and Modules

Integrated Development Environments

Python code analysis and error handling

Cisco-supported APIs and automation protocols

Cisco IOS XE RESTCONF API

Cisco IOS XE NETCONF API

Cisco ASA REST API

Cisco IOS XR NETCONF API

Cisco Nexus NX-OS APIs

YANG data model

Cisco Application Centric Infrastructure

Cisco ACI whitelists

Extracting XML and JSON from the Cisco ACI

Modifying the ACI policy with Postman and Python

The Cisco ACI Visore tool

Cisco UCS topology

Configuring UCS with Python

Labs;

  • Lab 1: Practice the effects of fundamental Python commands
  • Lab 2: Program Python data structure
  • Lab 3: Create Python scripts to interact with files
  • Lab 4: Write scripts to demonstrate Python loops and conditional code
  • Lab 5: Create a Python script
  • Lab 6: Share files using Git and GitHub
  • Lab 7: Write Python Functions
  • Lab 8: Write Python code of Modules and Packages
  • Lab 9: Implement Python code in IDEs
  • Lab 10: Debug and test Python code
  • Lab 11: Create, execute, and validate a Python script with an IDE
  • Lab 12: Explore and validate automation protocols
  • Lab 13: Perform a configuration change on an IOS XE device with the RESTCONF API
  • Lab 14: Perform a configuration change on an IOS XE device with the NETCONF API
  • Lab 15: Perform a configuration change on an ASA device with the REST API
  • Lab 16: Perform a configuration change on an IOS XR device with the NETCONF API
  • Lab 17: Perform a configuration change on a Nexus NX-OS device using APIs
  • Lab 18: Troubleshoot existing Python scripts with an IDE
  • Lab 19: Analyze YANG files with the online YANG validator tool
  • Lab 20: Perform an ACI fabric discovery
  • Lab 21: Manually configure a Cisco ACI whitelist
  • Lab 22: Extract XML and JSON from the Cisco ACI
  • Lab 23: Utilize the API inspector and Postman to create Python scripts
  • Lab 24: Use the Cisco ACI Visore tool
  • Lab 25: Create a Python script to modify an ACI fabric
  • Lab 26: Manually configure Cisco UCS
  • Lab 27: Configure UCS with Python
  • Lab 28: Create a Python script to modify a UCS configuration

Related Courses

 

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. It's a cost effective option.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.

ITILv3, RESILIA, PRINCE2, PRINCE2 Agile, AgileSHIFT, MSP, M_o_R, P3M3, P3O, MoP, MoV courses on this page are offered by QA Affiliate of AXELOS Limited. ITIL, RESILIA, PRINCE2, PRINCE2 Agile, AgileSHIFT, MSP, M_o_R, P3M3, P3O,MoP, MoV are registered trademarks of AXELOS Limited. All rights reserved.

Upcoming Dates

  • GREEN This class is Guaranteed To Run.
  • SPVC - Self-Paced Virtual Class.
  • Click a Date to Enroll.
Course Location Days Cost Date
London London5 3750 £3750 2019-12-09