forked from davejohncole/kea_python
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathkea.conf
36 lines (36 loc) · 1.03 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
{
"Dhcp4": {
"interfaces-config": {
"interfaces": [ "eth0" ],
"dhcp-socket-type": "raw"
},
"valid-lifetime": 4000,
"renew-timer": 1000,
"rebind-timer": 2000,
"subnet4": [{
"subnet": "0.0.0.0/0",
"pools": [ { "pool": "0.0.0.0 - 255.255.255.255" } ]
}],
"hooks-libraries": [{
"library": "/usr/local/lib/kea/hooks/libkea_python.so",
"parameters": {
"libpython": "libpython3.9.so.1",
"module": "/workdir/examples/facebook-trick/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
}]
}
}