Skip to content

[Smartswitch] Add HA Link Utilities#22515

Merged
yxieca merged 2 commits intosonic-net:masterfrom
AkeelAli:ha_link_util
Feb 28, 2026
Merged

[Smartswitch] Add HA Link Utilities#22515
yxieca merged 2 commits intosonic-net:masterfrom
AkeelAli:ha_link_util

Conversation

@AkeelAli
Copy link
Copy Markdown
Contributor

@AkeelAli AkeelAli commented Feb 20, 2026

Description of PR

Adding a link utilities file for HA testing. Currently supports NPU-DPU link failure with add_acl_link_drop and remove_acl_link_drop.

Related PRs:
#22353
#22394

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

Support HA testing with link utilities as required by https://github.com/sonic-net/sonic-mgmt/blob/master/docs/testplan/HA-SmartSwitch-test-plan.md#module-5-link-failures

How did you do it?

Using ACL to simulate link failures

How did you verify/test it?

Tested DPU-DPU pair traffic drops when link failure is simulated

Any platform specific information?

MtFuji

Supported testbed topology if it's a new test case?

HA-topology

Documentation

Signed-off-by: AkeelAli <[email protected]>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Contributor

@yue-fred-gao yue-fred-gao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown
Collaborator

@yxieca yxieca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI agent on behalf of Ying: Reviewed the new HA link utilities; looks good to me. Approving.

@yxieca yxieca merged commit 05f4e89 into sonic-net:master Feb 28, 2026
14 checks passed
@zjswhhh zjswhhh added smartswitch-ha Label for tracking smartswitch HA related changes Request for 202511 branch Request to backport a change to 202511 branch labels Mar 2, 2026
aronovic pushed a commit to aronovic/sonic-mgmt that referenced this pull request Mar 3, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
Signed-off-by: Mihut Aronovici <[email protected]>
rraghav-cisco pushed a commit to rraghav-cisco/sonic-mgmt that referenced this pull request Mar 3, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
Signed-off-by: Raghavendran Ramanathan <[email protected]>
selldinesh pushed a commit to selldinesh/sonic-mgmt that referenced this pull request Mar 16, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
Signed-off-by: selldinesh <[email protected]>
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Mar 17, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
Signed-off-by: Abhishek <[email protected]>
vrajeshe pushed a commit to vrajeshe/sonic-mgmt that referenced this pull request Mar 23, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
Signed-off-by: Venkata Gouri Rajesh Etla <[email protected]>
ravaliyel pushed a commit to ravaliyel/sonic-mgmt that referenced this pull request Mar 27, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
selldinesh pushed a commit to selldinesh/sonic-mgmt that referenced this pull request Apr 1, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
Signed-off-by: selldinesh <[email protected]>
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Apr 2, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
Signed-off-by: mssonicbld <[email protected]>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202511: #23588

albertovillarreal-keys pushed a commit to albertovillarreal-keys/sonic-mgmt that referenced this pull request Apr 3, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
mssonicbld added a commit that referenced this pull request Apr 3, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
Signed-off-by: mssonicbld <[email protected]>
Co-authored-by: AkeelAli <[email protected]>
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Apr 13, 2026
What is the motivation for this PR
Support HA testing with link utilities as required by the HA SmartSwitch test plan (module 5 link failures).

How did you do it
Using ACL to simulate link failures (add/remove ACL drop).

How did you verify/test it
Tested DPU-DPU pair traffic drops when link failure is simulated.

Signed-off-by: AkeelAli <[email protected]>
Signed-off-by: opcoder0 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved for 202511 branch Included in 202511 branch Request for 202511 branch Request to backport a change to 202511 branch smartswitch-ha Label for tracking smartswitch HA related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants