summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-server/kea-dhcp4.conf.j2
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-03-25 20:28:00 +0100
committerGitHub <noreply@github.com>2024-03-25 20:28:00 +0100
commit515b577b62e420d0a89d02ec5af3bb066a2b785a (patch)
tree4f39d56d94d0858570b95348ab4fc19573e3b810 /data/templates/dhcp-server/kea-dhcp4.conf.j2
parent7c0be25eea90cf9324e421b6c2dfda9bda2ecb7e (diff)
parent98f923bd0f4dd66db5c89f38f9aa3c13ba23edcd (diff)
downloadvyos-1x-515b577b62e420d0a89d02ec5af3bb066a2b785a.tar.gz
vyos-1x-515b577b62e420d0a89d02ec5af3bb066a2b785a.zip
Merge pull request #3188 from nicolas-fort/T6171
T6171: migrate <set service dhcp-server failover> to <set service dhcp-server high-availability>
Diffstat (limited to 'data/templates/dhcp-server/kea-dhcp4.conf.j2')
-rw-r--r--data/templates/dhcp-server/kea-dhcp4.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/dhcp-server/kea-dhcp4.conf.j2 b/data/templates/dhcp-server/kea-dhcp4.conf.j2
index 629fa952a..bf37b94f6 100644
--- a/data/templates/dhcp-server/kea-dhcp4.conf.j2
+++ b/data/templates/dhcp-server/kea-dhcp4.conf.j2
@@ -51,11 +51,11 @@
}
],
"hooks-libraries": [
-{% if failover is vyos_defined %}
+{% if high_availability is vyos_defined %}
{
"library": "/usr/lib/{{ machine }}-linux-gnu/kea/hooks/libdhcp_ha.so",
"parameters": {
- "high-availability": [{{ failover | kea_failover_json }}]
+ "high-availability": [{{ high_availability | kea_high_availability_json }}]
}
},
{% endif %}