summaryrefslogtreecommitdiff
path: root/keama/tests/hostname4.out
diff options
context:
space:
mode:
Diffstat (limited to 'keama/tests/hostname4.out')
-rw-r--r--keama/tests/hostname4.out37
1 files changed, 37 insertions, 0 deletions
diff --git a/keama/tests/hostname4.out b/keama/tests/hostname4.out
new file mode 100644
index 00000000..d6973a48
--- /dev/null
+++ b/keama/tests/hostname4.out
@@ -0,0 +1,37 @@
+{
+ # host name 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"
+ }
+ ]
+ }
+ ],
+ "host-reservation-identifiers": [
+ "hw-address"
+ ],
+ "reservation-mode": "global",
+ "reservations": [
+ # host declaration
+ {
+ "hostname": "test1",
+ "hw-address": "00:0b:fd:32:e6:fa",
+ "ip-address": "10.5.5.1"
+ },
+ # host declaration using a longer name
+ {
+ "hostname": "test2.example.com",
+ "hw-address": "00:07:0e:36:48:19",
+ "ip-address": "10.5.5.2"
+ }
+ ]
+ }
+}