Fix parse_portstat to return only port info#7561
Fix parse_portstat to return only port info#7561ysmanman wants to merge 1 commit intosonic-net:masterfrom
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:
|
|
closing this PR as #7537 already fixed the same |
Description of PR
parse_portstatdoes not parse the output ofportstatcorrectly and returns non port info, which fails sonic-mgmt tests #7560. The PR is to fixparse_portstatto only return port info by validating the port name.Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation