- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Grid Version via API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2022 12:18 PM
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
Solved! Go to Solution.
Re: Grid Version via API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2022 01:23 PM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 04:55 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2022 07:39 AM
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'