cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Ask The Expert: DNA Platform Starter Python Script

794
Views
5
Helpful
1
Comments
Cisco Employee

Here is a freebie from the live Ask The Expert session "DNA Platform Features and Capabilities." This is a sample, self-contained, and ultra simple Python 2.7 script that will allow you to retrieve the information that DNA Center is using to manage a specific network device by specifying the IP address of that device. 

 

This script is definitely not meant to demonstrate Python scripting best practices or the most elegant solution to a problem. This is simply meant for those starting out with Python and with DNA Center Platform API's, and the hope is that this will spark some ideas for how regular network engineers can begin using Intent API's on a daily basis to simplify their most common tasks. 

 

I hope it is helpful!

1 Comment
Cisco Employee

I have made some updates to the script and added them to a GitHub repository. You can access the latest version here: https://github.com/traviwil/ATX/tree/master/Platform%20Features%20and%20Capabilities

CreatePlease to create content
Content for Community-Ad