cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
89
Views
0
Helpful
0
Replies

Catalyst Center API get all pools from a specific VN

francoisdaigle
Level 1
Level 1

Hi,

I need to get a list of Reserved IP Pools for each of Virtual Network. The only way I've found yet is

1. Get a list of all VN: /dna/intent/api/v1/business/sda/virtual-network/summary

2. Get a list of all Reserved IP pool: /dna/intent/api/v1/reserve-ip-subpool

3. Then loop over each VN then loop over each Reserve IP Pool to get IP Pool per VN: /dna/intent/api/v1/business/sda/virtualnetwork/ippool

Because we have many VN and pools, this process required few hundreds for calls. Is anybody aware of more efficient way of getting this ?

From the GUI, in Fabric Sites > Virtual Networks > Anycast Gateway has the ouptut I need. 

Regards

0 Replies 0