Actions
Feature #8854
closedAllow creation of DHCP records without IP specified
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
-
Description
For automated deployments API users do unused_ip followed by DHCP record creation for the IP returned. By making "ip" parameter optional in the POST /dhcp/network call we can do the unused_ip call in proxy to shorten the timeframe between IP is picked up and reservation.
We've seen conflicts in Staypuft/OpenStack setups and this little change can prevent that.
Also this change would be useful in core Foreman - we would not need to have IP address a mandatory field in the New Host (bare-metal) form. If it's empty, we could simply send the reservation request without any IP to get one. Currently, the call returns the record created, therefore we'd only need to store the IP from reservation with the host entry.
Actions