summaryrefslogtreecommitdiff
path: root/keama/tests/groupsubnet4.out
blob: 085933d5de67ac58c12670272e1a7e92bc86f8f6 (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
{
  # Group with DHCPv4 subnet declaration config
  # authoritative is mandatory
  "Dhcp4": {
    "valid-lifetime": 1200,
    "interfaces-config": {
      "interfaces": [
        "bar"
      ]
    },
    "subnet4": [
      # DHCPv4 subnet declaration
      {
        "subnet": "10.5.5.0/27",
        "pools": [
          # at least one pool is required
          {
            "pool": "10.5.5.5 - 10.5.5.10"
          }
        ],
        "interface": "bar",
        "valid-lifetime": 1800,
        "option-data": [
          # option
          {
            "space": "dhcp4",
            "name": "domain-search",
            "code": 119,
            "data": "example.com, example.org"
          }
        ],
        "match-client-id": true
      }
    ]
  }
}