Automating a network inventory with Python pyats involves using the pyATS framework 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.
Click to Dino to check the video!!!
How can we talk to the devices?
What tool / language will we use?
How do we create the list of devices to work with?
How will we share our code for others to use?
How do we protect any “secrets” (username/password)
In this step you are going to provide a report via Python.
REFERENCES
Download in your machine Summer 2021 Devasc-Prep-Network-Inventory-01 maked by Hank Preston, that is a guide if you need help to develop all the code related how to make an inventory.
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer: Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.