Skip to content
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

Fixes the issue with show interface counters and for pfc and queue counters. #1180

Merged
merged 2 commits into from
Oct 20, 2020

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Oct 17, 2020

Why I did:
Fix the issues as define sonic-net/sonic-buildimage#5655

How I did:
For Issue 1 : Updated to pass port_speed in ns_util

For Issue 2: Updated ns_diff to return new_value if valid and old_value is not valid.

How I Verify:

For Issue 2:
Manual Verification
After doing sonic-clear during init
show interface counters were fine.

jleveque
jleveque previously approved these changes Oct 17, 2020
@abdosi
Copy link
Contributor Author

abdosi commented Oct 18, 2020

retest this please

@abdosi abdosi changed the title Fixes the issue with show interface counters Fixes the issue with show interface counters and for pfc and queue counters. Oct 19, 2020
@abdosi
Copy link
Contributor Author

abdosi commented Oct 19, 2020

@jleveque Can you review again. I had to update for PR for two more changes:

a) Fix the Unit-test failure
b) Fix the issue#2 for queuestat and pfcstat as they were using local definition of ns_diff instead from netstat library.

@abdosi abdosi merged commit 13bd06b into sonic-net:master Oct 20, 2020
@abdosi abdosi deleted the portstat_fix branch October 20, 2020 01:37
abdosi added a commit that referenced this pull request Oct 21, 2020
…unters. (#1180)

* Fix for Issue: sonic-net/sonic-buildimage#5655

Signed-off-by: Abhishek Dosi <[email protected]>

* Updated the the fix for pfc/queue counters also.

Signed-off-by: Abhishek Dosi <[email protected]>
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
Fixes the issue with show interface counters and for pfc and queue
counters. (sonic-net#1180)

Signed-off-by: Abhishek Dosi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants