summaryrefslogtreecommitdiff
path: root/keama/tests/existsbx4.in4
blob: 437a96f22cc51d220346733fedb1576f899deb7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# exists boolean expression

# authoritative is mandatory
authoritative;

# empty configs are not accepted by Kea
default-lease-time 1800;

# use exists in a reductible match if
class "reductible" {
    match if exists host-name;
}

# if test is a boolean too
if exists host-name {
    log(info, concat("hostname:", option host-name));
}