Feature #11151
closed
have Foreman web ui edit dhcpd.conf automatically when adding a subnet
Added by Ohad Levy over 9 years ago.
Updated over 8 years ago.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1229448
1. Proposed title of this feature request
Title: Configuring DHCP subnets in foreman does not update dhcpd.conf on server or proxy
3. What is the nature and description of the request?
Automating dhcpd.conf entries being added by foreman as new DHCP selected subnets are added to foreman
4. How would the customer like to achieve this? (List the functional requirements here)
When a new subnet is added to foreman and a capsule is chosen under the DHCP Capsule option, foreman should automatically update /etc/dhcp/dhcpd.conf on that server or capsule to add the appropriate subnet entry, for example:
subnet 192.168.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
}
Related issues
1 (1 open — 0 closed)
- Description updated (diff)
adding here for discussion, tbh not sure if we should support this - opinions?
- Subject changed from have Satellite 6 web ui edit dhcpd.conf automatically when adding a subnet to have Foreman web ui edit dhcpd.conf automatically when adding a subnet
Isn't this an overkill? We already have Import subnet so we need to tell the customers to use it this way. Also we can add a Verify subnets feature that would compare all the subnets created in Foreman against DHCP. But this looks too complicated and unnecessary.
- Is duplicate of Feature #9266: Manage DHCP server configured subnets added
- Status changed from New to Duplicate
Lukas Zapletal wrote:
Isn't this an overkill? We already have Import subnet so we need to tell the customers to use it this way. Also we can add a Verify subnets feature that would compare all the subnets created in Foreman against DHCP. But this looks too complicated and unnecessary.
Hi, I'm using foreman 1.8.2 and I don't see this "import subnet" feature.
I'm currently running bash scripts that monitor the "subnets" MySQL table and when it changes the DHCPD subnet definitions are regenerated and the daemon restarted.
Ugly, but it works and so far am happy with it, but not everyone might be comfortable doing this.
To me it looks like a big piece of functionality is missing from Foreman, what's the point of scripting and automation if I must edit dhcpd.conf every time I add a new subnet in the UI?..
Nux Ro wrote:
Lukas Zapletal wrote:
Isn't this an overkill? We already have Import subnet so we need to tell the customers to use it this way. Also we can add a Verify subnets feature that would compare all the subnets created in Foreman against DHCP. But this looks too complicated and unnecessary.
Hi, I'm using foreman 1.8.2 and I don't see this "import subnet" feature.
Under Infra > Smart proxies and it should be in the dropdown on the right of any DHCP enabled smart proxy.
Hi, I'm using foreman 1.8.2 and I don't see this "import subnet" feature.
Under Infra > Smart proxies and it should be in the dropdown on the right of any DHCP enabled smart proxy.
This issue was raised specifically for katello/satellite, i dont find Infra > Smart proxies dropdown in katello or satellite. https://bugzilla.redhat.com/show_bug.cgi?id=1229448
Also available in: Atom
PDF