- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Obtain all information present on Infoblox using WAPI
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-14-2018 12:26 AM - edited 02-14-2018 12:27 AM
Hi
Apologies if this question has already been covered.I am new to Infoblox and I am trying to get a dump of the data on Infoblox and then extract the DHCP networks along with selected extensible attributes.The documentation is not really helping me get through much as I am really new at this.I am trying to use Python 3 and v2.5 documentation for WAPI.I would really appreciate some help to get started.
Trying to get the dump in either json or csv format.
Thank You.
Solved! Go to Solution.
Re: Obtain all information present on Infoblox using WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-14-2018 11:55 AM
Hello,
If what you need is just all the DHCP Networks information along with EAs, why not export the data directly from the UI? Have you already tried that?
In the latest NIOS versions, you could also use the CSV Job Manager for Data Export.
Best Regards,
Bibin Thomas
Re: Obtain all information present on Infoblox using WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-14-2018 09:31 PM
Firstly,thank you for the reply.
I have tried out the feature and it works well.But I am trying to experiment and have a task to do the same using API calls.It has to be a more programmatic approach.
If you could help me with that,I would really appreciate it.

Re: Obtain all information present on Infoblox using WAPI
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-15-2018 06:51 AM - edited 02-15-2018 06:55 AM
WAPI:
https://<Grid Master IP>/wapi/v1.6/network?_max_results=10000&_return_fields=comment,disable,members,enable_ddns,network,extattrs
Sample Output:
<value type="object"> <network>1.1.1.0/24</network> <enable_ddns type="boolean">true</enable_ddns> <disable type="boolean">false</disable> <members> <list> <value type="object"> <ipv4addr>10.192.33.36</ipv4addr> <name>infoblox.localdomain</name> <_struct>dhcpmember</_struct> </value> <value type="object"> <ipv4addr>10.192.33.68</ipv4addr> <name>infoblox3.localdomain</name> <_struct>dhcpmember</_struct> </value> </list> </members> <extattrs type="object"> <Building type="object"> <value>Phase-3</value> </Building> </extattrs> <_ref> network/ZG5zLm5ldHdvcmskMS4xLjEuMC8yNC8w:1.1.1.0/24/default </_ref> </value>
Best Regards,
Bibin Thomas
Re: Obtain all information present on Infoblox using WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-18-2018 11:14 PM
This is actually yielding quite a lot of information,Thanks.
Is there someway I can extract the IPAM Utilization and IPv4 Utilization along with the remaining external attibutes?
Re: Obtain all information present on Infoblox using WAPI
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-19-2018 08:50 AM - edited 02-19-2018 08:51 AM
DHCP Utilization for DHCP networks
https://10.192.33.220/wapi/v2.5/network?_max_results=10000&_return_fields=comment,disable,members,enable_ddns,network,extattrs,dhcp_utilization
DHCP Utilization of 10.192.32.0/24/
https://10.192.33.220/wapi/v2.5/network/ZG5zLm5ldHdvcmskMTAuMTkyLjMyLjAvMjQvMA:10.192.32.0/24/default?_max_results=10000&_return_fields=comment,disable,members,enable_ddns,network,extattrs,dhcp_utilization
IPAM Utilization
https://10.192.33.220/wapi/v2.5/ipam:statistics?_max_results=10000&_return_fields=network,utilization
Sample Output:
<value type="object"> <network>10.192.3.0</network> <utilization type="int">1000</utilization> <_ref> ipam:statistics/ZG5zLm5ldHdvcmskMTAuMTkyLjMuMC8yNC8w:default/10.192.3.0/24 </_ref> </value> <value type="object"> <network>1.1.1.0</network> <utilization type="int">3</utilization> <_ref> ipam:statistics/ZG5zLm5ldHdvcmskMS4xLjEuMC8yNC8w:default/1.1.1.0/24 </_ref> </value>
Notice the values 1000 for 10.192.3.0 and 3 for 1.1.1.0. To get the exact utilization, you would want to simply divide that value by 10. Therefore, in the above, IPAM utilization on network 10.192.3.0 is 100% and 1.1.1.0 is 0.3%.
Best Regards,
Bibin Thomas
Re: Obtain all information present on Infoblox using WAPI
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-25-2018 08:32 PM - edited 02-25-2018 08:56 PM
Can the ipam statistics be merged with the rest of the external attributes?
Such that all of the data is obtained as a single set of results