Reply
Accepted Solution

infoblox-client update

acas
Techie
Posts: 4
6881     0

Has anyone updated host records using python infoblox-client.  I can create and delete entries but I want to update.  I updated the object ipaddress under the HostRecordV4 but that did not update the rest of the ip4vaddrs section of the object.  The process I used was.

 

Get the host record.

Update object local.

 

Then tried to store the object back via the update method.  Is this right?

 

Any suggestion would be appreciated.

 

acas

Highlighted

Re: infoblox-client update

acas
Techie
Posts: 4
6881     0

I solved this I updated the ipv4addrs part of the object and it worked.  Updating the object HostRecordV4 does not affect the overall object change of IP.

Re: infoblox-client update

Authority
Posts: 39
6882     0

Sorry, but this isn't really helpful.

 

A snippet of code would be helpful.

 

For instance, I'm attempting to perform a lookup to see if a PTR record exists for an IP.  If one exists, I'l want to delete it, Trying to figure out the operands necesary for say objects.PtrRecord.fetch().

Showing results for 
Search instead for 
Do you mean 

Recommended for You