summaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts/kea-dhcp4.conf
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-08-10 13:42:50 -0400
committerMarco Platania <platania@research.att.com>2017-08-10 13:42:50 -0400
commit58a1d61123d64a8c5d91b10ba9c5a0a27756cc2d (patch)
treefbc8cbbe078e67b360c78b842779688e05599586 /vnfs/vCPE/scripts/kea-dhcp4.conf
parent93465218ae4db89ff61e63a3ab62bec65828c89a (diff)
Add vCPE use case install scripts
Change-Id: I36085089fcb524f9b0526717449feefc1c45f73b Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vCPE/scripts/kea-dhcp4.conf')
-rw-r--r--vnfs/vCPE/scripts/kea-dhcp4.conf64
1 files changed, 64 insertions, 0 deletions
diff --git a/vnfs/vCPE/scripts/kea-dhcp4.conf b/vnfs/vCPE/scripts/kea-dhcp4.conf
new file mode 100644
index 00000000..b3149af1
--- /dev/null
+++ b/vnfs/vCPE/scripts/kea-dhcp4.conf
@@ -0,0 +1,64 @@
+{
+"Dhcp4":
+ {
+# For testing, you can use veth pair as described in README.md
+ "interfaces-config": {
+ "interfaces": ["veth0" ]
+ },
+
+# How to load the hook library.
+ "hooks-libraries": [
+ {"library": "/usr/local/lib/kea-sdnc-notify.so"}
+ ],
+
+ "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": 300,
+
+# 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.3.0.0/24",
+ "pools" : [ { "pool": "10.3.0.2 - 10.3.0.255"} ],
+ "next-server": "10.3.0.1",
+ "option-data": [
+ {"name": "tftp-server-name",
+ "data": "10.4.0.1"},
+ {"name": "boot-file-name",
+ "data": "/dev/null"}
+ ]
+ }
+ ]
+
+},
+
+"Logging":
+{
+ "loggers": [
+ {
+ "name": "kea-dhcp4",
+ "output_options": [
+ {
+ "output": "/var/log/kea-dhcp4.log"
+ }
+ ],
+ "severity": "DEBUG",
+ "debuglevel": 0
+ },
+ ]
+}
+
+}