summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2024-03-29 13:01:19 +0000
committerfett0 <fernando.gmaidana@gmail.com>2024-03-29 13:01:19 +0000
commit010c4061a8884a3617368f3618a425dc517d0675 (patch)
tree09d036a686a245734b28b17e122ca0006078ecad /smoketest
parentf30a22ebde92302916282be4fe40489efaaf3b3e (diff)
downloadvyos-1x-010c4061a8884a3617368f3618a425dc517d0675.tar.gz
vyos-1x-010c4061a8884a3617368f3618a425dc517d0675.zip
bgp: T6010: Allow configuration of disable-ebgp-connected-route-check
Diffstat (limited to 'smoketest')
-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 5f238b25a..8b597e670 100755
--- a/smoketest/scripts/cli/test_protocols_bgp.py
+++ b/smoketest/scripts/cli/test_protocols_bgp.py
@@ -321,6 +321,7 @@ class TestProtocolsBGP(VyOSUnitTestSHIM.TestCase):
tcp_keepalive_probes = '22'
self.cli_set(base_path + ['parameters', 'allow-martian-nexthop'])
+ self.cli_set(base_path + ['parameters', 'disable-ebgp-connected-route-check'])
self.cli_set(base_path + ['parameters', 'no-hard-administrative-reset'])
self.cli_set(base_path + ['parameters', 'log-neighbor-changes'])
self.cli_set(base_path + ['parameters', 'labeled-unicast', 'explicit-null'])
@@ -372,6 +373,7 @@ class TestProtocolsBGP(VyOSUnitTestSHIM.TestCase):
self.assertIn(f'router bgp {ASN}', frrconfig)
self.assertIn(f' bgp router-id {router_id}', frrconfig)
self.assertIn(f' bgp allow-martian-nexthop', frrconfig)
+ self.assertIn(f' bgp disable-ebgp-connected-route-check', frrconfig)
self.assertIn(f' bgp log-neighbor-changes', frrconfig)
self.assertIn(f' bgp default local-preference {local_pref}', frrconfig)
self.assertIn(f' bgp conditional-advertisement timer {cond_adv_timer}', frrconfig)