-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[voq] [chassis] Bug fixes to get iface_namingmode tests to work on multi-asic linecards of a T2 chassis #6528
[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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
/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