# simplified hardware data expression

# hardware type class
class "ethernet" {
    match if substring(hardware, 0, 1) = encode-int(1, 8);
}

# ethernet address superclass
class "ethernet-address" {
    match substring(hardware, 1, 6);
}

subclass "ethernet-address" 00:0B:FD:32:E6:FA { }