THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

Setting IPv4 DHCP Failover Association using API

New Member
Posts: 2
651     1

Hello,

 

I was trying to test creating a DHCP range on a subnet using API. I have already added two DHCP members who are in FOA(failover association) on the subnet. Unfortunately, I only saw how to add one of the members using the grid member option using the sample payload below.

 

{
    "start_addr": "1.1.1.3",
    "end_addr": "1.1.1.10",
    "server_association_type": "MEMBER",
    "member":
    {
        "_struct": "dhcpmember",
        "ipv4addr": "2.2.2.3"
    }
}

Is it possible or does anyone have a sample payload on where the IPv4 DHCP Failover Association is selected on the payload?

 

Thank you!

Cheers!

Re: Setting IPv4 DHCP Failover Association using API

Moderator
Moderator
Posts: 317
651     1

Here you are:

 

{
	"start_addr": "10.20.30.128",
	"end_addr": "10.20.30.192",
	"server_association_type": "FAILOVER",
	"failover_association": "NYC-CHI-FOA",
	"network_view": "default"
} 

Re: Setting IPv4 DHCP Failover Association using API

New Member
Posts: 2
652     1

It worked. Thank you so much!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You