summaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-08-29 18:15:49 -0400
committerMarco Platania <platania@research.att.com>2017-08-29 18:17:44 -0400
commitf61e1d721b1fc75656186b2f8277c8c7b3341676 (patch)
treef62f7b508a0fdc6aa3826ebbccd020abc8924bda /vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
parent569b54f0659cc790c0c9c2eec3a72884b6162626 (diff)
Install vDNS, vAAA and vDHCP services in vCPE
- Bind as vDNS - FreeRADIUS as vAAA - KEA-DHCP-SERVER as vDHCP Change-Id: I9a54add31542c075163bf946f475a184e14600aa Issue-ID: INT-84 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf')
-rw-r--r--vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf59
1 files changed, 59 insertions, 0 deletions
diff --git a/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf b/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
new file mode 100644
index 00000000..3e2287d1
--- /dev/null
+++ b/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
@@ -0,0 +1,59 @@
+{
+"Dhcp4":
+ {
+# For testing, you can use veth pair as described in README.md
+ "interfaces-config": {
+ "interfaces": ["eth0" ]
+ },
+
+ "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.2.0.0/24",
+ "pools" : [ { "pool": "10.2.0.2 - 10.2.0.255"} ],
+ "next-server": "10.2.0.1",
+ "option-data": [
+ {"name": "tftp-server-name",
+ "data": "10.2.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
+ },
+ ]
+}
+
+}