Adding Bulk subnets via single WAPI call
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
Answers
-
Hi,
Could you please share the WAPI call you are using?
Thanks amd regards,
Krishna Vasudevan
0 -
https://{{grid_master_ip}}/wapi/v2.9.5/network?_return_fields+=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.
0
Categories
- All Categories
- 5.1K Forums
- 4.6K Critical Network Services
- 463 Security
- Visibility and Insights
- Ideas Portal
- Webinars & Events
- 266 Resources
- 266 News & Announcements
- Knowledge Base Articles
- Infoblox Documentation Portal
- Infoblox Blog
- Support Portal
- 4 Members Hub
- 4 Getting Started with Community
- Community Support