[voq] [chassis] Bug fixes to get iface_namingmode tests to work on multi-asic linecards of a T2 chassis#6528
Conversation
|
The pre-commit check detected issues in the files touched by this pull request. For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
SuvarnaMeenakshi
left a comment
There was a problem hiding this comment.
Please modify as per comments.
|
@sanmalho-git Can you please check Suvarna comments ? |
|
I will close this PR once the sonic-utilities PR is merged into 202205 |
@sanmalho-git - which sonic-utilities PR is being referred to here? Is this PR still needed? Thanks. |
|
@rlhui sonic-net/sonic-utilities#2525 is the sonic-utilities PR that is required if we want to close this PR |
…s of a T2 chassis
- Treat Inband and Recycle ports on a VoQ chassis as internal ports
Since the inband and recycle ports do not show up in 'show' commands
unless we specify '-d all' option, they should be treated similar to internal ports.
This fixes iface_namingmode::test_show_pfc_counters test case
071bdae to
46bae1b
Compare
|
The pre-commit check detected issues in the files touched by this pull request. For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…s of a T2 chassis (#6528) What is the motivation for this PR? Currently, the following test isfailing on multi-asic linecards on a T2 VoQ chassis. show pfc counters: This fails as the Inband and Recycle ports show in the 'show pfc counters' table while they are not expected. How did you do it? show pfc counters: Treat Inband and Recycle ports on a VoQ chassis as internal ports. Since the inband and recycle ports do not show up in 'show' commands unless we specify '-d all' option, they should be treated similar to internal ports. How did you verify/test it? Ran the test against a multi-asic linecard in a T2 VoQ chassis.
…s of a T2 chassis (sonic-net#6528) What is the motivation for this PR? Currently, the following test isfailing on multi-asic linecards on a T2 VoQ chassis. show pfc counters: This fails as the Inband and Recycle ports show in the 'show pfc counters' table while they are not expected. How did you do it? show pfc counters: Treat Inband and Recycle ports on a VoQ chassis as internal ports. Since the inband and recycle ports do not show up in 'show' commands unless we specify '-d all' option, they should be treated similar to internal ports. How did you verify/test it? Ran the test against a multi-asic linecard in a T2 VoQ chassis.
…s of a T2 chassis (sonic-net#6528) What is the motivation for this PR? Currently, the following test isfailing on multi-asic linecards on a T2 VoQ chassis. show pfc counters: This fails as the Inband and Recycle ports show in the 'show pfc counters' table while they are not expected. How did you do it? show pfc counters: Treat Inband and Recycle ports on a VoQ chassis as internal ports. Since the inband and recycle ports do not show up in 'show' commands unless we specify '-d all' option, they should be treated similar to internal ports. How did you verify/test it? Ran the test against a multi-asic linecard in a T2 VoQ chassis.
Description of PR
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Currently, the following test isfailing on multi-asic linecards on a T2 VoQ chassis.
How did you do it?
How did you verify/test it?
Ran the test against a multi-asic linecard in a T2 VoQ chassis.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation