summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_isis.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-23 19:34:07 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-23 19:34:43 +0200
commita55585a833a23e64adb666558b3d358523f6cb39 (patch)
tree8fd32e79bc139701415d39e9c3af7019d6fe2d9a /src/conf_mode/protocols_isis.py
parent4791195ae206483f3de1e1b602feefe354834222 (diff)
downloadvyos-1x-a55585a833a23e64adb666558b3d358523f6cb39.tar.gz
vyos-1x-a55585a833a23e64adb666558b3d358523f6cb39.zip
frr: T2175: remove no longer required loop when removing routing protocols
Diffstat (limited to 'src/conf_mode/protocols_isis.py')
-rwxr-xr-xsrc/conf_mode/protocols_isis.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/conf_mode/protocols_isis.py b/src/conf_mode/protocols_isis.py
index c3a444f16..50c48db28 100755
--- a/src/conf_mode/protocols_isis.py
+++ b/src/conf_mode/protocols_isis.py
@@ -232,15 +232,6 @@ def apply(isis):
frr_cfg.add_before(r'(ip prefix-list .*|route-map .*|line vty)', isis['frr_isisd_config'])
frr_cfg.commit_configuration(isis_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 isis['frr_isisd_config'] == '':
- for a in range(5):
- frr_cfg.commit_configuration(isis_daemon)
- if isis['frr_zebra_config'] == '':
- for a in range(5):
- frr_cfg.commit_configuration(zebra_daemon)
-
# Save configuration to /run/frr/config/frr.conf
frr.save_configuration()