Reply

Updating the Python client

New Member
Posts: 5
3341     0

Good day to all.

 

Does anybody here know (and is willing to share 8-)) how to update the Python client?

 

Running some scripts I noticed it send v2.1 WAPI commands but, unfortunately, I need to work with the objects present in v2.7.

 

I cannot use the WAPI interface because I am working with a huge number of networks and have found out that, after sending a bunch of curl messages to the Grid, the audit log just crashes and bringing it back up took restarting the whole grid. You can just imagine just how happy the manager got!

 

By the way, does anybody know how to check the version of the Python client? It was installed using PiP?

 

Do you know something about this?

 

Thanks in advance for any leads on this

Re: Updating the Python client

[ Edited ]
Superuser
Posts: 81
3341     0

Hello There,

 

To check the installed version, you may do a :

 

pip list | grep -i infoblox

Latest version seems to be 0.5.0 & you may get to it by doing a : 

 

pip install --upgrade infoblox-client

Best regards,

 

Re: Updating the Python client

New Member
Posts: 5
3342     0

Thanks a lot for your kind and prompt reply.

Re: Updating the Python client

[ Edited ]
New Member
Posts: 1
3342     0

Stage 1: Install the Google client library
To introduce the Google client library for Python, run the accompanying order:

pip introduce - - overhaul google-programming interface python-client google-auth-httplib2 google-auth-oauthlib

 

Stage 2: Configure the example
To design the example:

In your functioning catalog, make a document named quickstart.py.
Remember the accompanying code for quickstart.py:

 

Stage 3: Run the example
To run the example:

From the order line, execute the accompanying order:

python quickstart.py


Showing results for 
Search instead for 
Did you mean: 

Recommended for You