summaryrefslogtreecommitdiff
path: root/keama/tests/optiondatapool4.out
blob: ff141c78ef3d7f9be855f9706bdf9007404f65ac (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 DHCPv4 pool config
  # authoritative is mandatory
  /// This configuration declares some subnets but has no interfaces-config
  /// Reference Kea #5256
  "Dhcp4": {
    "subnet4": [
      # subnet declaration
      {
        "subnet": "10.5.5.0/27",
        "option-data": [
          # for a silly reason option-data is not allowed in DHCPv4 pools
          {
            "space": "dhcp4",
            "name": "domain-search",
            "code": 119,
            "data": "example.com, example.org"
          }
        ],
        "pools": [
          # pool declaration
          /// option-data was moved from this DHCPv4 pool
          {
            # avoid empty pool
            "pool": "10.5.5.5 - 10.5.5.10"
          }
        ]
      }
    ]
  }
}