- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
How to add a new member to a DHCP range using the Infoblox REST API?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2021 09:42 AM
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
Solved! Go to Solution.
Re: How to add a new member to a DHCP range using the Infoblox REST API?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2021 11:44 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2021 07:16 AM
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