Software defined network ACI & SD-WAN inventory with Python work over requests library to simplify and accelerate the process of collecting and organizing information about network devices. By leveraging the power of Python programming, network administrators can create customized scripts that automate the collection of device data, enabling them to quickly and accurately generate an inventory of all devices on their network. In this scenario we are going to work with sandbox ACI and SD-WAN.
Click on the logo to see the demo!
In order to generarte a report for SD-WAN AND ACI as initial point is necesary respond this questions:
-
Click to Machine Logo to check the video!!!
-
How can we talk to the controllers? We are going to use REST API
-
What API are available to retrieve the information?
-
How can we explore and test the APIs? ACI Inspector and Postman
-
How can we use those APIs in Python? We are going to work with the library requests
-
How do we add this feature to the inventory script? Create a New Script for ACI / SD_WAN
- Library to interact: requests, pyATS
Topics | Description | Title | Notes |
---|---|---|---|
INSTALL PYTHON AND DEPENDENCIES | Install Python 3.10.2. | INSTALL PYTHON AND DEPENDENCIES | In this first step you install your Python. |
INSTALL ANYCONNECT VPN CLIENT | Install VPN Client via CLI | INSTALL ANYCONNECT VPN CLIENT | In this second step you are going to install your vpn anyconnect client. |
INSTALL GIT | Install GIT via CLI | INSTALL GIT | In this step you install git in your environment. |
SCRIPT INVENTORY ACI & SD-WAN | Script to collect inventory for ACI and SD-WAN | SCRIPT INVENTORY ACI & SD-WAN | In this section you are going to generate the inventory using python. |
SCRIPT TO CREATE A CSV FILE | Script to generate a CSV File | SCRIPT TO CREATE A CSV FILE | In this step you are going to dowload the files captured previously via Python. |
SOFTWARE.DEFINED.NETWORK.INVENTORY.-.ADDING.ACI.AND.SD-WAN.mp4
- Download in your machine Summer 2021 Devasc-Prep-Network-Inventory-02 maked by Hank Preston, that is a guide if you need help to develop all the code related how to make an inventory.
- Devnet Sandbox to test owner Inventory
- Reserve your Sandboc ACI Simulator here!
- SD-WAN Online Always Active
- JSON to test format