Skip to content
Closed
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
7 changes: 7 additions & 0 deletions tests/bgp/test_bgp_peer_shutdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ def common_setup_teardown(
neigh_type = "LowerRegionalHub"
if confed_asn is not None:
use_vtysh = True
elif dut_type in ["LowerMgmtAggregator", "UpperMgmtAggregator"]:
# Mgmt aggregators run BGP confederation. The test neighbor is an
# external eBGP peer, so it must be added directly to FRR via vtysh
# (the config_db path is not rendered for these peers).
neigh_type = "MgmtSpineRouter"
if confed_asn is not None:
use_vtysh = True
Comment on lines +82 to +86
else:
neigh_type = "ToRRouter"
logging.info(
Expand Down
Loading