summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-30 21:51:54 +0100
committerGitHub <noreply@github.com>2024-03-30 21:51:54 +0100
commit495bf823b7c7d51ea1506445e80debbde4d69a78 (patch)
tree2417e103adac0f50700f03d0c49703283a816b30 /smoketest/scripts
parent058eed53fd737333ce9efa30b5943a2bdaed85df (diff)
parent210358615269d406873b5e00b77347392145e140 (diff)
downloadvyos-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')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_bgp.py7
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'