06-30-2021 01:30 PM
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
Solved! Go to Solution.
06-30-2021 05:04 PM
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
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: