Actions
Feature #2483
openDHCP smart-proxy API should accept any "option" in create reservation call
Status:
New
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
-
Description
As long as a particular option is defined in dhcpd.conf, a user should be able to specify that option during create reservation call.
For example, if I have the following in my config file:
<snip>
option grubmenu code 150 = text;
option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,bootmenu);
<snip>
I should be able to create a reservation with the following call:
curl -X POST http://dhcp:8443/dhcp/192.168.166.0 -d 'hostname=blah' -d 'ip=192.168.166.203' -d 'nextServer=192.168.166.67' -d 'mac=00:50:56:39:ac:40' -d 'grubmenu=pxelinux.cfg/01-00-50-56-39-ac-40' -d 'filename=pxegrub.0'
Thanks!
Konstantin.
No data to display
Actions