Network Programming and Administration using Python


Course Number: PYTH-210
Duration: 3 days (19.5 hours)
Format: Live, hands-on

Networking using Python Training Overview

This Network Programming and Administration using Python training course teaches attendees how to create TCP/IP client and server programs using multi-tasking and multi-threading in Python. Students learn how to use Paramiko, Netmiko, and NAPALM (Network Automation and Programmability Abstraction Layer with Multivendor support) libraries and functions to obtain network device and configuration information, automate SSH tasks to communicate with network devices, and automate network device configurations changes.

Location and Pricing

This course is taught as a private course in-person or online for teams of 3 or more. To receive a quote for online corporate training, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Learn sufficient Python programming skills to write programs that manage and configure network devices
  • Write robust code for multi-tasking and multi-threaded operations
  • Install and use Paramiko, Netmiko, and NAPALM capabilities for managing and configuring network devices
  • Acquire network device information
  • Automate changes to network device configurations

Prerequisites

Participants must be working systems and/or network administrators/engineers/technicians with some experience with fundamental Linux utilities and commands. Python programming experience and working knowledge of a vendor-specific network device (CLI) are useful but not essential.

Outline

Expand All | Collapse All

Introduction to Python Data Types and Operations [depth as needed]
  • Python program layout
  • Executing a Python program
  • Scalar variables and operations
  • Tuple and list array variables and operations
  • Dictionary variables and operations
  • Function creation and calling
Multi-tasking and Multi-threading TCP/IP Client/Server Python Programs
  • Python multi-tasking server
  • Avoiding zombie processes from a multi-tasking server
  • Python network client
  • Python multi-threading server
  • Avoiding zombie threads from a multi-threading server
  • Creating a daemon (server) process in Python
  • Implement a daemon-based multi-tasking or multi-threading server
Required Setup for Accessing Network Devices
  • Resource requirements for an accessible network device
  • Overview of EVE-NG setup for network device emulation
Obtaining Network Information and Configuring Network Devices (Paramiko)
  • Overview of ParamikoSSH capabilities
  • Obtaining and installing the Paramiko SSH library
  • Initial connection to a network device via the SSH connect method
  • Sending and receiving network device information via Paramiko SSH methods
Obtaining Network Information and Configuring Network Devices (Netmiko)
  • Overview of the Netmiko library capabilities (wrapper around Paramiko SSH)
  • Obtaining and installing the Netmiko library
  • Successfully establishing a connection to network device
  • Basic informational extraction commands
  • Execution of configuration commands with possible commit actions
  • Platform auto-detection from SSH
Obtaining Network Information and Configuring Network Devices 
  • Overview of NAPALM (Network Automation and Programmability Abstraction Layer)
  • Obtaining and installing the NAPALM library on Linux
  • NAPALM common API interface to establish a connection to a network device
  • Basic retrieval of state data from a network device
  • Loading, replacing, merging, and committing configuration changes
  • Rolling back committed changes
  • Ansible modules to drive NAPALM actions
Conclusion

Training Materials

All Python programming training students receive comprehensive courseware covering all topics in the course.

Software Requirements

Attendees will not need to install any software on their computer for this class. The class will be conducted in a remote environment that Accelebrate will provide; students will only need a local computer with a web browser and a stable Internet connection. Any recent version of Microsoft Edge, Mozilla Firefox, or Google Chrome will be fine.



Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan