diff options
author | sever-sever <v.gletenko@vyos.io> | 2020-09-29 10:35:31 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2020-09-29 17:57:15 +0000 |
commit | 5dbd2e36550043a15ed34108d1537e545ecdb4ae (patch) | |
tree | 04ffba62a220bd68cd2e7875b9c97f05f2e3e496 /data/templates | |
parent | 278d3e62f56f5f7b3c25bbe0cab953c64fbe1fc6 (diff) | |
download | vyos-1x-5dbd2e36550043a15ed34108d1537e545ecdb4ae.tar.gz vyos-1x-5dbd2e36550043a15ed34108d1537e545ecdb4ae.zip |
vrrp: T2933: Add option virtual-address-excluded
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/vrrp/keepalived.conf.tmpl | 8 |
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 }} |