summaryrefslogtreecommitdiff
path: root/keama/tests/grouphost4.out
diff options
context:
space:
mode:
Diffstat (limited to 'keama/tests/grouphost4.out')
-rw-r--r--keama/tests/grouphost4.out78
1 files changed, 78 insertions, 0 deletions
diff --git a/keama/tests/grouphost4.out b/keama/tests/grouphost4.out
new file mode 100644
index 00000000..2027c536
--- /dev/null
+++ b/keama/tests/grouphost4.out
@@ -0,0 +1,78 @@
+{
+ # group and host declarations config
+ # subnet4 declaration
+ /// This configuration declares some subnets but has no interfaces-config
+ /// Reference Kea #245
+ "Dhcp4": {
+ "subnet4": [
+ {
+ "id": 1,
+ "subnet": "10.5.5.0/27",
+ "pools": [
+ {
+ "pool": "10.5.5.5 - 10.5.5.10"
+ }
+ ],
+ "reservations": [
+ # host declaration
+ {
+ "hostname": "test1",
+ "hw-address": "00:0b:fd:32:e6:fa",
+ "ip-address": "10.5.5.1"
+// "extra-ip-addresses": [
+// "10.10.10.10"
+// ]
+ },
+ # host declarations
+ {
+ "hostname": "test2",
+ "hw-address": "00:07:0e:36:48:19",
+ "ip-address": "10.5.5.2",
+ "option-data": [
+ {
+ "space": "dhcp4",
+ "name": "domain-name",
+ "code": 15,
+ "data": "example.com"
+ },
+ {
+ "space": "dhcp4",
+ "name": "domain-search",
+ "code": 119,
+// "original-data": "\"example.com\", \"com\"",
+ "data": "example.com, com"
+ }
+ ],
+ "next-server": "192.168.0.1"
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "subnet": "10.10.10.0/27",
+ "reservations": [
+// {
+// "hostname": "test3",
+// "hw-address": "fddi 00:07:0e:36:48:19",
+// "ip-address": "10.10.10.1",
+// /// default-valid-lifetime in unsupported scope
+// "valid-lifetime": 3600,
+// "option-data": [
+// {
+// "space": "dhcp4",
+// "name": "domain-search",
+// "code": 119,
+// "original-data": "\"example.com\", \"example.org\"",
+// "data": "example.com, example.org"
+// }
+// ],
+// "next-server": "192.168.0.1"
+// }
+ ]
+ }
+ ],
+ "host-reservation-identifiers": [
+ "hw-address"
+ ]
+ }
+}