Skip to content

Update infoblox.py #3

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

Closed

Conversation

tapanswain-zz
Copy link

def create_host_record function, func:nextavailableip need network reference . you can call get_next_available_ip function to get free ip

 def create_host_record  function, func:nextavailableip need network reference . you can call get_next_available_ip function to get free ip
@tapanswain-zz
Copy link
Author

def create_host_record function, func:nextavailableip need network reference . you can call get_next_available_ip function to get free ip

changing unicode string to  a regular string
@igor-feoktistov
Copy link
Contributor

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:  #3
Commit Summary

  • Update infoblox.py

File Changes

  • M infoblox.py (3)

Patch Links:

@tapanswain-zz
Copy link
Author

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 ?

@igor-feoktistov
Copy link
Contributor

For WAPI 1.0 you can still use the same library with two calls:

  1. get_next_available for network2. create_host_record with obtained in step SSL validation of Infoblox WAPI certificate #1 IP
    No patch needed.
  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.

@tapanswain-zz
Copy link
Author

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']

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

Successfully merging this pull request may close these issues.

3 participants