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

How to add a new member to a DHCP range using the Infoblox REST API?

New Member
Posts: 3
3924     0

Hi Infoblox community,

May I please get help how to add a new member to a DHCP range using the Infoblox REST API?

 

This is what I'm submitting:

 

POST 
https://84.211.243.187/wapi/v2.9.7/range/ZG5zLmRoY3BfcmFuZ2UkMTAuMC4yLjEvMTAuMC4yLjE5Ly8vMC8:10.0.2.1/10.0.2.19/default

Headers:
Content-Type  application/json

Request Body:
{
"extattrs": {
"REQUEST": {
"value": "123"
}
},
"member": {
"_struct": "dhcpmember",
"ipv4addr": "84.211.243.187",
"name": "test.com"
},
"network": "10.0.2.0/25",
"end_addr": "10.0.2.19",
"start_addr": "10.0.2.1"
}

Response error:

{ "Error": "AdmConDataError: Unknown grid member ipv4addr:84.211.243.187 name:test.com",
"code": "Client.Ibap.Data",
"text": "Unknown grid member ipv4addr:84.211.243.187 name:test.com"
}

 

Any advice you can provide, I very much appreciate it.  Thanks!

 

Best regards,

Harriet

 

Re: How to add a new member to a DHCP range using the Infoblox REST API?

Adviser
Posts: 181
3924     0

Hi Harriet,

 

Could you please ensure that the details you are passing under the member parameter is accurate?

"member": {
"_struct": "dhcpmember",
"ipv4addr": "84.211.243.187",
"name": "test.com"
},

This has to be the details of the grid member that will be serving as DHCP server for the range you are provisioning.

 

Regards,

Krishna Vasudevan

Re: How to add a new member to a DHCP range using the Infoblox REST API?

New Member
Posts: 3
3925     0

Hi kvasudevan,

Ahh that makes sense. So it can't be any random member parameter. I got it now. Thank you for the clarification of what it's looking for!

Best regards,

Harriet

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You