forked from Cray-HPE/cray-dhcp-kea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcray-dhcp-kea-dhcp4.conf
62 lines (62 loc) · 1.2 KB
/
cray-dhcp-kea-dhcp4.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"Dhcp4": {
"valid-lifetime": 1800,
"max-valid-lifetime": 7200,
"interfaces-config": {
"interfaces": [
"eth1"
],
"dhcp-socket-type": "raw"
},
"control-socket": {
"socket-type": "unix",
"socket-name": "/cray-dhcp-kea-socket/cray-dhcp-kea.socket"
},
"hooks-libraries": [
{
"library": "/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so"
},
{
"library": "/usr/local/lib/kea/hooks/libdhcp_stat_cmds.so"
}
],
"lease-database": {
"type": "postgresql",
"name": "$DHCP_DBNAME",
"host": "$DHCP_DBHOST",
"user": "$DHCP_DBUSER",
"password": "$DHCP_DBPASS"
},
"subnet4": [
{
"interface": "eth1",
"subnet": "192.168.10.0/24",
"pools": [
{
"pool": "192.168.10.10 - 192.168.10.100"
}
]
}
]
},
"Logging": {
"loggers": [
{
"name": "cray-dhcp-kea-dhcp4",
"output_options": [
{
"output": "stdout"
},
{
"output": "/var/log/cray-dhcp-kea-debug.log",
"maxver": 8,
"maxsize": 204800,
"flush": true,
"pattern": "%d{%j %H:%M:%S.%q} %c %m\n"
}
],
"severity": "DEBUG"
}
]
}
}