06-15-2022 05:39 AM
Hi Guys,
Is it possible to use DNAs REST API to pull all subnets within DNA including the VLAN name?
Thanks,
Connor
06-15-2022 03:25 PM
Cannot think of an API which gives us all these information. But indirectly I wonder if we can get all interface - /dna/intent/api/v1/interface.
In the response we have IP and IP MASK then apply some logic and programming.
Also /topology/vlan/vlan-names returns the list of VLAN names
Basically checking all APIs in Know Your Network section in DNAC API doc may give you some idea.
06-16-2022 02:34 AM
Many thanks, do you know of a way to pull this info via a report or another feature of DNA?
This feels like a basic task a SDA should be able to do with ease?
Best Regards,
Connor
06-16-2022 07:32 AM
If you search for "pool" in the Developer Toolkit (Platform->Developer Toolkit), you will see the APIs related to the IP Pool configurations. Perhaps /business/sda/virtualnetwork/ippool or /reserve-ip-subpool will get you what you need.
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