diff options
author | fett0 <50275740+fett0@users.noreply.github.com> | 2024-04-01 17:54:20 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 17:54:20 -0300 |
commit | 8c40fcfc5ac033d109e084783bb5b2225e9a40de (patch) | |
tree | 6a5f9f31fea7fe0d830b9c71dc946783d20bbcd9 /smoketest/scripts/cli/test_protocols_bgp.py | |
parent | ecdf22fee3272dedc8c1c7c6d5e95057042b48ce (diff) | |
parent | 24d0400b9c55cadef1eb99b3e84a363dd6ad5033 (diff) | |
download | vyos-1x-8c40fcfc5ac033d109e084783bb5b2225e9a40de.tar.gz vyos-1x-8c40fcfc5ac033d109e084783bb5b2225e9a40de.zip |
Merge pull request #3212 from fett0/T6151
bgp: T6151: Allow configuration of disable-ebgp-connected-route-check
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_bgp.py')
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_bgp.py | 2 |
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 e8556cf44..e26ac0646 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) |