-
Notifications
You must be signed in to change notification settings - Fork 691
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
[supervisor][show][interfaces]Fixed show interfaces command shows warning on Supervisor card #1771
Conversation
@judyjoseph @abdosi @minionatwork Please help review or assign the right person to review this PR. Thanks |
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.
is it possible to add a Unit test for this ?
ba7c20e
to
038906b
Compare
Based on the latest master change (the display message has been changed to |
…rvisor card Signed-off-by: mlok <[email protected]>
038906b
to
67d3aad
Compare
@arlakshm @zhangyanzhao I have added the test case and address the comment. Please review this PR. Thanks. |
@arlakshm I have addressed your review comment by adding the UNIT case. Please review the new changes. Thanks |
@arlakshm @minionwork Please help to merge this PR to the main line. Thanks. |
@judyjoseph This PR has been approved, Please help to merge to the main branch. Thanks. |
…g on Supervisor card (#1771) What I did Fixed sonic-net/sonic-buildimage#8521 How I did it Before displaying the warning message, call device_info.is_supervisor() function to check if it is supervisor card, don't display the warning message. How to verify it Running the image on supervisor card Execute the CLI "show interfaces status" No warning should be seen.
What I did
Fixed sonic-net/sonic-buildimage#8521
How I did it
Before displaying the warning message, call device_info.is_supervisor() function to check if it is supervisor card, don't display the warning message.
How to verify it
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)