summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-29 21:47:29 +0200
committerGitHub <noreply@github.com>2020-09-29 21:47:29 +0200
commitd1f6b8a8a9e3298b10fe6a04f4edb531582efc88 (patch)
tree04ffba62a220bd68cd2e7875b9c97f05f2e3e496 /data/templates
parent278d3e62f56f5f7b3c25bbe0cab953c64fbe1fc6 (diff)
parent5dbd2e36550043a15ed34108d1537e545ecdb4ae (diff)
downloadvyos-1x-d1f6b8a8a9e3298b10fe6a04f4edb531582efc88.tar.gz
vyos-1x-d1f6b8a8a9e3298b10fe6a04f4edb531582efc88.zip
Merge pull request #557 from sever-sever/T2933
vrrp: T2933: Add option virtual-address-excluded
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/vrrp/keepalived.conf.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/vrrp/keepalived.conf.tmpl b/data/templates/vrrp/keepalived.conf.tmpl
index 08b821f70..210621681 100644
--- a/data/templates/vrrp/keepalived.conf.tmpl
+++ b/data/templates/vrrp/keepalived.conf.tmpl
@@ -70,6 +70,14 @@ vrrp_instance {{ group.name }} {
{% endfor -%}
}
+ {% if group.virtual_addresses_excluded -%}
+ virtual_ipaddress_excluded {
+ {% for addr in group.virtual_addresses_excluded -%}
+ {{ addr }}
+ {% endfor -%}
+ }
+ {% endif -%}
+
{% if group.health_check_script -%}
track_script {
healthcheck_{{ group.name }}