[QoS]Adding support to read and verify the VOQ counters in LossyQueueTest#11000
[QoS]Adding support to read and verify the VOQ counters in LossyQueueTest#11000yxieca merged 4 commits intosonic-net:masterfrom
Conversation
tests/qos/qos_sai_base.py
Outdated
There was a problem hiding this comment.
Can we add vendor/chip specific check as it system_port may not be applicable for all ?
tests/qos/qos_sai_base.py
Outdated
tests/qos/qos_sai_base.py
Outdated
tests/saitests/py3/sai_qos_tests.py
Outdated
There was a problem hiding this comment.
Please share more info on this logic
There was a problem hiding this comment.
As we discussed, the pg value is set by adding 2 (pg = int(self.test_params['pg']) + 2) in the initialization. Hence reducing 2 here to get the correct voq_index
tests/saitests/py3/switch.py
Outdated
There was a problem hiding this comment.
Why do we need queue1 here ? Can't we work with VoQ id directly ?
There was a problem hiding this comment.
Changed the naming convention to 'counter'. It is just a counter value.
|
@kenneth-arista and @ysmanman for viz.. |
|
@ansrajpu-git please fix conflicts. |
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
@vmittal-msft ,resolved conflicts. |
|
Decided to postpone this PR merge to 202205 branch now, as this introduces new SAI modules. |
|
@ansrajpu-git @vmittal-msft need to cherry-pick to 202311 ?
|
sonic-net#11000 only can handle multi-asic linecards. This fixes the limitation foro single ASIC linecards.
#11000 only can handle multi-asic linecards. This fixes the limitation foro single ASIC linecards.
sonic-net#11000 only can handle multi-asic linecards. This fixes the limitation foro single ASIC linecards.
sonic-net#11000 only can handle multi-asic linecards. This fixes the limitation foro single ASIC linecards.
sonic-net#11000 only can handle multi-asic linecards. This fixes the limitation foro single ASIC linecards.
#11000 only can handle multi-asic linecards. This fixes the limitation foro single ASIC linecards.
sonic-net#11000 only can handle multi-asic linecards. This fixes the limitation
Description of PR
Summary:
Adding support to read and verify the VOQ counters in LossyQueueTest for the dnx platform.
Below are the changes made to achieve this:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
How did you do it?
Below are the changes made to support voq counters in LossyQueueTest:
How did you verify/test it?
Executed the Qos tests
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation