]> git.ipfire.org Git - thirdparty/dhcp.git/blob - keama/tests/vendorspace4.out
[#64,!35] Restored work
[thirdparty/dhcp.git] / keama / tests / vendorspace4.out
1 {
2 # vendor option space config
3 "Dhcp4": {
4 "option-def": [
5 {
6 "space": "foo",
7 "name": "bar",
8 "code": 1,
9 "type": "string"
10 }
11 ],
12 "client-classes": [
13 # class declaration
14 {
15 "name": "foobar",
16 /// from: match if (option dhcp.vendor-class-identifier) = 'foo'
17 "test": "option[60].hex == 'foo'",
18 "option-def": [
19 {
20 "name": "vendor-encapsulated-options",
21 "code": 43,
22 "type": "empty",
23 "encapsulate": "foo"
24 }
25 ],
26 "option-data": [
27 {
28 "name": "vendor-encapsulated-options",
29 "code": 43
30 },
31 {
32 "space": "foo",
33 "name": "bar",
34 "code": 1,
35 "data": "foobar"
36 }
37 ]
38 }
39 ]
40 }
41 }