IPs are Unmanaged after Deleting Host Record

[ Edited ]
Posts: 2
5108     1


My company is using InfoBlox for IPAM and DNS as a part of an automation Proof of Technology using RedHat CloudForms. I've written methods to create host records and then delete them via the API as a part of our VM provisioning/deprovisioning workflows.


When deleting the records, these IPs are then listed as "unmanaged" and are not returned as "avalible" by my REST calls. I'm wondering if there is another API call I can make to "re-manage" these IPs, or maybe an alternative way to delete the host record that opens the IP up as avalible again automatically.


I'm currently deleting the host record using the DELETE request suggested in The definitive list of REST examples.


Thanks -


Re: IPs are Unmanaged after Deleting Host

Posts: 141
5108     1



How you described that it looks like everything should work as expected by your.

You didn't provided any code/requests you made, so we can guess. Are you using nextavailableip to receive an available IP?




Re: IPs are Unmanaged after Deleting Host

Posts: 39
5108     1

The 'Unmanaged' status is because the address still has some discovered data.
I've tried the following REST on my grid and it did clear the 'unmanaged' status of the IP :


you will have to put the following data in the POST body :


  "scope": "IP_ADDRESS",
  "network": "",
  "ip_address": "",
  "usage": "UNMANAGED"


Hope this helps,



Re: IPs are Unmanaged after Deleting Host

[ Edited ]
Posts: 2
5109     1

I ended up using a POST very similar to this.


I pass all those keys/values as params.


Thank you for your reply.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You