| new skills - Team Nuggets
New Training: Enterprise Automation with DNA Center Platform
In this 6-video skill, CBT Nuggets trainer Knox Hutchinson introduces you to the architecture of DNA Center programmability and teaches you how to automate tasks within DNA Center by using Python. Watch this new Cisco training.
Watch the full course: Cisco CCNP Enterprise Core
This training includes:
- 6 videos
- 23 minutes of training
You’ll learn these topics in this skill:
- Automate the Automator
- Where the Platform Fits In
- Exploring the Platform’s Capabilities
- Interpret API Responses with Postman
- Scripting DNAC Calls with Python
- Summarizing DNA Center Platform
What is Cisco DNA Center SDK?
Cisco DNA Center SDK is a lightweight and scalable Python API wrapper for Cisco DNA Center APIs. The SDK handles the API semantics, so that developers can focus on their applications. You can also use the SDK to interact with DNA Center APIs within an interactive Python session.
The SDK is available through PIP and PyPI (Python Package Index). To install it, enter "pip install dnacentersdk" at the command prompt.
Before you can interact with the DNA Center APIs, you must first obtain a DNA Center Access Token. This is how the APIs validate access and identify the requesting user. Cisco recommends that you store your DNA credentials as environment variables. But you can also pass them as parameters when creating the connection object.
At the heart of the SDK is the DNACenterAPI connection object. Once you have established the connection with it, you can use the object to perform DNA commands.