From bb260747096bb5072b0cf78f1ab2ff57cd0f43e8 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 Jan 2021 16:30:19 +0100 Subject: frr: T2826: add additional debug output when loading new config --- python/vyos/frr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/vyos/frr.py b/python/vyos/frr.py index 3bab64301..76e204ab3 100644 --- a/python/vyos/frr.py +++ b/python/vyos/frr.py @@ -459,7 +459,8 @@ class FRRConfig: start = _find_first_element(self.config, before_pattern) if start < 0: return False - + for i, e in enumerate(addition, start=start): + LOG.debug(f'add_before: add {i:3} {e}') self.config[start:start] = addition return True -- cgit v1.2.3