summaryrefslogtreecommitdiff
path: root/data/templates/vrrp/keepalived.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-21 22:07:33 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-21 22:11:49 +0200
commitb9d4d8c67d6b41ebbf5b570c7c6b09e05520e737 (patch)
tree8ba912776fddc2ef299c1675822c909c1da86ef4 /data/templates/vrrp/keepalived.conf.tmpl
parent2a57f786931793d59cc5ec2c3a925807b6ee3938 (diff)
downloadvyos-1x-b9d4d8c67d6b41ebbf5b570c7c6b09e05520e737.tar.gz
vyos-1x-b9d4d8c67d6b41ebbf5b570c7c6b09e05520e737.zip
vrrp: keepalived: T3847: migrate/streamline CLI options
Rename virtual-address -> address as we always talk about an IP address.
Diffstat (limited to 'data/templates/vrrp/keepalived.conf.tmpl')
-rw-r--r--data/templates/vrrp/keepalived.conf.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/vrrp/keepalived.conf.tmpl b/data/templates/vrrp/keepalived.conf.tmpl
index a1e47abc3..e31bfaac0 100644
--- a/data/templates/vrrp/keepalived.conf.tmpl
+++ b/data/templates/vrrp/keepalived.conf.tmpl
@@ -60,16 +60,16 @@ vrrp_instance {{ name }} {
{% endif %}
}
{% endif %}
-{% if group_config.virtual_address is defined and group_config.virtual_address is not none %}
+{% if group_config.address is defined and group_config.address is not none %}
virtual_ipaddress {
-{% for addr in group_config.virtual_address %}
+{% for addr in group_config.address %}
{{ addr }}
{% endfor %}
}
{% endif %}
-{% if group_config.virtual_address_excluded is defined and group_config.virtual_address_excluded is not none %}
+{% if group_config.excluded_address is defined and group_config.excluded_address is not none %}
virtual_ipaddress_excluded {
-{% for addr in group_config.virtual_address_excluded %}
+{% for addr in group_config.excluded_address %}
{{ addr }}
{% endfor %}
}