THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

WAPI version used by the Python client

New Member
Posts: 5
3452     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: 181
3452     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

New Member
Posts: 5
3453     0

Just awesome!

 

Thanks a lot!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You