Needed to uplift the case to Validate the ECN configuration
To avoid assuming lossless PG as 3 and 4
Check for and skip interfaces not having pfc_enable
Summary:
Fixes # (issue)
1) read PORT_QOS_MAP and check for interfaces and pfc_enable configuration
2) Skip verification if pfc_enable is not set
3) Verify for each PG present in pfc_enable and remove assumption of 3 and 4 as lossless PG
Type of change
[ ] Bug fix
[ ] Testbed and Framework(new/improvement)
[x] Test case(new/improvement)
Back port request
[ ] 202012
[ ] 202205
[ ] 202305
[x] 202311
[x] 202405
Approach
What is the motivation for this PR?
the existing script was verifying marking configuration for only lossless 3 and 4.
Uplifted to make it generic by reading the configuration for lossless PGs.
How did you do it?
How did you verify/test it?
Verified it on Cisco box
1) By having interfaces with no PFC configuration
2) Having interfaces with selected PFC configuration
Any platform specific information?
Supported testbed topology if it's a new test case?
Description of PR
Summary:
Needed to uplift the case to Validate the ECN configuration
Summary: Fixes # (issue)
1) read PORT_QOS_MAP and check for interfaces and pfc_enable configuration 2) Skip verification if pfc_enable is not set 3) Verify for each PG present in pfc_enable and remove assumption of 3 and 4 as lossless PG
Type of change
Back port request
Approach
What is the motivation for this PR?
the existing script was verifying marking configuration for only lossless 3 and 4. Uplifted to make it generic by reading the configuration for lossless PGs.
How did you do it?
How did you verify/test it?
Verified it on Cisco box 1) By having interfaces with no PFC configuration 2) Having interfaces with selected PFC configuration
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation