THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

Search for a vDiscovery network request empty output

Techie
Posts: 7
1333     0

Hi,

 

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.

 

Thanks

Re: Search for a vDiscovery network request empty output

Techie
Posts: 7
1334     0

Ignore me,

 

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"

Closing issue.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin