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