Skip to content
forked from Tes3awy/R-and-S

Cisco DevNet Demos for Routing & Switching

License

Notifications You must be signed in to change notification settings

Bakhtaki/R-and-S

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cisco DevNet Python 3.6+ Language Repo Size Commit Activity Last Commit License Black Imports: isort

Netmiko & Requests Examples for Cisco DevNet

Table of Contents

  1. Getting Started
  2. How to use?
  3. Documentation Links

Getting Started

  • In netmiko_demos folder, you will find 8 Python demos, iplist.txt file, and an explanation of each example.

  • In requests_demos folder, you will find 3 Python demos, and an explanation of each example.

How to use?

  1. Download ZIP by clicking on the green Code button.

  2. Once downloaded, extract the ZIP file, right click on R-and-S-main and click Open with Code.

  3. Open netmiko_demos or requests_demos folder in VSCode.

  4. Explore each demo*.py file. (where * is the number of the demo)

  5. Run any Python demo by typing the following command in PowerShell terminal (Either integrated terminal in VSCode or standalone Windows PowerShell/CMD):

R-and-S-main\netmiko_demos> python demo*.py
R-and-S-main\requests_demos> python demo*.py

or click the Run button in the topbar.


Documentation Links

Examples in netmiko and requests folders use some Python libraries. These libraries are:

  1. Netmiko v3.4.0 (Multi-vendor library to simplify Paramiko SSH connections to network devices) Documentation Link
  2. NTC Templates v3.0.0 (TextFSM templates for parsing show commands of network devices) Documentation Link
  3. XlsxWriter v3.0.2 (XlsxWriter is a Python module for creating Excel XLSX files) Documentation Link
  4. Requests v2.26.0 (HTTP Requests) Documentation Link

About

Cisco DevNet Demos for Routing & Switching

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%