From ecfbeb7fa3b1d170330e50352002d702535e66b0 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 5 Aug 2021 23:47:36 +0200 Subject: frr: T2175: remove no longer required loop when removing VRF VNI This is a completing commit to a55585a833 ("frr: T2175: remove no longer required loop when removing routing protocols") that was missed out previously. --- src/conf_mode/vrf.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/conf_mode/vrf.py b/src/conf_mode/vrf.py index 82956b219..1fd8c134d 100755 --- a/src/conf_mode/vrf.py +++ b/src/conf_mode/vrf.py @@ -249,12 +249,6 @@ def apply(vrf): frr_cfg.add_before(r'(interface .*|line vty)', vrf['new_frr_config']) frr_cfg.commit_configuration(frr_daemon) - # If FRR config is blank, rerun the blank commit x times due to frr-reload - # behavior/bug not properly clearing out on one commit. - if vrf['new_frr_config'] == '': - for a in range(5): - frr_cfg.commit_configuration(frr_daemon) - # Save configuration to /run/frr/config/frr.conf frr.save_configuration() -- cgit v1.2.3