Infoblox’s global team of threat hunters uncovers a DNS operation with the ability to bypass traditional security measures and control the Great Firewall of China. Read about “Muddling Meerkat” and the many other threat actors discovered by Infoblox Threat Intel here.

Getting Started

Reply

Adding Bulk subnets via single WAPI call

Techie
Posts: 9
3047     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: 181
3048     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
3048     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