Test BGP 4 byte as trans - T2 Update - #26898
Open
sresri2 wants to merge 2 commits into
Open
Conversation
Signed-off-by: sresri2 <125845681+sresri2@users.noreply.github.com>
Signed-off-by: sresri2 <125845681+sresri2@users.noreply.github.com>
Collaborator
|
/azp run |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
github-actions
Bot
requested review from
cyw233,
sanjair-git and
yutongzhang-microsoft
August 8, 2026 00:31
|
@StormLiangMS @wangxin @yxieca A user wants to merge changes to the conditional mark files into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Enable
test_bgp_4-byte_as_transon T2 multi-ASIC by fixing namespace-scoped vtysh on neighbor devices.DUT vtysh commands already used per-ASIC logic, but two neighbor-side issues broke multi-ASIC runs.
neigh_cli_optionsused the neighbor hostname string instead of the neighbor host object, and the final received-routes check on neigh2 used globalvtyshwith no namespace.Changes:
neigh_cli_optionsto use ASIC index to get namespace.Type of change
Back port request
Tracking issue/work item for backport/cherry-pick request (GitHub issue or Microsoft ADO):
Failure type:
Tested branch
Test result
N/A
Approach
What is the motivation for this PR?
On multi-ASIC T2, neighbor vtysh commands should target the correct ASIC namespace. The setup had a bug resolving neigh1’s namespace, and the final route verification on neigh2 fully omitted namespace scoping.
How did you do it?
neigh_cli_optionsto call get namespace on host object rather than host string.neigh2_cli_options.How did you verify/test it?
Any platform specific information?
N/A
Supported testbed topology if it's a new test case?
Existing test, logic updated for T2.
Documentation
N/A.