-
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.
-
Download ZIP
by clicking on the green Code button. -
Once downloaded, extract the ZIP file, right click on
R-and-S-main
and clickOpen with Code
. -
Run
pip install -r requirements.txt
. -
Open
netmiko_demos
orrequests_demos
folder in VSCode. -
Explore each
demo*.py
file. (where * is the number of the demo) -
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.
Examples in netmiko
and requests
folders use some Python libraries. These libraries are:
- Netmiko v4.2.0 (Multi-vendor library to simplify Paramiko SSH connections to network devices) Documentation Link
- NTC Templates v3.5.0 (TextFSM templates for parsing show commands of network devices) Documentation Link
- XlsxWriter v3.1.6 (XlsxWriter is a Python module for creating Excel XLSX files) Documentation Link
- Requests v2.31.0 (HTTP Requests) Documentation Link