- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Update DHCP Member Association
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2020 09:53 AM
How can I update/modify the Member Association of a network and its respective ranges? I need to update a number of DHCP networks and their ranges. Specifically, I need to change the member association to either Reserved Range or a specific Failover Assocation. I've accomplished creating a DHCP Range with the specified DHCP Member, Failover Association, or Reserved Range settings as shown below:
curl -k1 -u admin:infoblox -H "Content-Type:application/json" -X POST ipam.example.com/wapi/v2.10.5/range -d { "end_addr": "10.10.10.100", "member": null, "network": "10.10.10.0/24", "network_view": "Miami", "start_addr": "10.10.10.50", "disable": true }
But, how can I change only the Member association? Thanks!
Solved! Go to Solution.
Re: Update DHCP Member Association
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 07:51 PM - edited 05-26-2020 07:53 PM
This change will require multiple API calls. The member or members must be assigned to the network first, in order to update the range to a new member or failover association.
1) get existing members assigned to a network
2) update members assigned to the network: set to existing members + new members
3) update range with new member or FOA
4) update members assigned to the network: set to just new members
5) restart services
Re: Update DHCP Member Association
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 08:46 AM
Thanks for providing some direction! I'll give this a shot and will update with successes...or failures (hopefully the former!)
Re: Update DHCP Member Association
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2021 09:48 AM
Hi @MRichard,
Do you have REST API call examples of what #2-4 would look like, please?
Thanks and regards,
Harriet