-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathkea.conf
More file actions
63 lines (63 loc) · 1.81 KB
/
Copy pathkea.conf
File metadata and controls
63 lines (63 loc) · 1.81 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"Dhcp4": {
"control-socket": {
"socket-type": "unix",
"socket-name": "/usr/local/var/run/kea/kea4.sock"
},
"interfaces-config": {
"interfaces": [ "eth0" ],
"dhcp-socket-type": "raw"
},
"multi-threading": {
"enable-multi-threading": false
},
"server-tag": "kea",
"config-control": {
"config-databases": [{
"type": "mysql",
"name": "kea",
"user": "kea",
"password": "kea",
"host": "mysql",
"port": 3306,
"max-reconnect-tries": 5,
"reconnect-wait-time": 1000
}],
"config-fetch-wait-time": 20
},
"hooks-libraries": [{
"library": "/usr/local/lib64/kea/hooks/libdhcp_mysql.so"
},
{
"library": "/usr/local/lib64/kea/hooks/libkea_python.so",
"parameters": {
"libpython": "libpython3.12.so.1",
"module": "/workdir/examples/cb-cmds/keahook.py"
}
}],
"valid-lifetime": 4000,
"renew-timer": 1000,
"rebind-timer": 2000,
"lease-database": {
"persist": false,
"type": "memfile"
},
"hosts-database": {
"type": "mysql",
"name": "kea",
"host": "mysql",
"user": "kea",
"password": "kea"
},
"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
}]
}
}