Skip to content

Updated ECN configuration test to reference the correct WRED profile to AZURE#187

Closed
AharonMalkin wants to merge 1 commit intoAzure:202412from
AharonMalkin:AZURE_fix
Closed

Updated ECN configuration test to reference the correct WRED profile to AZURE#187
AharonMalkin wants to merge 1 commit intoAzure:202412from
AharonMalkin:AZURE_fix

Conversation

@AharonMalkin
Copy link

@AharonMalkin AharonMalkin commented Apr 10, 2025

Description of PR

Summary:
Updated ECN configuration test to reference the correct WRED profile for Azure. Changed path from "AZURE_LOSSLESS" profile to "AZURE" to comply with changes.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

AZURE_LOSSLESS profile is not relevant for specific SKUs and the updated profile is AZURE.

How did you do it?

changed the profile name

How did you verify/test it?

ran the test with the AZURE profile.

Any platform specific information?

sn5600/sn5640 only with specific SKUs.

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

Documentation

@AharonMalkin
Copy link
Author

@r12f please review

@AharonMalkin AharonMalkin changed the title Updated ECN configuration test to reference the correct WRED profile … Updated ECN configuration test to reference the correct WRED profile to AZURE Apr 10, 2025
json_patch = list()
values = list()
ecn_data = duthost.shell('sonic-db-cli CONFIG_DB hgetall "WRED_PROFILE|AZURE_LOSSLESS"')['stdout']
ecn_data = duthost.shell('sonic-db-cli CONFIG_DB hgetall "WRED_PROFILE|AZURE"')['stdout']
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @kperumalbfn , I don't feel this will be the right solution, because we are going to have 3 queues, so this test will not work even with this change. Do you mind to help see how to update this test to support these changes?

Choose a reason for hiding this comment

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

@AharonMalkin This will break existing lossless WRED configs. Could you change this to get the per-queue configs from config-db to validate?

@r12f
Copy link
Contributor

r12f commented Jul 2, 2025

Closing in favor of sonic-net/sonic-mgmt#19246

@r12f r12f closed this Jul 2, 2025
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.

3 participants