Open ansrajpu-git opened 1 week ago
The pre-commit check detected issues in the files touched by this pull request. The pre-commit check is a mandatory check, please fix detected issues.
Detailed pre-commit check results:
trim trailing whitespace.................................................PassedTo run the pre-commit checks locally, you can follow below steps:
pre-commit
package is installed:
sudo pip install pre-commit
pre-commit install
pre-commit
pre-commit run --from-ref <commit_id> --to-ref <commit_id>
Description of PR
SAI_PORT_STAT_IN/OUT_DROPPED_PKTS is not supported for DNX. #CS00012344046 Added a check in sonic-mgmt qos test for dnx , not to query this counter.
Summary: Fixes # (issue)
Type of change
Back port request
Approach
The sai-thrift_read_port_counters function will update the list for dnx and then read the counters.
What is the motivation for this PR?
How did you do it?
The sai-thrift_read_port_counters function will update the list for dnx and then read the counters. The test cases are updated accordingly in sai_qos_tests.py
How did you verify/test it?
Executed the qos test and verify the counters are read correctly.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation