summaryrefslogtreecommitdiff
path: root/keama/tests/permitauth6.out
blob: f2013e7758a4d729baa5a9fedeec17441153db99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  # DHCPv6 permit authenticated client config
  # empty configs are not accepted by Kea
  /// This configuration declares some subnets but has no interfaces-config
  /// Reference Kea #245
  "Dhcp6": {
    "valid-lifetime": 1800,
    "subnet6": [
      # subnet declaration
      {
        "id": 1,
        "subnet": "2001::/64",
        "pools": [
          # pool declaration
          {
            # avoid empty pool
            "pool": "2001::100 - 2001::200",
            /// From:
            ///   deny unauthenticated clients
            /// [un]authenticated-clients is not supported by ISC DHCP and Kea
            "client-class": "gen#_AND_#!ALL#"
          }
        ]
      }
    ],
    "client-classes": [
      {
        "name": "gen#_AND_#!ALL#",
        "test": "not member('ALL')"
      }
    ]
  }
}