summaryrefslogtreecommitdiff
path: root/keama/tests/subclass4.in4
blob: bdae6632232713646d83f689f358486b2bde846f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# subclass declaration config

# options
option mysystem code 250 = text;
option myversion code 251 = unsigned integer 16;

# superclass declaration
class "foobar" {
    match option mysystem;
    option myversion 1;
}

# simple subclass declaration
subclass "foobar" "version1";

# option setting subclass declaration
subclass "foobar" "version2" { option myversion 2; }

# complex subclass declaration
subclass "foobar" "version3" {
    option myversion 3;
    next-server 192.168.0.1;
}