Retrieving All IP Addresses via WAPI v2
Is there a more efficient way to retrieve a list of all networks and their used IP addresses other than the scripted approach below?
- Call /network endpoint to get a list of all networks
- For each network, call /ipv4address?network=…&network_view=…&status=USED
If the 1st call returns tens of thousands of networks, this whole process will take hours to complete.
Answers
-
Depends on the type of analysis you're looking to do. May as well CLI export the DB (one big API call) and do local processing, IMO. Depends how much dynamic data your org uses. But if you're looking for a snapshot once a day of utilized IPs in each network… that's how I'd do it. If it's something on demand that needs to be run multiple times per hour… you'd be better to sort the call based off EAs. So if a specific person/role/area of function needs to know something about the IPs, best to organize from there.
0
Categories
- All Categories
- 5.2K Forums
- 4.7K Critical Network Services
- 472 Security
- Visibility and Insights
- Ideas Portal
- Webinars & Events
- 280 Resources
- 280 News & Announcements
- Knowledge Base
- Infoblox Documentation Portal
- Infoblox Blog
- Support Portal
- 8 Members Hub
- 4 Getting Started with Community
- 4 Community Support

