Reply

Need to fetch licensed members under grid tab via Wapi. Searched but couldn't find specific api.

karan
Techie
Posts: 1
6008     0

I want to export the list of licnesed members through a web call, I know the cURL/api for exporting a file to csv, but don't have any idea to fetch the list into JSON, if anyone knows the relevant api kindly help.Infoblox.JPGI want to export the list of members that are shown under this tab

 

I need to fetch the list of members that will be displayed under the above particular tab.

Path :  Grid->Licenses->Member

 

Re: Need to fetch licensed members under grid tab via Wapi. Searched but couldn't find specific api.

Adviser
Posts: 132
6009     0

[I sent this in a private reply, but thought it might be of more general interest.]

 

To get the grid member's name, IP address(es) and HA status I think you'll need to retrieve the 'member' objects for the grid members and then look at the 'node_info' field(s) within the member. (This field is an array with either one or two nodeinfo structs: one struct for a non-HA member, and two structs for an HA member.)

 

In Curl this would look something like this, looking at the single grid member 'm1.example.com':

 

curl -k1 -u admin:infoblox 'https://gm.example.com/wapi/2.5/member?host_name=m1.example.com&_return_fields%2b=node_info'

 

or like this to retrieve node info for all grid members:

 

curl -k1 -u admin:infoblox 'https://gm.example.com/wapi/2.5/member?_return_fields%2b=node_info'

 

The nodeinfo struct contains the hardware IDs, so you can match them up against the hardware IDs you get back from the member:license object.

 

Hope this helps.

 

Frank

Showing results for 
Search instead for 
Do you mean 

Recommended for You