From 01667006e6364f2933e642fa724fbaec4849f615 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 11 Oct 2025 20:05:02 +0200 Subject: frrender: T7764: add deletion marked for babel When deleting the daemon configuration, use the deleted dict element to properly inform FRR config render of absence of the configuration items. Nothing needs to be rendered. --- python/vyos/frrender.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python') diff --git a/python/vyos/frrender.py b/python/vyos/frrender.py index b3af4bf0a..fe5dab332 100644 --- a/python/vyos/frrender.py +++ b/python/vyos/frrender.py @@ -243,6 +243,8 @@ def get_frrender_dict(conf, argv=None) -> dict: get_first_key=True, with_recursive_defaults=True) dict.update({'babel' : babel}) + elif conf.exists_effective(babel_cli_path): + dict.update({'babel' : {'deleted' : ''}}) # We need to check the CLI if the BFD node is present and thus load in all the default # values present on the CLI - that's why we have if conf.exists() -- cgit v1.2.3