diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-30 21:51:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-30 21:51:54 +0100 |
commit | 495bf823b7c7d51ea1506445e80debbde4d69a78 (patch) | |
tree | 2417e103adac0f50700f03d0c49703283a816b30 /smoketest/scripts/cli | |
parent | 058eed53fd737333ce9efa30b5943a2bdaed85df (diff) | |
parent | 210358615269d406873b5e00b77347392145e140 (diff) | |
download | vyos-1x-495bf823b7c7d51ea1506445e80debbde4d69a78.tar.gz vyos-1x-495bf823b7c7d51ea1506445e80debbde4d69a78.zip |
Merge pull request #3216 from vyos/mergify/bp/sagitta/pr-3213
bgp: T6106: Valid commit error for route-reflector-client option defined in peer-group (backport #3213)
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_bgp.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_protocols_bgp.py b/smoketest/scripts/cli/test_protocols_bgp.py index 5f238b25a..e8556cf44 100755 --- a/smoketest/scripts/cli/test_protocols_bgp.py +++ b/smoketest/scripts/cli/test_protocols_bgp.py @@ -1241,6 +1241,13 @@ class TestProtocolsBGP(VyOSUnitTestSHIM.TestCase): with self.assertRaises(ConfigSessionError) as e: self.cli_commit() + self.cli_set(base_path + ['peer-group', 'peer1', 'remote-as', 'internal']) + self.cli_commit() + + conf = self.getFRRconfig(' address-family l2vpn evpn') + + self.assertIn('neighbor peer1 route-reflector-client', conf) + def test_bgp_99_bmp(self): target_name = 'instance-bmp' target_address = '127.0.0.1' |