3e2287d1ff4bcae790a25191bd68aab8f21278e1
[demo.git] / vnfs / vCPE / scripts / kea-dhcp4_no_hook.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   "lease-database": {
10     "type": "memfile"
11   },
12
13   "expired-leases-processing": {
14     "reclaim-timer-wait-time": 10,
15     "flush-reclaimed-timer-wait-time": 25,
16     "hold-reclaimed-time": 3600,
17     "max-reclaim-leases": 100,
18     "max-reclaim-time": 250,
19     "unwarned-reclaim-cycles": 5
20   },
21
22   "valid-lifetime": 300,
23
24 # Ensure you set some sensible defaults for the siaddr and option-data,
25 # otherwise the options won't be added at all.
26 # Also keep in mind that if kea doesn't receive the desired values for some
27 # reason, these values will be sent to the client.
28   "subnet4": [
29       { "subnet": "10.2.0.0/24",
30               "pools" : [ { "pool": "10.2.0.2 - 10.2.0.255"} ],
31             "next-server": "10.2.0.1",
32             "option-data": [
33                   {"name": "tftp-server-name",
34                    "data": "10.2.0.1"},
35                       {"name": "boot-file-name",
36                    "data": "/dev/null"}
37                 ]
38       }
39   ]
40
41 },
42
43 "Logging":
44 {
45   "loggers": [
46     {
47       "name": "kea-dhcp4",
48       "output_options": [
49           {
50             "output": "/var/log/kea-dhcp4.log"
51           }
52       ],
53       "severity": "DEBUG",
54       "debuglevel": 0
55     },
56   ]
57 }
58
59 }