11-18-2015 12:51 AM
We need WAPI to get all the free IPs from IPAM for a particular subnet in one shot. As per document we can see there is a command for "ipv4addr": "func:nextavailableip. But is there any API which can give all IPs in one shot
11-18-2015 08:40 AM
Using the ipv4address object and searching on the Infoblox network and status=UNUSED will give you the list of available IPs for that subnet.
curl -k1 -u testuser -X GET 'https://10.10.100.51/wapi/v1.4/ipv4address?network=10.10.10.0/24&status=UNUSED'
11-26-2015 10:28 AM
This will exclude any free LEASES as part of a DHCP range within the subnet. Can use "lease_state" for that with status FREE
09-13-2019 10:29 AM
I have a question on similar lines. In the below code as suggested by you, if i change the status to USED or to an extrensible attribute value as status=blocked, will the api give me used ip address and blocked ip address respectively ??