forked from davejohncole/kea_python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkea.conf
45 lines (45 loc) · 1.31 KB
/
kea.conf
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
40
41
42
43
44
45
{
"Dhcp4": {
"control-socket": {
"socket-type": "unix",
"socket-name": "/var/run/kea4.sock"
},
"interfaces-config": {
"interfaces": [ "eth0" ],
"dhcp-socket-type": "raw"
},
"valid-lifetime": 4000,
"renew-timer": 1000,
"rebind-timer": 2000,
"subnet4": [{
"subnet": "172.28.5.0/24",
"id": 5,
"pools": [ { "pool": "172.28.5.10 - 172.28.5.200" } ]
}, {
"subnet": "172.28.6.0/24",
"id": 6,
"pools": [ { "pool": "172.28.6.10 - 172.28.6.200" } ]
}],
"hooks-libraries": [{
"library": "/usr/local/lib/kea/hooks/libkea_python.so",
"parameters": {
"libpython": "libpython3.9.so.1",
"module": "/workdir/examples/lease-cmds/keahook.py"
}
}],
"lease-database": {
"persist": false,
"type": "memfile"
},
"loggers": [{
"name": "kea-dhcp4",
"output_options": [{
"output": "stdout",
"flush": true,
"pattern": "%D{%Y-%m-%d %H:%M:%S.%q} %-5p [%c/%i] %m\n"
}],
"severity": "DEBUG",
"debuglevel": 50
}]
}
}