summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-31 20:12:33 +0200
committerGitHub <noreply@github.com>2022-03-31 20:12:33 +0200
commit77f9fc8e9358d5e1d3bbf700b31865e4dc266491 (patch)
tree72a49cd48874f518df46b4651d472b08cb28abeb /smoketest/scripts
parent7ead27258b3488221421f6fe1ee6b3de8f8bf150 (diff)
parent7d4160f5e2ef1b0c7d5443850fa5b694b940547a (diff)
downloadvyos-1x-77f9fc8e9358d5e1d3bbf700b31865e4dc266491.tar.gz
vyos-1x-77f9fc8e9358d5e1d3bbf700b31865e4dc266491.zip
Merge pull request #1260 from sever-sever/T4326
bgp: T4326: Add bgp parameter no-suppress-duplicates
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_bgp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_protocols_bgp.py b/smoketest/scripts/cli/test_protocols_bgp.py
index d7230baf4..db1587ba7 100755
--- a/smoketest/scripts/cli/test_protocols_bgp.py
+++ b/smoketest/scripts/cli/test_protocols_bgp.py
@@ -274,6 +274,7 @@ class TestProtocolsBGP(VyOSUnitTestSHIM.TestCase):
self.cli_set(base_path + ['parameters', 'conditional-advertisement', 'timer', cond_adv_timer])
self.cli_set(base_path + ['parameters', 'fast-convergence'])
self.cli_set(base_path + ['parameters', 'minimum-holdtime', min_hold_time])
+ self.cli_set(base_path + ['parameters', 'no-suppress-duplicates'])
self.cli_set(base_path + ['parameters', 'reject-as-sets'])
self.cli_set(base_path + ['parameters', 'shutdown'])
self.cli_set(base_path + ['parameters', 'suppress-fib-pending'])
@@ -305,6 +306,7 @@ class TestProtocolsBGP(VyOSUnitTestSHIM.TestCase):
self.assertIn(f' bgp shutdown', frrconfig)
self.assertIn(f' bgp suppress-fib-pending', frrconfig)
self.assertNotIn(f'bgp ebgp-requires-policy', frrconfig)
+ self.assertIn(f' no bgp suppress-duplicates', frrconfig)
afiv4_config = self.getFRRconfig(' address-family ipv4 unicast')
self.assertIn(f' maximum-paths {max_path_v4}', afiv4_config)