- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Find Network Containers within a Network Container
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
Re: Find Network Containers within a Network Container
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Re: Find Network Containers within a Network Container
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 01:39 AM
Hi,
Did you find a way to do this at all please?
I need to find containers within a container too.
Thanks
Re: Find Network Containers within a Network Container
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Cheers