]> git.ipfire.org Git - thirdparty/dhcp.git/blob - keama/tests/notbx4.out
[#64,!35] Restored work
[thirdparty/dhcp.git] / keama / tests / notbx4.out
1 {
2 # not boolean expression
3 # empty configs are not accepted by Kea
4 "Dhcp4": {
5 "valid-lifetime": 1800,
6 "client-classes": [
7 # use not in a reductible match if
8 {
9 "name": "reductible",
10 /// from: match if not (option dhcp.host-name) = 'www.example.com'
11 "test": "not (option[12].hex == 'www.example.com')"
12 }
13 ]
14 // # if test is a boolean too
15 // "statement": {
16 // "if": {
17 // "condition": {
18 // "not": {
19 // "check": "foo"
20 // }
21 // },
22 // "then": [
23 // {
24 // "add-class": "bar"
25 // }
26 // ]
27 // }
28 // }
29 }
30 }