Reply

Getting Error while creating a record with next available IP function

Authority
Posts: 30
124     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)"

Highlighted

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

Authority
Posts: 17
124     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 
Do you mean 

Recommended for You