Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to reserve the IP Address using objects #361

Open
nikhilsharma343 opened this issue Feb 21, 2023 · 1 comment
Open

Not able to reserve the IP Address using objects #361

nikhilsharma343 opened this issue Feb 21, 2023 · 1 comment

Comments

@nikhilsharma343
Copy link

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]

@sarya-infoblox
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants