How to get Variables data for DayN provision passed into the template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2021 05:20 PM
Hi all,
At the moment, we are using GUI for DayN provision.
We passed variables into the DayN template and push it to the device.
Is there any API call that I can get all the variables and value have been pushed to the device from the DayN template ?
Thank you
- Labels:
-
Cisco DNA
-
Network Plug-and-Play
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2021 05:54 PM
Hello @vantruongsinh,
I think this article 3 Simple ways to use Cisco DNA Center Platform APIs by Robert Csapo describes how to do what you want to accomplish.
Variable Bindings may be a possible solution. In his Cisco Blogs post Using Advanced Velocity Templates in Cisco DNA Center – Part 1, Adam Radford goes into detail regarding using these with the GUI. The next blog from Adam in this series, Using Advanced Velocity Templates in Cisco DNA Center – Part 2, describes using the Intent API to get attributes, "REST API call for /dna/intent/api/v1/interface", for example.
Hope this helps!
