xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/notnotbx4.out (revision e7ac2a8b5bd66fa2e050809de09a075c36a7014d)
1{
2  # double not boolean expression
3  # empty configs are not accepted by Kea
4  "Dhcp4": {
5    "valid-lifetime": 1800,
6    "client-classes": [
7      # use double not in a reductible match if
8      {
9        "name": "reductible",
10        /// from: match if not not ((option dhcp.host-name) = 'www.example.com') or ((option dhcp.host-name) = 'www.example.org')
11        "test": "(option[12].hex == 'www.example.com') or (option[12].hex == 'www.example.org')"
12      },
13      # use not with !=
14      {
15        "name": "other",
16        /// from: match if not (option dhcp.host-name) != 'www.example.com'
17        "test": "option[12].hex == 'www.example.com'"
18      }
19    ]
20  }
21}
22