summaryrefslogtreecommitdiff
path: root/src/conf_mode/vrrp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-21 22:00:09 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-21 22:06:38 +0200
commit407db335b8eda0c9b8a090cde806a9107d3dbd96 (patch)
tree391b9c518afdfac21309ec7952a8ff31ea8994a3 /src/conf_mode/vrrp.py
parent301f96c10779400ffb1d5a0e824202dda17c3971 (diff)
downloadvyos-1x-407db335b8eda0c9b8a090cde806a9107d3dbd96.tar.gz
vyos-1x-407db335b8eda0c9b8a090cde806a9107d3dbd96.zip
vrrp: keepalived: T3847: remove "transition-script mode-force" option
Diffstat (limited to 'src/conf_mode/vrrp.py')
-rwxr-xr-xsrc/conf_mode/vrrp.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/conf_mode/vrrp.py b/src/conf_mode/vrrp.py
index 8bb237102..ba156e915 100755
--- a/src/conf_mode/vrrp.py
+++ b/src/conf_mode/vrrp.py
@@ -116,12 +116,6 @@ def verify(vrrp):
if 'peer_address' in group_config:
if is_ipv4(group_config['peer_address']):
raise ConfigError(f'VRRP group "{group}" uses IPv6 but peer-address is IPv4!')
-
- # Warn the user about the deprecated mode-force option
- if 'transition_script' in group_config and 'mode_force' in group_config['transition_script']:
- print("""Warning: "transition-script mode-force" VRRP option is deprecated and will be removed in VyOS 1.4.""")
- print("""It's no longer necessary, so you can safely remove it from your config now.""")
-
# Check sync groups
if 'sync_group' in vrrp:
for sync_group, sync_config in vrrp['sync_group'].items():