summaryrefslogtreecommitdiff
path: root/keama/tests/nxdomainnx6.out
diff options
context:
space:
mode:
Diffstat (limited to 'keama/tests/nxdomainnx6.out')
-rw-r--r--keama/tests/nxdomainnx6.out28
1 files changed, 28 insertions, 0 deletions
diff --git a/keama/tests/nxdomainnx6.out b/keama/tests/nxdomainnx6.out
new file mode 100644
index 00000000..c90552e4
--- /dev/null
+++ b/keama/tests/nxdomainnx6.out
@@ -0,0 +1,28 @@
+{
+ # nxdomain numeric expression
+ # empty configs are not accepted by Kea
+ "Dhcp6": {
+ "valid-lifetime": 1800,
+ "client-classes": [
+ # reduce literals
+ {
+ "name": "literal",
+ /// from: match if (substring(option dhcp6.interface-id, 0, 393231 % 128)) = 0xabcd
+ "test": "substring(option[18].hex,0,15) == 0xabcd"
+ }
+ ],
+ "option-data": [
+ # raw
+ {
+ "space": "dhcp6",
+ "name": "interface-id",
+ "code": 18,
+ "csv-format": false,
+// /// constant DHCP_R_NXDOMAIN(393231)
+// /// constant S_BOUND(5)
+// "original-data": "\u0000\u0006\u0000\u0014",
+ "data": "00060014"
+ }
+ ]
+ }
+}