Skip to content

Tes3awy/Collab-DevNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cisco DevNet Tested on Python 3.6+ Language Repo Size Issues Open Releases Download Commit Activity Last Commit Release Date License Black Imports: isort

Cisco DevNet for Collaboration

Netmiko, AXL, and Requests Exercises DevNet for Collaboration

  • In netmiko folder, you will find ten Python exercises, config-ex7.txt file, a requirements.txt file, and an explanation of each exercise.

  • In axl folder, you will find nine Python exercises, a requirements.txt file, and an explanation of each exercise.

  • In requests folder, you will find four Python exercises, a requirements.txt file, and an explanation of each exercise.

How to use?

  1. Clone this repo or Download ZIP by clicking on Code Button up above. (Alternativley, you can click on Releases on the right hand side and download the latest release)

  2. Once downloaded, extract the ZIP file and cd into axl, netmiko or requests folder.

  3. Open axl, netmiko, or requests folder in VSCode.

  4. Open requirements.txt file and if any of the libraries is not installed on your PC, run the following command in the PowerShell terminal within VSCode:

path_to\folder> pip install -r requirements.txt --user ↵
  1. Explore each exercise*.py file. (where * is the number of the exercise)

  2. Run any Python exercise by typing the following command in PowerShell terminal in VSCode:

path_to\folder> python exercise*.py ↵

Libraries Documentation Links

Examples in netmiko and requests folder uses 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 v2.1.0 (TextFSM templates for parsing show commands of network devices) Documentation Link.
  3. XlsxWriter v1.4.3 (XlsxWriter is a Python module for creating Excel XLSX files) Documentation Link.
  4. Pandas v1.2.5 (Data Analysis Library) Documentation Link.
  5. Openpyxl v3.0.7 (A Python library to read/write Excel 2010 xlsx/xlsm files) Documentation Link.
  6. Requests v2.22.0 (HTTP Requests) Documentation Link.
  7. ciscoaxl v0.158 (Cisco CUCM AXL Library. Simple to use.) Documentation Link.