Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

Grid Version via API

Member
Posts: 2
1239     0

Hello,

 

Does anyone know where to get the grid and/or member versions via the api?   I would have thought its in member node_info, but it doesn't seem to be there.  Also, tried to grab it via upgradestatus, but I can't get the current_version field to return.  Not seeing any other place in the wapidoc that lists the version.

 

Thank you

Chase Manz

Re: Grid Version via API

Moderator
Moderator
Posts: 226
1240     0

Try this for grid:

 

curl -k1 -u admin:infoblox -X GET 'https://192.168.1.2/wapi/v2.10/upgradestatus?type=GRID&_return_fields%2b=current_version_summary'

and this for individual members, such as during an upgrade window:

 

curl -k1 -u admin:infoblox -X GET 'https://192.168.1.2/wapi/v2.10/upgradestatus?type=VNODE'

Re: Grid Version via API

Member
Posts: 2
1240     0

Thank you for your help, I had tried that, but it turned out to be a wapi version issue and I had to use a slightly newer version like 2.10 which worked.  

Re: Grid Version via API

Moderator
Moderator
Posts: 226
1240     0

Aha!  I always try to use the highest WAPI version from the oldest currently supported NIOS version.  That way my examples are pretty much up-to-date without being bleeding edge.  Today that would be NIOS 8.4.x and WAPI 2.10.

 

If you do a lot of automation, you can also adjust your toolkits to ask for the supported WAPI versions, using the schema query, and then use the highest version listed.

 

curl -k1 -u admin:infoblox -X GET 'https://192.168.1.2/wapi/v1.0/?_schema'

 

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You