diff options
author | Francis Dupont <fdupont@isc.org> | 2017-04-24 15:52:21 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2018-11-29 16:42:14 +0100 |
commit | 0a9cb9822e68c321c7a69bbd34a2622d9122cc41 (patch) | |
tree | a316920ea8ca1a3a6fb7f44e395b5174e89ee67a /keama/tests/hostuid4.out | |
parent | dac675e14791533a2854d6531228f3e0561a5a47 (diff) | |
download | isc-dhcp-0a9cb9822e68c321c7a69bbd34a2622d9122cc41.tar.gz |
Checkpoint (more tests, coded subclass)
Diffstat (limited to 'keama/tests/hostuid4.out')
-rw-r--r-- | keama/tests/hostuid4.out | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/keama/tests/hostuid4.out b/keama/tests/hostuid4.out new file mode 100644 index 00000000..09432180 --- /dev/null +++ b/keama/tests/hostuid4.out @@ -0,0 +1,58 @@ +{ + "Dhcp4": { + "subnet4": [ + # host declaration with client-identfiers config + # authoritative is mandatory + # subnet4 declaration + { + "subnet": "10.5.5.0/27", + "pools": [ + { + "pool": "10.5.5.5 - 10.5.5.10" + } + ], + "reservations": [ + # host declarations + { + "hostname": "test1", + "client-id": "01:02:03:04:05:0a:0b:0c:0d:0e:0f", + "option-data": [ + { + "space": "dhcp4", + "name": "domain-search", + "code": 119, + "data": "example.com, example.org" + } + ], +// /// valid-lifetime in unsupported scope +// "valid-lifetime": 1800, + "ip-address": "10.5.5.1" +// "extra-ip-addresses": [ +// "10.10.10.10" +// ] + }, + { + "hostname": "test2", + "hw-address": "00:07:0e:36:48:19", + "ip-address": "10.5.5.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" + } + ] + } + ], + "match-client-id": false, + "host-reservation-identifiers": [ + "client-id", + "hw-address" + ] + } +} |