Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

Getting Started

Reply

Adding Bulk subnets via single WAPI call

Techie
Posts: 9
2421     0

Hello,

 

Is it possible to add bulk of subnets via single WAPI call? I tried adding 7 subnets but it only added the last one. I am using Postman API client and running wapi version 2.9.5. I'm not sure if I need to update my object and'or argument so that it can accept bulk of subnets. Any response is appreciated

Re: Adding Bulk subnets via single WAPI call

Adviser
Posts: 179
2422     0

Hi,

 

Could you please share the WAPI call you are using?

 

Thanks amd regards,

Krishna Vasudevan

Re: Adding Bulk subnets via single WAPI call

Techie
Posts: 9
2422     0

https://{{grid_master_ip}}/wapi/v2.9.5/network?_return_fields%2B=network&_return_as_object=1

and passing object key,value pair as follows:

{
"network": "10.10.30.0/24", "network_view": "sandbox",
"network": "10.10.31.0/24", "network_view": "sandbox",
"network": "10.10.32.0/24", "network_view": "sandbox",
"network": "10.10.33.0/24", "network_view": "sandbox",
"network": "10.10.34.0/24", "network_view": "sandbox",
"network": "10.10.35.0/24", "network_view": "sandbox"
}

 

I'm pretty sure it is not right way to use it.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You