06-13-2022 02:56 AM
I'm looking to call an API that will return all the network containers inside a network container. Currently I'm using:
06-17-2022 05:52 AM - edited 06-17-2022 05:52 AM
Networks and Network Containers are different object types. So you would need to run two calls, one to retrieve networks and another to retrieve network containers.
12-14-2022 01:39 AM
Did you find a way to do this at all please?
I need to find containers within a container too.
12-14-2022 02:20 AM
Worked it out.
Curl to find containers inside a container is:
curl -k -u admin:infoblox -X GET https://grid-master/wapi/v2.12/networkcontainer?network_container=10.0.0.0/16&_return_as_object=1
Curl to find networks in containers by the way is
curl -k -u admin:infoblox -X GET https://grid-master/wapi/v2.12/network?network_container=10.0.0.0/16&_return_fields%2B=network_container