summaryrefslogtreecommitdiff
path: root/keama/tests/optiondatapool4.out
blob: 600978014ce7594f0c60f6d1856445c70b25c934 (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
{
  # option-data in DHCPv4 pool config
  # authoritative is mandatory
  "Dhcp4": {
    "subnet4": [
      # subnet declaration
      {
        "subnet": "10.5.5.0/27",
        "pools": [
          # pool declaration
          /// option-data was moved from this DHCPv4 pool
          {
            # avoid empty pool
            "pool": "10.5.5.5 - 10.5.5.10"
          }
        ],
        "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"
          }
        ]
      }
    ]
  }
}