diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-07-07 14:03:07 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-07-07 22:01:13 +0200 |
commit | c1ccfa977aa26895b7c8203ca8a751e321997a00 (patch) | |
tree | d018e0b673789f96f8359787003a6042618e5181 /tests | |
parent | Merge pull request #13946 from LabNConsulting/chopps/doc-sqlite3-depend (diff) | |
download | frr-c1ccfa977aa26895b7c8203ca8a751e321997a00.tar.xz frr-c1ccfa977aa26895b7c8203ca8a751e321997a00.zip |
bgpd: Check if originator-id attribute is not received via eBGP session
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/topotests/bgp_path_attribute_discard/test_bgp_path_attribute_discard.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/topotests/bgp_path_attribute_discard/test_bgp_path_attribute_discard.py b/tests/topotests/bgp_path_attribute_discard/test_bgp_path_attribute_discard.py index ebaab6034..c97cd0bdd 100644 --- a/tests/topotests/bgp_path_attribute_discard/test_bgp_path_attribute_discard.py +++ b/tests/topotests/bgp_path_attribute_discard/test_bgp_path_attribute_discard.py @@ -83,7 +83,7 @@ def test_bgp_path_attribute_discard(): "paths": [ { "valid": True, - "originatorId": "10.0.0.2", + "originatorId": None, "community": { "string": "65001:102", }, @@ -98,12 +98,12 @@ def test_bgp_path_attribute_discard(): _, result = topotest.run_and_expect(test_func, None, count=30, wait=0.5) assert result is None, "Failed bgp convergence" - step("Discard atomic-aggregate, community, and originator-id attributes from peer1") + step("Discard atomic-aggregate, and community attributes from peer1") r1.vtysh_cmd( """ configure terminal router bgp - neighbor 10.0.0.2 path-attribute discard 6 8 9 + neighbor 10.0.0.2 path-attribute discard 6 8 """ ) @@ -137,7 +137,7 @@ def test_bgp_path_attribute_discard(): _, result = topotest.run_and_expect(test_func, None, count=30, wait=0.5) assert ( result is None - ), "Failed to discard path attributes (atomic-aggregate, community, and originator-id)" + ), "Failed to discard path attributes (atomic-aggregate, community)" def test_memory_leak(): |