[action] [PR:21979] Keep One Port Up in BGP Scale Test to Preserve PTF Reachability and Accurate Downtime#22457
Merged
mssonicbld merged 1 commit intosonic-net:202511from Feb 18, 2026
Conversation
) Signed-off-by: Priyansh Tratiya <[email protected]> Signed-off-by: mssonicbld <[email protected]>
11 tasks
Collaborator
Author
|
Original PR: #21979 |
Collaborator
Author
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
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:
In IPv6 BGP scale flap testing, when
all_flapis enabled we must keep one neighbor stable avoid dataplane downtime miscalculation. This PR updates the target selection logic to flap “all minus one” neighbors by removing the randomly chosen injection neighbor from the flapping neighbor list, and updates the log message accordingly.Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
The flap test requires a dedicated “injection neighbor” to remain up for route injection/verification. Previously, with
all_flap=True, the injection neighbor could also be included in the flapping set, causing inconsistent/incorrect behavior.How did you do it?
In
tests/bgp/test_ipv6_bgp_scale.py(_select_targets_to_flap), whenall_flapis enabled:list(bgp_neighbors)) to avoid aliasing.flapping_neighborsso we flap all other neighbors.How did you verify/test it?
Ran the tests on Arista 7060X6 and Mellanox SN5640
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation