summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-server/kea-ctrl-agent.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/dhcp-server/kea-ctrl-agent.conf.j2')
-rw-r--r--data/templates/dhcp-server/kea-ctrl-agent.conf.j214
1 files changed, 14 insertions, 0 deletions
diff --git a/data/templates/dhcp-server/kea-ctrl-agent.conf.j2 b/data/templates/dhcp-server/kea-ctrl-agent.conf.j2
new file mode 100644
index 000000000..74c63a7a0
--- /dev/null
+++ b/data/templates/dhcp-server/kea-ctrl-agent.conf.j2
@@ -0,0 +1,14 @@
+{
+ "Control-agent": {
+{% if failover is vyos_defined %}
+ "http-host": "{{ failover.source_address }}",
+ "http-port": 647,
+ "control-sockets": {
+ "dhcp4": {
+ "socket-type": "unix",
+ "socket-name": "/run/kea/dhcp4-ctrl-socket"
+ }
+ }
+{% endif %}
+ }
+}