From 5dbd2e36550043a15ed34108d1537e545ecdb4ae Mon Sep 17 00:00:00 2001 From: sever-sever Date: Tue, 29 Sep 2020 10:35:31 +0000 Subject: vrrp: T2933: Add option virtual-address-excluded --- data/templates/vrrp/keepalived.conf.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'data') 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 }} -- cgit v1.2.3