summaryrefslogtreecommitdiff
path: root/keama/tests/sharepools4.out
blob: 087ec5c82aceda7c2248769bc09ff4b5737576be (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  # DHCPv4 two pools and subnets shared-network declaration config
  # shared-network declaration
  "Dhcp4": {
    "interfaces-config": {
      "interfaces": [
        "en0"
      ]
    },
    /// Kea shared-networks are different, cf Kea #236
    "shared-networks": [
      {
        "name": "foobar",
        "subnet4": [
          # subnet declaration
          {
            "id": 1,
            "subnet": "10.5.5.0/27",
            "valid-lifetime": 3600,
            "option-data": [
              # another option
              {
                "space": "dhcp4",
                "name": "ip-forwarding",
                "code": 19,
                "data": "true"
              }
            ],
            "pools": [
              # pools at shared-network level
              {
                "pool": "10.5.5.5 - 10.5.5.10"
              }
            ]
          },
          # second subnet declaration
          {
            "id": 2,
            "subnet": "10.10.10.0/27",
            "pools": [
              {
                "pool": "10.10.10.5 - 10.10.10.10"
              }
            ]
          }
        ],
        "interface": "en0",
        "option-data": [
          # interface
          # option
          {
            "space": "dhcp4",
            "name": "domain-search",
            "code": 119,
//          "original-data": "\"example.com\", \"example.org\"",
            "data": "example.com, example.org"
          }
        ],
        "valid-lifetime": 1800
      }
    ]
  }
}