How to list all IPv4 DHCP Failover Associations via API?
Answers
-
You can actually do this through WAPI using the
dhcpfailoverobject.To list all IPv4 DHCP Failover Associations:
GET https://<grid-master>/wapi/v2.13/dhcpfailover
By default this only returns the name. To get useful info like primary/secondary members and their states, add
_return_fields+:GET https://<grid-master>/wapi/v2.13/dhcpfailover?_return_fields+=primary,secondary,primary_state,secondary_state,comment,association_type
One thing to be aware of —
primary_stateandsecondary_staterequire the call to be made against the GM not the GMC. The GMC's readonly api doesn't have the live monitoring data needed to return those fields correctly.You can also browse the full object documentation directly:
https://<grid-master>/wapidoc/objects/dhcpfailover.html1 -
Thank you so much Ingmar for these information. I am able to pull the list. I appreciate the documentation as well :D
1
Categories
- All Categories
- 5.2K Forums
- 3.5K Critical Network Services
- 467 Security
- 1.2K Asset Visibility
- Ideas Portal
- Webinars & Events
- 288 Resources
- 288 News & Announcements
- Knowledge Base
- Infoblox Documentation Portal
- Infoblox Blog
- Support Portal
- 8 Members Hub
- 4 Getting Started with Community
- 4 Community Support
