From 144b6e6e7b6230283ad8eccc374c443bffd74c3f Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Mon, 23 Jan 2023 12:27:31 +0000 Subject: T1297: VRRP: add garp options to vrrp --- src/conf_mode/high-availability.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/conf_mode/high-availability.py b/src/conf_mode/high-availability.py index 4ed16d0d7..bc3e67b40 100755 --- a/src/conf_mode/high-availability.py +++ b/src/conf_mode/high-availability.py @@ -51,6 +51,8 @@ def get_config(config=None): if 'vrrp' in ha: if 'group' in ha['vrrp']: default_values_vrrp = defaults(base_vrrp + ['group']) + if 'garp' in default_values_vrrp: + del default_values_vrrp['garp'] for group in ha['vrrp']['group']: ha['vrrp']['group'][group] = dict_merge(default_values_vrrp, ha['vrrp']['group'][group]) -- cgit v1.2.3