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

Get IP Pool from SDA Virtual Network

Regan.D
Level 1
Level 1

Team,

 

I'm trying to use the "Get IP Pool from SDA Virtual Network" REST API however, i'm not having any luck. Based on the docs, it requires the ipPoolName and and virtualNetworkName.

 

https://developer.cisco.com/docs/dna-center/#!get-ip-pool-from-sda-virtual-network

 

In my environment i have a VN called "PROD_VN" and an IP Pool called 'branch-2-prod-vn-pool-2'

 

{'ipPoolName': 'branch-2-prod-vn-pool-2', 'virtualNetworkName': 'PROD_VN'}
https://10.7.16.19:443/dna/intent/api/v1/business/sda/virtualnetwork/ippool?ipPoolName=branch-2-prod-vn-pool-2&virtualNetworkName=PROD_VN
{'description': 'Make sure given ip pool is created and assigend to a virtual '
'network in SDA Fabric.',
'executionStatusUrl': 'https://10.7.16.26/api/dnacaap/v1/dnacaap/management/execution-status/b7cb01c0-313e-410a-a5f1-bb626f6093d0',
'status': 'failed'}

 

Any guidance or direction would be appreciated.

 

Regards,

 

 

 

1 Reply 1

Alex Stevenson
Cisco Employee
Cisco Employee

 

Hello @Regan.D,

 

I can't help but wonder if the issue is the long concatenated URL is the issue. The docs linked to don't use that format. I would use the format given in the 'Example Body':

 

{

"status": null,

"description": null,

"virtualNetworkName": null,

"ipPoolName": null,

"authenticationPolicyName": null,

"trafficType": null,

"scalableGroupName": null,

"isL2FloodingEnabled": null,

"isThisCriticalPool": null

}

 

Best regards,

                    Alex