summaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts/kea-dhcp4-web.conf
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2017-11-08 17:56:22 -0500
committerBrian Freeman <bf1936@att.com>2017-11-08 17:56:34 -0500
commit7c1cf784b194a956bc25d1ea0171572af28099ae (patch)
treeba93f17cf137d34cd8d51d3e31b89ffd50ef2a7d /vnfs/vCPE/scripts/kea-dhcp4-web.conf
parente05170be50af4717f90f46f42977832a9e820d38 (diff)
Install DHCP CPEPUBLC
Issue-ID: INT-81 Change-Id: If6e695f0a6783f00be2ee98461897fd5a60b797a Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'vnfs/vCPE/scripts/kea-dhcp4-web.conf')
-rw-r--r--vnfs/vCPE/scripts/kea-dhcp4-web.conf63
1 files changed, 63 insertions, 0 deletions
diff --git a/vnfs/vCPE/scripts/kea-dhcp4-web.conf b/vnfs/vCPE/scripts/kea-dhcp4-web.conf
new file mode 100644
index 00000000..4bf07044
--- /dev/null
+++ b/vnfs/vCPE/scripts/kea-dhcp4-web.conf
@@ -0,0 +1,63 @@
+{
+"Dhcp4":
+ {
+# For testing, you can use veth pair as described in README.md
+# vDHCP needs to lisetn on eth1
+ "interfaces-config": {
+ "interfaces": ["eth1" ]
+ },
+
+# How to load the hook library.
+
+ "lease-database": {
+ "type": "memfile"
+ },
+
+ "expired-leases-processing": {
+ "reclaim-timer-wait-time": 10,
+ "flush-reclaimed-timer-wait-time": 25,
+ "hold-reclaimed-time": 3600,
+ "max-reclaim-leases": 100,
+ "max-reclaim-time": 250,
+ "unwarned-reclaim-cycles": 5
+ },
+
+ "valid-lifetime": 3600,
+
+# Ensure you set some sensible defaults for the siaddr and option-data,
+# otherwise the options won't be added at all.
+# Also keep in mind that if kea doesn't receive the desired values for some
+# reason, these values will be sent to the client.
+ "subnet4": [
+ { "subnet": "10.2.0.0/24",
+ "pools" : [ { "pool": "10.2.0.2 - 10.2.0.255"} ],
+ "next-server": "10.2.0.1",
+ "option-data": [
+ {
+ "name": "routers",
+ "data": "10.2.0.1"
+ }
+ ]
+
+ }
+ ]
+
+},
+
+"Logging":
+{
+ "loggers": [
+ {
+ "name": "kea-dhcp4",
+ "output_options": [
+ {
+ "output": "/var/log/kea-dhcp4.log"
+ }
+ ],
+ "severity": "DEBUG",
+ "debuglevel": 0
+ },
+ ]
+}
+
+}