opennetadmin / ona

OpenNetAdmin IP Address Management (IPAM) system
opennetadmin.com
GNU General Public License v2.0
141 stars 35 forks source link

Restrict DHCP pools to subclasses #98

Open chuhn opened 8 years ago

chuhn commented 8 years ago

Hi,

we'd like to configure multiple DHCP pools per subnet and assign these pools to different types of nodes as described in section subclasses in the dhcpd.conf manpage. The class definitions can go into the custom header files, but the pool definitions should be generated from ONA.

How should we proceed here?

Cheers, Christopher

mattpascoe commented 8 years ago

The table structure (and supporting GUI and functions) to support the added configuration on the dhcp pools does not yet exist. There might be some contrived way we could come up with here but its likely to not be pretty. Sad truth is this is not possible currently. Its not really all that difficult to implement but will require some level of thinking to make sure it is done in a clean way.

So, immediate answer is a no go. But it is absolutely something I have thought about some in the past and have a plan to implement. I've just not yet had the requirement / request to implement.

As usual I will take pull requests and help on design for anyone that wants to tackle this. I can't guarantee when I'd get to it at the moment. (keep hounding me tho)