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