Debian Codegraph @

keama/tests/grouphost4.out

raw
1 {
2 # group and host declarations 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 declaration
18 {
19 "hostname": "test1",
20 "hw-address": "00:0b:fd:32:e6:fa",
21 "ip-address": "10.5.5.1"
22 // "extra-ip-addresses": [
23 // "10.10.10.10"
24 // ]
25 },
26 # host declarations
27 {
28 "hostname": "test2",
29 "hw-address": "00:07:0e:36:48:19",
30 "ip-address": "10.5.5.2",
31 "option-data": [
32 {
33 "space": "dhcp4",
34 "name": "domain-name",
35 "code": 15,
36 "data": "example.com"
37 },
38 {
39 "space": "dhcp4",
40 "name": "domain-search",
41 "code": 119,
42 // "original-data": "\"example.com\", \"com\"",
43 "data": "example.com, com"
44 }
45 ],
46 "next-server": "192.168.0.1"
47 }
48 ]
49 },
50 {
51 "id": 2,
52 "subnet": "10.10.10.0/27",
53 "reservations": [
54 // {
55 // "hostname": "test3",
56 // "hw-address": "fddi 00:07:0e:36:48:19",
57 // "ip-address": "10.10.10.1",
58 // /// default-valid-lifetime in unsupported scope
59 // "valid-lifetime": 3600,
60 // "option-data": [
61 // {
62 // "space": "dhcp4",
63 // "name": "domain-search",
64 // "code": 119,
65 // "original-data": "\"example.com\", \"example.org\"",
66 // "data": "example.com, example.org"
67 // }
68 // ],
69 // "next-server": "192.168.0.1"
70 // }
71 ]
72 }
73 ],
74 "host-reservation-identifiers": [
75 "hw-address"
76 ]
77 }
78 }