03-19-2021 05:05 PM
Hello, i'm testing DNA center API and I'm trying to do ip pools reservation through the API
So far i was able to catch in the browser console the API to get reserved vlan for a site
but i can't figure out the right way to create reservations
This is an example: once u collect the siteid, u can list the reserved pools: https://{{dnac}}:{{port}}/api/v2/ippool/group?siteId=87d74795-dfb5-4ac0-a3b5-b3694661814a
in the console I can see the API post when creating a ip pool reservation :
XHR finished loading: POST "https://10.1.100.10/api/v2/ippool/group"
and if I delete the pool and replay the XHR it works
Help please
03-19-2021 05:19 PM
Well I figured how to do thanks to firefox
08-22-2021 04:23 AM
In the new 2.2.3 API they have added this to the documentation as well:
https://developer.cisco.com/docs/dna-center/#!reserve-ip-subpool
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide