Reply

WAPI version used by the Python client

Techie
Posts: 5
448     0

Good day to all.

 

I have update the Python client to its latest version and I am also using a NIOS version supporting up to RESTful API 2.11

 

"2.11",
"2.11.1",
"2.11.2",

 

However I have noticed the Python client keeps sending WAPI v2.1  requests. To wit:

 

https://192.168.2.1/wapi/v2.1/network?network_view=

 

Does anybody here know what I need to do to make it use something more recent, say, 2.7 or higher?

 

Thanks in advance for any help on this.

Re: WAPI version used by the Python client

Adviser
Posts: 201
449     0

Hi,

 

Could you please confirm the version of the client you are using?

 

You can explicitly specify the WAPI version while initializing the connector s below:

from infoblox_client import connector

opts = {'host': '192.168.1.10', 'wapi_version':'2.11','username': 'admin', 'password': 'admin'}
conn = connector.Connector(opts)

Hope this is helpful,

Regards,

Krishna

Re: WAPI version used by the Python client

Techie
Posts: 5
449     0

Just awesome!

 

Thanks a lot!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You