Debian Codegraph @

keama/tests/hardwaredx4.out

raw
1 {
2 # hardware data expression
3 # empty configs are not accepted by Kea
4 "Dhcp4": {
5 "valid-lifetime": 1800,
6 "client-classes": [
7 # pretty standard hardware superclass
8 /// match: hardware
9 {
10 "name": "byhw"
11 },
12 /// subclass selector 0x0x0100070e364819
13 {
14 "name": "sub#byhw#0",
15 "option-data": [
16 {
17 "space": "dhcp4",
18 "name": "host-name",
19 "code": 12,
20 "data": "test1"
21 }
22 ],
23 /// from: match hardware
24 /// data: 0x0100070e364819
25 "test": "concat(substring(pkt4.htype,-1,all), pkt4.mac) == 0x0100070e364819"
26 }
27 ],
28 "option-data": [
29 // # raw
30 // {
31 // "space": "dhcp4",
32 // "name": "host-name",
33 // "code": 12,
34 // "csv-format": false,
35 // "expression": {
36 // "binary-to-ascii": {
37 // "base": 16,
38 // "width": 8,
39 // "separator": "-",
40 // "buffer": {
41 // "concat": {
42 // "left": {
43 // "hw-type": null
44 // },
45 // "right": {
46 // "hw-address": null
47 // }
48 // }
49 // }
50 // }
51 // }
52 // }
53 ]
54 }
55 }