xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/sharetwo6.out (revision 3587d6f89c746bbb4f886219ddacd41ace480ecf)
1{
2  # DHCPv6 two subnets in shared-network declaration config
3  # shared-network declaration
4  "Dhcp6": {
5    "interfaces-config": {
6      "interfaces": [
7        "en0"
8      ]
9    },
10    /// Kea shared-networks are different, cf Kea #236
11    "shared-networks": [
12      {
13        "name": "foobar",
14        "subnet6": [
15          # subnet declaration
16          {
17            "id": 1,
18            "subnet": "2001::/64",
19            "valid-lifetime": 3600,
20            "pools": [
21              {
22                # pool
23                "pool": "2001::1000 - 2001::2000"
24              }
25            ]
26          },
27          # second subnet declaration
28          {
29            "id": 2,
30            "subnet": "2002::/64",
31            "pd-pools": [
32              {
33                "prefix": "2001:0:0:10::",
34                "delegated-len": 64,
35                "prefix-len": 60
36              }
37            ]
38          }
39        ],
40        "interface": "en0",
41        "option-data": [
42          # interface
43          # option
44          {
45            "space": "dhcp6",
46            "name": "domain-search",
47            "code": 24,
48//          "original-data": "\"example.com\", \"example.org\"",
49            "data": "example.com, example.org"
50          }
51        ],
52        "valid-lifetime": 1800
53      }
54    ]
55  }
56}
57