Closed tapanswain-zz closed 9 years ago
def create_host_record function, func:nextavailableip need network reference . you can call get_next_available_ip function to get free ip
Which version WAPI you are running? In WAPI 1.6 it does not require network reference.
From: tapanswain <notifications@github.com>
To: Infoblox-Development/Infoblox-API-Python Infoblox-API-Python@noreply.github.com Sent: Sunday, January 11, 2015 1:52 PM Subject: [Infoblox-API-Python] Update infoblox.py (#3)
def create_host_record function, func:nextavailableip need network reference . you can call get_next_available_ip function to get free ip You can merge this Pull Request by running git pull https://github.com/tapanswain/Infoblox-API-Python patch-1Or view, comment on, or merge it at: https://github.com/Infoblox-Development/Infoblox-API-Python/pull/3 Commit Summary
File Changes
Patch Links:
Thanks for your quick response here. we are using 1.0 version, so it is not working . Can we add functionality to as per wapi version we call different functions ?
For WAPI 1.0 you can still use the same library with two calls:
From: tapanswain <notifications@github.com>
To: Infoblox-Development/Infoblox-API-Python Infoblox-API-Python@noreply.github.com Cc: Igor Feoktistov ifeoktistov@yahoo.com Sent: Tuesday, January 13, 2015 6:33 AM Subject: Re: [Infoblox-API-Python] Update infoblox.py (#3)
Thanks for your quick response here. we are using 1.0 version, so it is not working . Can we add functionality to as per wapi version we use functions ? — Reply to this email directly or view it on GitHub.
two issue when we use 1,0 1)Invalid value for ipv4addr: "func:nextavailableip:x.x.x.x/y": Invalid IPv4 address , 2)Unknown argument: _return_fields=['ipv4addrs']
def create_host_record function, func:nextavailableip need network reference . you can call get_next_available_ip function to get free ip