Cisco DNA Center is a centralized network control and management dashboard for Cisco DNA, an intent-based networking solution.
This project provides a sample Python application and client libraries to access the Platform REST APIs for the Python language. The included sample application performs the following functions:
- Authenticates with Cisco DNA Center
- Retrieves a count of the number of networking devices listed in the inventory
- Displays a high level summary of the networkings devices listed in the inventory
By default the sample application has disabled SSL certificate checking when connecting to Cisco DNA Center, but this can be re-enabled if desired.
The following package must be installed prior to running the sample application:
Python 3.4+
Install via Setuptools.
python setup.py install --user
The sample test program can be run using the following command
./test_python.py -i <ipaddress> -u <username> network