Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

Update DHCP Member Association

Adviser
Posts: 51
2527     0

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!

Re: Update DHCP Member Association

[ Edited ]
Community Manager
Community Manager
Posts: 180
2528     0

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

Adviser
Posts: 51
2528     0

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

Techie
Posts: 3
2528     0

Hi @MRichard,

 

Do you have REST API call examples of what #2-4 would look like, please?

 

Thanks and regards,

Harriet

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You