keama/tests/bintadx6.out
raw| 1 | { |
| 2 | # binary-to-ascii data 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 (option dhcp6.client-data) = (binary-to-ascii(16, 8, '-', 'foo')) |
| 11 | "test": "option[45].hex == '7-66-6f-6f'" |
| 12 | } |
| 13 | ] |
| 14 | } |
| 15 | } |