xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/permitauth4.out (revision 3f351f34c6d827cf017cdcff3543f6ec0c88b420)
1{
2  # DHCPv4 permit authenticated client config
3  # empty configs are not accepted by Kea
4  /// This configuration declares some subnets but has no interfaces-config
5  /// Reference Kea #245
6  "Dhcp4": {
7    "valid-lifetime": 1800,
8    "subnet4": [
9      # subnet declaration
10      {
11        "id": 1,
12        "subnet": "10.5.5.0/27",
13        "pools": [
14          # pool declaration
15          {
16            # avoid empty pool
17            "pool": "10.5.5.5 - 10.5.5.10",
18            /// From:
19            ///   allow authenticated clients
20            /// [un]authenticated-clients is not supported by ISC DHCP and Kea
21            "client-class": "gen#!ALL#"
22          }
23        ]
24      }
25    ],
26    "client-classes": [
27      {
28        "name": "gen#!ALL#",
29        "test": "not member('ALL')"
30      }
31    ]
32  }
33}
34