Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Python Network Programmability: Scaling Scripts

Python Network Programmability: Scaling Scripts

1h 14mIntermediate2018-10-01

Authors

David Bombal

David Bombal

Creating content and courses for networking professionals worldwide

Course details

The days of configuring networks with only the CLI are drawing to a close. Python extends the capabilities of network programming, allowing you to build complex scripts that can easily scale to fit the needs of your network. This training course shows how to use Netmiko—a Python library for SSH management of network hardware—to write scripts to perform a number of network configurations. Instructor David Bombal shows how to configure Cisco routers and switches by iterating from a simple script with one connection and one command. He shows how to grow and improve the code over time, building into a powerful script that can read multiple commands and multiple IPs from a file, prompt for user credentials, handle errors, and find specific devices. He also shows how to scale scripts with encrypted passwords and multithreading, which allows you to execute several commands simultaneously.

Skills covered

GNS3PythonProgramming LanguagesOpen SourceSoftware DevelopmentDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Netmiko script iterations

1. Iteration Process

  • 02 - Script 1 - Basic script
  • 03 - Script 2 - Open a file of commands
  • 04 - Script 3 - Configure multiple devices
  • 05 - Script 4 - Remove passwords
  • 06 - Script 5 - Error handling
  • 07 - Script 6 - Determine device types
  • 08 - Script 7 - Iterate device type script

2. Netmiko Scaling

  • 09 - Encrypted password file
  • 10 - Sequential network script, part 1
  • 11 - Sequential network script, part 2
  • 12 - Netmiko multithreading
  • 13 - Netmiko thread pools

Related courses

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal