2 # subclass with guard declaration config
26 # superclass declaration
27 /// match: option dhcp.mysystem
30 /// from: match if (option dhcp.myversion) = 0x0001
31 "test": "option[251].hex == 0x0001"
33 # simple subclass declaration
34 /// subclass selector 'system1'
36 "name": "sub#foobar#0",
37 /// from: match-if (option dhcp.myversion) = 0x0001
38 /// match: option dhcp.mysystem
40 "test": "(option[251].hex == 0x0001) and (option[250].hex == 'system1')"
42 # option setting subclass declaration
43 /// subclass selector 'system2'
45 "name": "sub#foobar#1",
54 /// from: match-if (option dhcp.myversion) = 0x0001
55 /// match: option dhcp.mysystem
57 "test": "(option[251].hex == 0x0001) and (option[250].hex == 'system2')"
59 # complex subclass declaration
60 /// subclass selector 'system3'
62 "name": "sub#foobar#2",
71 "next-server": "192.168.0.1",
72 /// from: match-if (option dhcp.myversion) = 0x0001
73 /// match: option dhcp.mysystem
75 "test": "(option[251].hex == 0x0001) and (option[250].hex == 'system3')"