summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-03-30 13:07:07 +0100
committerGitHub <noreply@github.com>2024-03-30 13:07:07 +0100
commita95063831f83dcfe458691b86407b70107b700ad (patch)
tree5c603c1756cdc01e75c6a688eb4bd486d31217bb /smoketest
parent2b55d0f947e849b2ececf5119e6183c9d5fca65e (diff)
parent84f05b1dd41bea5de16d707aa77a467f8d499323 (diff)
downloadvyos-1x-a95063831f83dcfe458691b86407b70107b700ad.tar.gz
vyos-1x-a95063831f83dcfe458691b86407b70107b700ad.zip
Merge pull request #3213 from HollyGurza/T6106
bgp: T6106: Valid commit error for route-reflector-client option defined in peer-group
Diffstat (limited to 'smoketest')
-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'