Akkadius / glass-isc-dhcp

Glass - ISC DHCP Server Interface
MIT License
696 stars 144 forks source link

Feature request: class support and stats #41

Open mmerlone opened 5 years ago

mmerlone commented 5 years ago

First things first: thank you for such a beautiful piece of code. Amazing!

I have a shared network where I define some classes to ease management, like this:

On dhcpd.conf:

# Class Desktop
class "clsDesktop" {
    match pick-first-value (option dhcp-client-identifier, hardware);
}

On an included file:

# Host boss-notebook
subclass "clsDesktop" 1:c4:6e:1f:ab:cd:ef;

Would be nice to have stats about how many devices are defined by class and how many have an active lease by class.

Side note, I define the clients on includes, so include support would be also nice.

Best regards.

lukebarone commented 5 years ago

This is references in my requested list of featuers, #35