summaryrefslogtreecommitdiff
path: root/keama/tests/optiondecl4.out
diff options
context:
space:
mode:
Diffstat (limited to 'keama/tests/optiondecl4.out')
-rw-r--r--keama/tests/optiondecl4.out143
1 files changed, 143 insertions, 0 deletions
diff --git a/keama/tests/optiondecl4.out b/keama/tests/optiondecl4.out
new file mode 100644
index 00000000..f74aa32f
--- /dev/null
+++ b/keama/tests/optiondecl4.out
@@ -0,0 +1,143 @@
+{
+ # option definition config
+ # options
+ "Dhcp4": {
+ "option-def": [
+ {
+ "space": "foobar",
+ "name": "fmt-f",
+ "code": 1,
+ "type": "boolean"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-b-i8",
+ "code": 2,
+ "type": "int8"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-b-si8",
+ "code": 3,
+ "type": "int8"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-B-ui8",
+ "code": 4,
+ "type": "uint8"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-s-i16",
+ "code": 5,
+ "type": "int16"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-s-si16",
+ "code": 6,
+ "type": "int16"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-S-ui16",
+ "code": 7,
+ "type": "uint16"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-l-i32",
+ "code": 8,
+ "type": "int32"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-l-si32",
+ "code": 9,
+ "type": "int32"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-L-ui32",
+ "code": 10,
+ "type": "uint32"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-I",
+ "code": 11,
+ "type": "ipv4-address"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-6",
+ "code": 12,
+ "type": "ipv6-address"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-d",
+ "code": 13,
+ "type": "fqdn"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-D-list",
+ "code": 14,
+ "array": true,
+ "type": "fqdn"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-Dc",
+ "code": 15,
+ "array": true,
+ "type": "fqdn"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-t",
+ "code": 16,
+ "type": "string"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-X",
+ "code": 17,
+ "type": "string"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-Z",
+ "code": 18,
+ "type": "empty"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-Ba",
+ "code": 50,
+ "array": true,
+ "type": "uint8"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-fB",
+ "code": 100,
+ "record-types": "boolean, uint8",
+ "type": "record"
+ },
+ /// unsupported array inside a record
+ {
+ "space": "foobar",
+ "name": "fmt-Ia",
+ "code": 150,
+// "array": true,
+// "definition": "{ uint32, array of boolean}",
+ /// Option definition is not compatible with Kea
+ /// Fallback to full binary
+ "type": "binary"
+ }
+ ]
+ }
+}