1 # filename data expression 2 # Kea has no filename extractor in libeval 3 4 # authoritative is mandatory 5 authoritative; 6 7 # empty configs are not accepted by Kea 8 default-lease-time 1800; 9 10 # by filename superclass 11 class "byfn" { 12 match filename; 13 } 14 15 subclass "byfn" "boot00070e364819" { 16 option host-name "test1"; 17 } 18 19 # raw 20 option host-name = concat("host-", substring(filename, 4, 12)); 21