Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix iBGP skip in bgp/test_4-byte_asn_community.py #15614

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/bgp/test_4-byte_asn_community.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ def setup_ceos(tbinfo, nbrhosts, duthosts, enum_frontend_dut_hostname, enum_rand

# verify sessions are established and gather neighbor information
for k, v in bgp_facts['bgp_neighbors'].items():
# skip internal neighbors to other 'asic' namespaces
if 'asic' not in v['description'].lower():
# skip iBGP neighbors
if "INTERNAL" not in v["peer group"] and "VOQ_CHASSIS" not in v["peer group"]:
if v['description'] == neigh:
if v['ip_version'] == 4:
neigh_ip_v4 = k
Expand Down
Loading