- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
wAPI version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-27-2014 05:18 AM
Hello,
Question, is there a (simple) way to check which version of the WAPI is installed by using a REST call ?
T.i.a.
Bart
One way to check for WAPI version number
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-27-2014 04:44 PM
I'm not aware of any simple way to check for the WAPI version number for a particular grid. I looked through the documentation and there's no API call I can see that specifically returns a version number.
One way to do it is to try all versions from 1.0 on up using an API call known to be supported in all versions. Looking for the networkview objects is one possibility, since it should always return something and it doesn't return too much data. Here's sample Python code to determine the highest WAPI version number supported:
import requests import json versions = ["1.0", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7"] # No 1.7 version yet for version in versions: url = 'https://gm.example.com/wapi/v' + version + '/networkview' r = requests.get(url, auth=('admin', 'infoblox'), verify=False) if r.status_code == requests.codes.ok: highest_version = version print 'Highest supported WAPI version is ' + highest_version
TXS
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-27-2014 11:36 PM
Thanks for this nice workaround, will give it a try
Another way to check the WAPI version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-28-2014 12:17 PM
Another possible method of getting the WAPI version is to simply make a WAPI request for the WAPI documentation (https://192.168.1.2/wapidoc) and parse the result and look at the "title". From that, you'll find the WAPI version that the documentation references so you'll know what the highest version of the WAPI supported is.
I have not tested this with older releases but it will work with current code.
How to move from WAPI 1.1 to 1.2?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-13-2015 09:09 AM
Our Security Team has a new analysis tool that requires interfacing with our Grid using WAPI 1.2.
Their tool is incompatible with our Infoblox DHCP because the Grid uses WAPI 1.1.
What process should I follow to upgrade / change our Grid from WAPI 1.1 to 1.2?
What are the associated impacts to devices that rely on the Grid for their DHCP addresses?
Will the process of moving from 1.1 to 1.2 cause down time for devices trying to get addresses via DHCP?
Rick
WAPI 1.1 to 1.2 upgrade requires NIOS 6.7 to 6.8 upgrade
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-13-2015 09:28 AM
Web API (WAPI) releases are tied to NIOS releases. NIOS 6.7 supports WAPI version 1.1. Using WAPI version 1.2 requires upgrading your grid from NIOS 6.7 to (at least) NIOS 6.8. NIOS upgrades can be planned so as to incur minimal down-time for DNS and DHCP services. Also note that Infoblox offers various professional services packages to assist with grid upgrades of this type, including planning the upgrade and being available during cutover. Talk to your Infoblox account team for more information.
incidentally, if you do upgrade from 6.7 to 6.8 (or a more current version) any existing programs using the WAPI version 1.1 API should continue to work. As long as the program requests a WAPI 1.1 operation (as indicated in the URL associated with the API request) then NIOS 6.8 or later will respond in accordance with the 1.1 functionality.
Re: wAPI version
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-22-2018 09:44 AM - edited 01-22-2018 09:45 AM
I asked this question again to see if anything has changed in four years.
An answer was posted to call:
https://<server>/wapi/v1.0/?_schema
See: