Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

Getting Error while creating a record with next available IP function

Authority
Posts: 29
2078     0

Hi Team,

 

I want to add a new record with name=wapi.info.com with next avaialbleip function in my network view called="default.Testing". I am getting error that it doesnt match any unique network. I dont know how to proceed?

 

 

API call:

 

curl -k -u admin:infoblox -H 'content-type: application/json' -X POST "https://172.20.165.192/wapi/v2.7/record:host_return_fields%2B=name,network_view,ipv4addrs&_return_as... " -d '{"name":"wapi.info.com","view":"default.Testing","ipv4addrs":[{"ipv4addr":"func:nextavailableip:10.10.0.0/24"}]}'

 

 

Error:
"code": "Client.Ibap.Proto",
"text": "10.10.0.0/24 does not match any unique networks/ranges (ipv4addr)"

Re: Getting Error while creating a record with next available IP function

Authority
Posts: 14
2079     0

I believe this was just answered in your other post:

 

https://community.infoblox.com/t5/API-Integration/Add-host-in-a-network-with-next-available-IP-funct...

 

Thanks.

Jelle
Escalations Engineer EMEA
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