62b77e291f42f02d99ef89e40dea2557d154e1f7
[demo.git] / vnfs / vCPE / scripts / kea-dhcp4.conf
1 {
2 "Dhcp4":
3   {
4 # For testing, you can use veth pair as described in README.md
5   "interfaces-config": {
6     "interfaces": ["eth0" ]
7   },
8
9 # How to load the hook library.
10   "hooks-libraries": [
11         {"library": "/usr/local/lib/kea-sdnc-notify.so"}
12   ],
13
14   "lease-database": {
15     "type": "memfile"
16   },
17
18   "expired-leases-processing": {
19     "reclaim-timer-wait-time": 10,
20     "flush-reclaimed-timer-wait-time": 25,
21     "hold-reclaimed-time": 3600,
22     "max-reclaim-leases": 100,
23     "max-reclaim-time": 250,
24     "unwarned-reclaim-cycles": 5
25   },
26
27   "valid-lifetime": 300,
28
29 # Ensure you set some sensible defaults for the siaddr and option-data,
30 # otherwise the options won't be added at all.
31 # Also keep in mind that if kea doesn't receive the desired values for some
32 # reason, these values will be sent to the client.
33   "subnet4": [
34       { "subnet": "10.3.0.0/24",
35               "pools" : [ { "pool": "10.3.0.2 - 10.3.0.255"} ],
36             "next-server": "10.3.0.1",
37             "option-data": [
38                   {"name": "tftp-server-name",
39                    "data": "10.3.0.1"},
40                       {"name": "boot-file-name",
41                    "data": "/dev/null"}
42                 ]
43       }
44   ]
45
46 },
47
48 "Logging":
49 {
50   "loggers": [
51     {
52       "name": "kea-dhcp4",
53       "output_options": [
54           {
55             "output": "/var/log/kea-dhcp4.log"
56           }
57       ],
58       "severity": "DEBUG",
59       "debuglevel": 0
60     },
61   ]
62 }
63
64 }