summaryrefslogtreecommitdiff
path: root/src/system/keepalived-fifo.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-05 20:13:04 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-05 20:14:29 +0100
commit8c8358f488ae5901d1c4ab52b422cf132c2dabe6 (patch)
tree9aa79dea367f40d0fde032a9efb7d05ec5337665 /src/system/keepalived-fifo.py
parent703e98ef74ad995d98bae051e494312864aab04e (diff)
downloadvyos-1x-8c8358f488ae5901d1c4ab52b422cf132c2dabe6.tar.gz
vyos-1x-8c8358f488ae5901d1c4ab52b422cf132c2dabe6.zip
vrrp: T4226: transition-script does not work for groups containing a hypen (-)
(cherry picked from commit 11a900e706db59459314622050ced7d4117f090b)
Diffstat (limited to 'src/system/keepalived-fifo.py')
-rwxr-xr-xsrc/system/keepalived-fifo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system/keepalived-fifo.py b/src/system/keepalived-fifo.py
index b1fe7e43f..a8df232ae 100755
--- a/src/system/keepalived-fifo.py
+++ b/src/system/keepalived-fifo.py
@@ -71,7 +71,8 @@ class KeepalivedFifo:
# Read VRRP configuration directly from CLI
self.vrrp_config_dict = conf.get_config_dict(base,
- key_mangling=('-', '_'), get_first_key=True)
+ key_mangling=('-', '_'), get_first_key=True,
+ no_tag_node_value_mangle=True)
logger.debug(f'Loaded configuration: {self.vrrp_config_dict}')
except Exception as err: