infobloxopen/infoblox-client

Not able to reserve the IP Address using objects

Opened this issue · 1 comments

I am trying to reserve the IP Address within a network but not able to do so. I am using objects but getting an error:

hr = objects.IPAddress.search(conn, ip_address='10.216.38.5')
hr.types.append('RESERVATION')
hr.update()

infoblox_client.exceptions.InfobloxCannotUpdateObject: Cannot update object with ref ipv4address/Li5pcHY0X2Jlc3MkMTAu4rfttt2LjM4LjUvMA:10.216.38.5: b'{ "Error": "AdmConProtoError: Operation update not allowed for ipv4address", \n "code": "Client.Ibap.Proto", \n "text": "Operation update not allowed for ipv4address"\n}' [code 400]

Hi @nikhilsharma343

The way you are trying to reserve the IP address is not correct. Give me some time, I will get back to you the correct way.