summaryrefslogtreecommitdiff
path: root/keama/tests/optiondatapool6.out
blob: 405da57f8af050fa1d22975988fdbb75e3b72d74 (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
{
  # option-data in DHCPv6 pool config
  # authoritative is mandatory
  /// This configuration declares some subnets but has no interfaces-config
  /// Reference Kea #5256
  "Dhcp6": {
    "subnet6": [
      # subnet declaration
      {
        "subnet": "2001::/64",
        "pools": [
          # pool declaration
          {
            # avoid empty pool
            "pool": "2001::100 - 2001::200",
            "option-data": [
              # for a silly reason option-data is not allowed in DHCPv4 pools
              # but allowed in DHCPv6 pools
              {
                "space": "dhcp6",
                "name": "domain-search",
                "code": 24,
                "data": "example.com, example.org"
              }
            ]
          }
        ]
      }
    ]
  }
}