- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
Search for a vDiscovery network request empty output
12-13-2022 02:58 AM
I'm trying to get a reference for Networks using the documented command in the "Infoblox Reference Guide - Infoblox REST API.docx":
curl -k -u admin:infoblox -X GET "https://grid-master/wapi/v2.12/network?network=172.21.10.0/24&_return_as_object=1"
This works with normal networks but not ones discovered by vDiscovery.
My structure is:
10.0.0.0/8 (Container) - 10.96.0.0/11 (Container) -- 10.96.1.0/24 (Network) - vDiscovery
-- 10.96.224.0/22 (Network) - 10.200.0.0/16 (Container) -- 10.200.41.0/24 (Network)
-- 10.200.42.0/24 (Network)
In the above example all networks return a reference except for the vDisvovery ones (there are many). Is there way to get a reference please? With the reference I'm hoping to delete stale network information for VPCs that have been deleted.
Solved! Go to Solution.
Re: Search for a vDiscovery network request empty output
12-13-2022 04:17 AM
VPCs I believe are technically Network Containers. Searching for the Container does return a reference.
curl -k -u admin:infoblox -X GET "https://grid-master/wapi/v2.12/networkcontainer?network=10.96.1.0/24&_return_as_object=1"