[HA] [smartswitch] add the planned shutdown ha tests#22710
Open
aronovic wants to merge 1 commit intosonic-net:masterfrom
Open
[HA] [smartswitch] add the planned shutdown ha tests#22710aronovic wants to merge 1 commit intosonic-net:masterfrom
aronovic wants to merge 1 commit intosonic-net:masterfrom
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Mihut Aronovici <aronovic@cisco.com>
6cec0b9 to
25584d8
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
yue-fred-gao
reviewed
Mar 3, 2026
| t.join() | ||
| time.sleep(2) | ||
| match_count = testutils.count_matched_packets_all_ports(ptfadapter, exp_dpu_to_pe_pkt, | ||
| ports=dash_pl_config[0][REMOTE_PTF_RECV_INTF], timeout=10) |
Contributor
There was a problem hiding this comment.
is dash_pl_config[0] DUT0? when DPU of DUT0 is set to dead, packets to DUT0 will be redirected to DPU in DUT1. Return traffic will be sending by DUT1. The switch may take a few seconds depending on how soon DPU brings HA dead. Should we capture packets from both DUTs: pre-dead is DUT0 and post-dead DUT1
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
Add the HA planned shutdown tests
Type of change
Back port request
Approach
What is the motivation for this PR?
Need HA tests with traffic and simulated failures
How did you do it?
Added the new test file to the ha directory
How did you verify/test it?
Verified on MtFuji HA topology
Any platform specific information?
MtFuji
Supported testbed topology if it's a new test case?
HA topology
Documentation
N/A