xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/permitauth6.out (revision 4ac76180e904e771b9d522c7e57296d371f06499)
1{
2  # DHCPv6 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  "Dhcp6": {
7    "valid-lifetime": 1800,
8    "subnet6": [
9      # subnet declaration
10      {
11        "id": 1,
12        "subnet": "2001::/64",
13        "pools": [
14          # pool declaration
15          {
16            # avoid empty pool
17            "pool": "2001::100 - 2001::200",
18            /// From:
19            ///   deny unauthenticated clients
20            /// [un]authenticated-clients is not supported by ISC DHCP and Kea
21            "client-class": "gen#_AND_#!ALL#"
22          }
23        ]
24      }
25    ],
26    "client-classes": [
27      {
28        "name": "gen#_AND_#!ALL#",
29        "test": "not member('ALL')"
30      }
31    ]
32  }
33}
34