Feature #23180
openAdd info box on New Subnet page about config change
Description
Hello, so many users are running into problem when they create Subnet in Foreman they do not create it in dhcpd.conf. Foreman does not create subnets via proxies automatically, the API just does not allow that and we don't want to go that path anyway. A warning needs to say something like:
Foreman does not create subnet on DHCP server, add the new subnet manually (e.g. dhcpd.conf) or via the installer.
Updated by Marek Hulán over 6 years ago
- Related to Feature #9266: Manage DHCP server configured subnets added
Updated by Marek Hulán over 6 years ago
if we're not going to implement it, it would be good to update #9266 with reasoning, lzap isn't this a duplicate of it in fact?
Updated by Ido Kanner over 6 years ago
I don't understand here something. In order for me to know if a subnet exists on dhcpd.conf, I need to parse it.
If I know how to parse it, why shouln't I add it if I can't find that subnet instead of a warning?
For the API maybe add a flag of "save" or "do not save", but once I have access for it, and I understand the content, it should not be an issue to add new entry if needed (without destroying the existed rules).