Posts: 1
2970     0

I am trying to get the next available ip based on a range( using the rest API.

However, when I send an ip to next_available_ip where the last octect is 0 (ie: it returns which is the next available. But, when I send it returns 0. Why is that the case? Any help would be more than appreciated! 

Re: get_next_available_ip()

Posts: 69
2971     0

Hi Nikita,


This seems to be working differently for me.


Please see the calls below.


curl -k -u admin:infoblox -H "Content-Type: application/json" -X POST -d '{"ipv4addr": "func:nextavailableip:", "mac": "1abbcccdeeff" }'



curl -k -u admin:infoblox -H "Content-Type: appliction/json" -X GET -d '{"mac": "1a:bb:cc:cd:ee:ff" }'
        "_ref": "fixedaddress/ZG5zLmZpeGVkX2FkZHJlc3MkMTAuMTkyLjE2LjIwNi4wLi4:",
        "ipv4addr": "",
        "network_view": "default"



If you are using a similar API call and getting different results, perhaps opening a support case would be ideal.




Showing results for 
Search instead for 
Did you mean: 

Recommended for You