summaryrefslogtreecommitdiff
path: root/data/templates/vrrp
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-15 11:55:03 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-15 11:55:03 +0200
commitd7f0cbdc102a1186cec80d0ebf29b8f4ef415435 (patch)
tree41f9a169952b0e47f5a99fcfa7412feeccb55422 /data/templates/vrrp
parent7792b5319695098418de562dad87bbc0fef6d19c (diff)
downloadvyos-1x-d7f0cbdc102a1186cec80d0ebf29b8f4ef415435.tar.gz
vyos-1x-d7f0cbdc102a1186cec80d0ebf29b8f4ef415435.zip
conntrack: T3535: add keepalived notifications for node transitions
Diffstat (limited to 'data/templates/vrrp')
-rw-r--r--data/templates/vrrp/keepalived.conf.tmpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/data/templates/vrrp/keepalived.conf.tmpl b/data/templates/vrrp/keepalived.conf.tmpl
index d51522e45..c01101d85 100644
--- a/data/templates/vrrp/keepalived.conf.tmpl
+++ b/data/templates/vrrp/keepalived.conf.tmpl
@@ -96,9 +96,10 @@ vrrp_sync_group {{ sync_group.name }} {
}
{% if sync_group.conntrack_sync %}
- notify_master "/opt/vyatta/sbin/vyatta-vrrp-conntracksync.sh master {{ sync_group.name }}"
- notify_backup "/opt/vyatta/sbin/vyatta-vrrp-conntracksync.sh backup {{ sync_group.name }}"
- notify_fault "/opt/vyatta/sbin/vyatta-vrrp-conntracksync.sh fault {{ sync_group.name }}"
+ {% set vyos_helper = "/usr/libexec/vyos/vyos-vrrp-conntracksync.sh" %}
+ notify_master "{{ vyos_helper }} master {{ sync_group.name }}"
+ notify_backup "{{ vyos_helper }} backup {{ sync_group.name }}"
+ notify_fault "{{ vyos_helper }} fault {{ sync_group.name }}"
{% endif %}
}