summaryrefslogtreecommitdiff
path: root/keama/tests/vendorspace4.out
blob: 6c5e8d85a416ffefe7224fa3699242ebde170eb6 (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
{
  # vendor option space config
  # authoritative is mandatory
  "Dhcp4": {
    "option-def": [
      {
        "space": "foo",
        "name": "bar",
        "code": 1,
        "type": "string"
      }
    ],
    "client-classes": [
      # class declaration
      {
        "name": "foobar",
        /// from: match if (option dhcp.vendor-class-identifier) = 'foo'
        "test": "option[60].hex == 'foo'",
        "option-def": [
          {
            "name": "vendor-encapsulated-options",
            "code": 43,
            "type": "empty",
            "encapsulate": "foo"
          }
        ],
        "option-data": [
          {
            "name": "vendor-encapsulated-options",
            "code": 43
          },
          {
            "space": "foo",
            "name": "bar",
            "code": 1,
            "data": "foobar"
          }
        ]
      }
    ]
  }
}