xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/filenamedx4.notyet (revision 2718af68c3efc72c9769069b5c7f9ed36f6b9def)
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