Skip to content

Test Scripts for Link damping feature - #25262

Open
munch3 wants to merge 5 commits into
sonic-net:masterfrom
munch3:feature/link-dampening
Open

Test Scripts for Link damping feature#25262
munch3 wants to merge 5 commits into
sonic-net:masterfrom
munch3:feature/link-dampening

Conversation

@munch3

@munch3 munch3 commented Jun 10, 2026

Copy link
Copy Markdown

Description of PR

New feature Link event damping documented in HLD #1071 is implemented. This script is to test the feature.
Test plan is documented in #24098

Summary:
Generated test cases from the HLD for the feature and implemented scripts for the test cases.

Type of change

This is an enhancement fix. All scripts are generated for the test cases listed in test plan,

  • New test cases

Back port request

  • 202605

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Verified by running the test scripts on the test bed and verified the test scripts are working fine and all the test cases are executed and verified successfully.

Any platform specific information?

None

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

Documentation

HLD: sonic-net/SONiC#1071
Test plan: #24098

Test logs:
log28.txt

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 10, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Comment thread tests/link_dampening/conftest.py Fixed
Comment thread tests/link_dampening/link_event_damping_utils.py Fixed
Comment thread tests/link_dampening/link_event_damping_utils.py Fixed
Comment thread tests/link_dampening/link_event_damping_utils.py Fixed
Comment thread tests/link_dampening/link_event_damping_utils.py Fixed
Comment thread tests/link_dampening/test_link_event_damping.py Fixed
Comment thread tests/link_dampening/test_link_event_damping.py Fixed
Comment thread tests/link_dampening/test_link_event_damping.py Fixed
Comment thread tests/link_dampening/test_link_event_damping.py Fixed
# Helper Functions
# ============================================================================

def get_test_interface(dut):

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

implicit return None is fine when there is no interfaces listed. So keeping this intact

@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Muneer Cheruvangot House <mccheruvangot@juniper.net>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

    Signed-off-by: Muneer CH <mcheruvangot@juniper.net>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Muneer CH <mcheruvangot@juniper.net>
@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

Hi, there are workflow run(s) waiting for approval, you may be first-time contributor. I will notify maintainers to help approve once PR is approved. Thanks!

---Powered by SONiC BuildBot

@prsunny prsunny changed the title scripts for link dampening feature Test Scripts for Link damping feature Jul 6, 2026
@prsunny

prsunny commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

@munch3 , could you rename "dampening" to "damping" as referenced in HLD?

@prsunny

prsunny commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Could you check on the PR checker failures?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants