summaryrefslogtreecommitdiff
path: root/keama/tests/grouphost4.out
blob: a6a9ccef24a45317b5fab7a006fac23c0b4ebb9e (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
64
65
66
67
68
69
70
71
72
73
74
75
{
  # group and host declarations config
  # authoritative is mandatory
  /// This configuration declares some subnets but has no interfaces-config
  /// Reference Kea #5256
  "Dhcp4": {
    "subnet4": [
      # subnet4 declaration
      {
        "subnet": "10.5.5.0/27",
        "pools": [
          {
            "pool": "10.5.5.5 - 10.5.5.10"
          }
        ],
        "reservations": [
          # host declaration
          {
            "hostname": "test1",
            "hw-address": "00:0b:fd:32:e6:fa",
            "ip-address": "10.5.5.1"
//          "extra-ip-addresses": [
//            "10.10.10.10"
//          ]
          },
          # host declarations
          {
            "hostname": "test2",
            "hw-address": "00:07:0e:36:48:19",
            "ip-address": "10.5.5.2",
            "option-data": [
              {
                "space": "dhcp4",
                "name": "domain-name",
                "code": 15,
                "data": "example.com"
              },
              {
                "space": "dhcp4",
                "name": "domain-search",
                "code": 119,
                "data": "example.com, com"
              }
            ],
            "next-server": "192.168.0.1"
          }
        ]
      },
      {
        "subnet": "10.10.10.0/27",
        "reservations": [
          {
            "hostname": "test3",
//          "hw-address": "fddi 00:07:0e:36:48:19",
            "ip-address": "10.10.10.1",
//          /// valid-lifetime in unsupported scope
//          "valid-lifetime": 3600,
            "option-data": [
              {
                "space": "dhcp4",
                "name": "domain-search",
                "code": 119,
                "data": "example.com, example.org"
              }
            ],
            "next-server": "192.168.0.1"
          }
        ]
      }
    ],
    "host-reservation-identifiers": [
      "hw-address"
    ]
  }
}