xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/sharepools4.out (revision 9fd8799cb5ceb66c69f2eb1a6d26a1d587ba1f1e)
1{
2  # DHCPv4 two pools and subnets shared-network declaration config
3  # shared-network declaration
4  "Dhcp4": {
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        "subnet4": [
15          # subnet declaration
16          {
17            "id": 1,
18            "subnet": "10.5.5.0/27",
19            "valid-lifetime": 3600,
20            "option-data": [
21              # another option
22              {
23                "space": "dhcp4",
24                "name": "ip-forwarding",
25                "code": 19,
26                "data": "true"
27              }
28            ],
29            "pools": [
30              # pools at shared-network level
31              {
32                "pool": "10.5.5.5 - 10.5.5.10"
33              }
34            ]
35          },
36          # second subnet declaration
37          {
38            "id": 2,
39            "subnet": "10.10.10.0/27",
40            "pools": [
41              {
42                "pool": "10.10.10.5 - 10.10.10.10"
43              }
44            ]
45          }
46        ],
47        "interface": "en0",
48        "option-data": [
49          # interface
50          # option
51          {
52            "space": "dhcp4",
53            "name": "domain-search",
54            "code": 119,
55//          "original-data": "\"example.com\", \"example.org\"",
56            "data": "example.com, example.org"
57          }
58        ],
59        "valid-lifetime": 1800
60      }
61    ]
62  }
63}
64