Skip to content

Fixing PR16687 to work for chassis and non-chassis#17169

Merged
arlakshm merged 1 commit intosonic-net:masterfrom
arista-nwolfe:master-chassis-snmp-queue-counters-fix
Feb 26, 2025
Merged

Fixing PR16687 to work for chassis and non-chassis#17169
arlakshm merged 1 commit intosonic-net:masterfrom
arista-nwolfe:master-chassis-snmp-queue-counters-fix

Conversation

@arista-nwolfe
Copy link
Contributor

#16687 recently merged to fix an issue on non-chassis systems but it broke chassis systems as described in #17131

This change will solve the issue originally targeted by #16687
Where 'Ethernet112|6' when split with delimiter "|" the string in 1st index "6" is a substring of "Ethernet68"

By using val == interface it no longer matters if the buffer queue matches up a substring of the interface.

Summary:
Fixes #17131

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@arista-nwolfe
Copy link
Contributor Author

@raaghavendrakra-arista could you take a look at this change as well.

Copy link
Contributor

@Javier-Tan Javier-Tan left a comment

Choose a reason for hiding this comment

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

This LGTM, thanks @arista-nwolfe

@arlakshm for vis

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202405: Azure/sonic-mgmt.msft#118

nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Mar 4, 2025
sonic-net#16687 recently merged to fix an issue on non-chassis systems but it broke chassis systems as described in sonic-net#17131

This change will solve the issue originally targeted by sonic-net#16687
Where 'Ethernet112|6' when split with delimiter "|" the string in 1st index "6" is a substring of "Ethernet68"

By using val == interface it no longer matters if the buffer queue matches up a substring of the interface.

Summary:
Fixes sonic-net#17131
nnelluri-cisco pushed a commit to nnelluri-cisco/sonic-mgmt that referenced this pull request Mar 15, 2025
sonic-net#16687 recently merged to fix an issue on non-chassis systems but it broke chassis systems as described in sonic-net#17131

This change will solve the issue originally targeted by sonic-net#16687
Where 'Ethernet112|6' when split with delimiter "|" the string in 1st index "6" is a substring of "Ethernet68"

By using val == interface it no longer matters if the buffer queue matches up a substring of the interface.

Summary:
Fixes sonic-net#17131
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to msft-202503: Azure/sonic-mgmt.msft#214

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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: test_snmp_queue_counters.py fails with Failed: Buffer Queue list can't be empty if valid interface is selected.

5 participants