summaryrefslogtreecommitdiff
path: root/keama/tests/groupsubnet6.out
blob: 7a02e25a61753be47459ea3c8f95dd9b382ec0d1 (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
{
  # Group with DHCPv6 subnet declaration config
  # authoritative is mandatory
  "Dhcp6": {
    "valid-lifetime": 1200,
    "interfaces-config": {
      "interfaces": [
        "bar"
      ]
    },
    "subnet6": [
      # DHCPv4 subnet declaration
      {
        "subnet": "2001::/64",
        "pools": [
          # at least one pool is required
          {
            "pool": "2001::100 - 2001::200"
          }
        ],
        "interface": "bar",
        "valid-lifetime": 1800,
        "option-data": [
          {
            "space": "dhcp6",
            "name": "lq-relay-data",
            "code": 47,
//          "original-data": "2001::1, \"foobar\"",
            "data": "2001::1, foobar"
          },
          # option
          {
            "space": "dhcp6",
            "name": "domain-search",
            "code": 24,
            "data": "example.com, example.org"
          }
        ]
      }
    ]
  }
}