blob: bb5a0165f836e6e8b671cd3499977f372a085756 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
"Dhcp4": {
"interfaces-config": {
"interfaces": [
"foo"
]
},
"subnet4": [
# subnet declaration
{
"subnet": "10.5.5.0/27",
"valid-lifetime": 3600,
"option-data": [
# another option
{
"space": "dhcp4",
"name": "ip-forwarding",
"code": 19,
"data": "true"
},
# interface
{
"space": "dhcp4",
"name": "domain-search",
"code": 119,
"data": "example.com, example.org"
}
],
"interface": "foo",
"pools": [
# pool (must be after the subnet)
{
"pool": "10.5.5.5 - 10.5.5.10"
}
]
}
]
}
}
|