summaryrefslogtreecommitdiff
path: root/keama/tests/optiondata4.out
diff options
context:
space:
mode:
Diffstat (limited to 'keama/tests/optiondata4.out')
-rw-r--r--keama/tests/optiondata4.out173
1 files changed, 173 insertions, 0 deletions
diff --git a/keama/tests/optiondata4.out b/keama/tests/optiondata4.out
new file mode 100644
index 00000000..eca745d9
--- /dev/null
+++ b/keama/tests/optiondata4.out
@@ -0,0 +1,173 @@
+{
+ # option data config
+ # options
+ "Dhcp4": {
+ "option-data": [
+ {
+ "space": "dhcp4",
+ "name": "ip-forwarding",
+ "code": 19,
+// "original-data": "on",
+ /// canonized booleans to lowercase true or false
+ "data": "true"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-b-si8",
+ "code": 3,
+ "data": "-100"
+ },
+ {
+ "space": "dhcp4",
+ "name": "default-ip-ttl",
+ "code": 23,
+ "data": "20"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-s-si16",
+ "code": 6,
+ "data": "-1000"
+ },
+ {
+ "space": "dhcp4",
+ "name": "boot-size",
+ "code": 13,
+ "data": "16000"
+ },
+ {
+ "space": "dhcp4",
+ "name": "time-offset",
+ "code": 2,
+ "data": "-1200"
+ },
+ {
+ "space": "dhcp4",
+ "name": "path-mtu-aging-timeout",
+ "code": 24,
+ "data": "86400"
+ },
+ {
+ "space": "dhcp4",
+ "name": "swap-server",
+ "code": 16,
+ "data": "10.5.5.1"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-6",
+ "code": 12,
+ "data": "2001::1"
+ },
+ # Silly, d aka domain-name are without quotes, D aka domain-list are with
+ {
+ "space": "foobar",
+ "name": "fmt-d",
+ "code": 13,
+ "data": "www.example.com"
+ },
+ {
+ "space": "dhcp4",
+ "name": "bcms-controller-names",
+ "code": 88,
+// "original-data": "\"foo.bar\", \"www.no-where.biz\"",
+ "data": "foo.bar, www.no-where.biz"
+ },
+ {
+ "space": "dhcp4",
+ "name": "domain-search",
+ "code": 119,
+// "original-data": "\"example.com\", \"example.org\"",
+ "data": "example.com, example.org"
+ },
+ {
+ "space": "dhcp4",
+ "name": "tftp-server-name",
+ "code": 66,
+ "data": "my-server"
+ },
+ {
+ "space": "dhcp4",
+ "name": "dhcp-client-identifier",
+ "code": 61,
+// "original-data": "01:02:aa:bb",
+ "csv-format": false,
+ "data": "0102aabb"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-Z",
+ "code": 18,
+ "data": ""
+ },
+ /// Possible PRL hack
+ /// Consider setting "always-send" to true when setting data for relevant options, cf Kea #250
+ {
+ "space": "dhcp4",
+ "name": "dhcp-parameter-request-list",
+ "code": 55,
+ "data": "1, 2, 3"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-fB",
+ "code": 100,
+// "original-data": "off 66",
+ /// canonized booleans to lowercase true or false
+ "data": "false, 66"
+ },
+ {
+ "space": "dhcp4",
+ "name": "routers",
+ "code": 3,
+ "data": "10.5.5.1, 10.5.5.2, 10.5.5.3"
+ }
+ ],
+ "option-def": [
+ {
+ "space": "foobar",
+ "name": "fmt-b-si8",
+ "code": 3,
+ "type": "int8"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-s-si16",
+ "code": 6,
+ "type": "int16"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-6",
+ "code": 12,
+ "type": "ipv6-address"
+ },
+ {
+ "space": "foobar",
+ "name": "fmt-d",
+ "code": 13,
+ "type": "fqdn"
+ },
+ {
+ "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"
+ }
+ ]
+ }
+}