Merge "Configure honeycomb NAT settings after vpp crash"
[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 #  vDHCP needs to lisetn on eth1
6   "interfaces-config": {
7     "interfaces": ["eth1" ]
8   },
9
10 # How to load the hook library.
11   "hooks-libraries": [
12         {"library": "/usr/local/lib/kea-sdnc-notify.so"}
13   ],
14
15   "lease-database": {
16     "type": "memfile"
17   },
18
19   "expired-leases-processing": {
20     "reclaim-timer-wait-time": 10,
21     "flush-reclaimed-timer-wait-time": 25,
22     "hold-reclaimed-time": 3600,
23     "max-reclaim-leases": 100,
24     "max-reclaim-time": 250,
25     "unwarned-reclaim-cycles": 5
26   },
27
28   "valid-lifetime": 300,
29
30 # Ensure you set some sensible defaults for the siaddr and option-data,
31 # otherwise the options won't be added at all.
32 # Also keep in mind that if kea doesn't receive the desired values for some
33 # reason, these values will be sent to the client.
34   "subnet4": [
35       { "subnet": "10.3.0.0/24",
36               "pools" : [ { "pool": "10.3.0.2 - 10.3.0.255"} ],
37             "next-server": "10.3.0.1",
38             "option-data": [
39                        {
40                            "name": "routers",
41                            "data": "10.3.0.1"
42                        }
43                 ]
44
45       }
46   ]
47
48 },
49
50 "Logging":
51 {
52   "loggers": [
53     {
54       "name": "kea-dhcp4",
55       "output_options": [
56           {
57             "output": "/var/log/kea-dhcp4.log"
58           }
59       ],
60       "severity": "DEBUG",
61       "debuglevel": 0
62     },
63   ]
64 }
65
66 }