Reply

Create a list of all of our subnets

New Member
Posts: 2
120     0

Hello,

 

I'm running into a issue when using Curl to list out all the subnets in our IPAM. When I run the command,

curl -k -u admin:infoblox -X GET "https://<your-infoblox-grid-master-ip>/wapi/v2.12/network?network_container=10.0.0.0/8&_return_fields=network"

 

I get the message;

{ "Error": "AdmConProtoError: Result set too large (> 1000)",
"code": "Client.Ibap.Proto",
"text": "Result set too large (> 1000)"
}

 

If I run the command for a specific subnet the Curl command works. Its my assumption is that the error message comes form Infoblox not Curl. Can anyone tell me if there is a way to configure Infoblox to allow it to display more results?

 

Thanks,

 

Gordon

 

 

 

Re: Create a list of all of our subnets

Authority
Posts: 38
121     0

Using max_results you can get past the 1000 threshold 

curl -k -u admin:infoblox -X GET "https://<your-infoblox-grid-master-ip>/wapi/v2.12/network?network_container=10.0.0.0/8&_return_fields=network&_max_results=X
Replace X with the number of your choice 

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