summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_isis.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-27 19:34:07 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-27 19:34:07 +0100
commit5e38895c906f05ecd3815573f07106a9ccab145a (patch)
tree8ae4ca088ae3646720422e84f7b46b0ac0c6a36b /src/conf_mode/protocols_isis.py
parent3800ea910a72a4d1a78b63f235980d9414747816 (diff)
downloadvyos-1x-5e38895c906f05ecd3815573f07106a9ccab145a.tar.gz
vyos-1x-5e38895c906f05ecd3815573f07106a9ccab145a.zip
frr: alwaws try to commit connfig 5 times
As a result to some frr-reload bugs workarounded in commit 3800ea91 or fe0038c2 this commit adds the workaround in general.
Diffstat (limited to 'src/conf_mode/protocols_isis.py')
-rwxr-xr-xsrc/conf_mode/protocols_isis.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/conf_mode/protocols_isis.py b/src/conf_mode/protocols_isis.py
index 5d02de869..0011e6fbf 100755
--- a/src/conf_mode/protocols_isis.py
+++ b/src/conf_mode/protocols_isis.py
@@ -235,15 +235,7 @@ def apply(isis):
if 'frr_isisd_config' in isis:
frr_cfg.add_before(frr.default_add_before, isis['frr_isisd_config'])
- # https://github.com/FRRouting/frr/issues/XXXX
- count = 0
- while count <= 5:
- count += 1
- try:
- frr_cfg.commit_configuration(isis_daemon)
- except:
- pass
-
+ frr_cfg.commit_configuration(isis_daemon)
# Save configuration to /run/frr/config/frr.conf
frr.save_configuration()