summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-29 08:15:37 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-29 08:15:37 +0200
commit8f3c9b4a803f5e5c7baa60ecc21a24c57eefc70b (patch)
tree62c0711f1e69030626f6f22ecd3e641b95259f21
parent4c0164755a5d7c74c35d9cef1442b77301ca6366 (diff)
downloadvyos-1x-8f3c9b4a803f5e5c7baa60ecc21a24c57eefc70b.tar.gz
vyos-1x-8f3c9b4a803f5e5c7baa60ecc21a24c57eefc70b.zip
smoketest: T5161: add missing whitespace in BFD profile during validation
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_static.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_protocols_static.py b/smoketest/scripts/cli/test_protocols_static.py
index c21dfc8be..fbf336f1a 100755
--- a/smoketest/scripts/cli/test_protocols_static.py
+++ b/smoketest/scripts/cli/test_protocols_static.py
@@ -139,7 +139,7 @@ class TestProtocolsStatic(VyOSUnitTestSHIM.TestCase):
if 'bfd' in next_hop_config:
self.cli_set(base + ['next-hop', next_hop, 'bfd', 'profile', bfd_profile ])
if 'bfd_source' in next_hop_config:
- self.cli_set(base + ['next-hop', next_hop, 'bfd', 'multi-hop','source', next_hop_config['bfd_source'], 'profile', bfd_profile])
+ self.cli_set(base + ['next-hop', next_hop, 'bfd', 'multi-hop', 'source', next_hop_config['bfd_source'], 'profile', bfd_profile])
if 'interface' in route_config:
@@ -197,7 +197,7 @@ class TestProtocolsStatic(VyOSUnitTestSHIM.TestCase):
if 'bfd' in next_hop_config:
tmp += ' bfd profile ' + bfd_profile
if 'bfd_source' in next_hop_config:
- tmp += ' bfd multi-hop source ' + next_hop_config['bfd_source'] + 'profile' + bfd_profile
+ tmp += ' bfd multi-hop source ' + next_hop_config['bfd_source'] + ' profile ' + bfd_profile
if 'disable' in next_hop_config:
self.assertNotIn(tmp, frrconfig)