| 1 |
{ |
| 2 |
# nxdomain numeric expression |
| 3 |
# empty configs are not accepted by Kea |
| 4 |
"Dhcp6": { |
| 5 |
"valid-lifetime": 1800, |
| 6 |
"client-classes": [ |
| 7 |
# reduce literals |
| 8 |
{ |
| 9 |
"name": "literal", |
| 10 |
/// from: match if (substring(option dhcp6.interface-id, 0, 393231 % 128)) = 0xabcd |
| 11 |
"test": "substring(option[18].hex,0,15) == 0xabcd" |
| 12 |
} |
| 13 |
], |
| 14 |
"option-data": [ |
| 15 |
# raw |
| 16 |
{ |
| 17 |
"space": "dhcp6", |
| 18 |
"name": "interface-id", |
| 19 |
"code": 18, |
| 20 |
"csv-format": false, |
| 21 |
// /// constant DHCP_R_NXDOMAIN(393231) |
| 22 |
// /// constant S_BOUND(5) |
| 23 |
// "original-data": "\u0000\u0006\u0000\u0014", |
| 24 |
"data": "00060014" |
| 25 |
} |
| 26 |
] |
| 27 |
} |
| 28 |
} |