Debian Codegraph @

keama/tests/hostuid4.out

raw
1 {
2 # host declaration with client-identfiers config
3 # subnet4 declaration
4 /// This configuration declares some subnets but has no interfaces-config
5 /// Reference Kea #245
6 "Dhcp4": {
7 "subnet4": [
8 {
9 "id": 1,
10 "subnet": "10.5.5.0/27",
11 "pools": [
12 {
13 "pool": "10.5.5.5 - 10.5.5.10"
14 }
15 ],
16 "reservations": [
17 # host declarations
18 {
19 "hostname": "test1",
20 "client-id": "01:02:03:04:05:0a:0b:0c:0d:0e:0f",
21 "option-data": [
22 {
23 "space": "dhcp4",
24 "name": "domain-search",
25 "code": 119,
26 // "original-data": "\"example.com\", \"example.org\"",
27 "data": "example.com, example.org"
28 }
29 ],
30 // /// default-valid-lifetime in unsupported scope
31 // "valid-lifetime": 1800,
32 "ip-address": "10.5.5.1"
33 // "extra-ip-addresses": [
34 // "10.10.10.10"
35 // ]
36 },
37 {
38 "hostname": "test2",
39 "hw-address": "00:07:0e:36:48:19",
40 "ip-address": "10.5.5.2"
41 }
42 ]
43 },
44 {
45 "id": 2,
46 "subnet": "10.10.10.0/27",
47 "reservations": [
48 // {
49 // "hostname": "test3",
50 // "hw-address": "fddi 00:07:0e:36:48:19",
51 // "ip-address": "10.10.10.1"
52 // }
53 ]
54 }
55 ],
56 "match-client-id": true,
57 "host-reservation-identifiers": [
58 "client-id",
59 "hw-address"
60 ]
61 }
62 }