-
Notifications
You must be signed in to change notification settings - Fork 547
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
Handle the clear request for 'Q_SHARED_ALL' #1653
Conversation
Signed-off-by: Petro Bratash <[email protected]>
@akokhan @neethajohn, please review |
Please add unit tests. Refer tests/test_watermark.py |
6b9dd94
to
5e0c4af
Compare
@neethajohn Unit test was added, but test-related on sonic-net/sonic-utilities#1149, and will pass after merge this PR. |
@neethajohn, could you please review |
@neethajohn @lguohan could you please merge? Thanks |
Signed-off-by: Petro Bratash [email protected] Depends on sonic-net/sonic-swss#1653 - What I did Add new commands : show queue persistent-watermark all show queue watermark all sonic-clear queue watermark all sonic-clear queue persistent-watermark all - How I did it Add q_shared_all type to watermarkstat file - How to verify it Execute: show queue persistent-watermark all show queue watermark all sonic-clear queue watermark all sonic-clear queue persistent-watermark all
What I did Add handling the clear request for 'Q_SHARED_ALL' Why I did it In sonic-net/sonic-utilities#1149 added the following new commands sonic-clear queue persistent-watermark all sonic-clear queue watermark all Without these changes, commands will result in https://github.com/Azure/sonic-swss/blob/master/orchagent/watermarkorch.cpp#L221 Signed-off-by: Petro Bratash <[email protected]>
…nic-net#1653) Fixed issue when VNET route check detects some routes as missed they are really configured. Signed-off-by: Volodymyr Samotiy <[email protected]>
Signed-off-by: Petro Bratash [email protected] Depends on sonic-net/sonic-swss#1653 - What I did Add new commands : show queue persistent-watermark all show queue watermark all sonic-clear queue watermark all sonic-clear queue persistent-watermark all - How I did it Add q_shared_all type to watermarkstat file - How to verify it Execute: show queue persistent-watermark all show queue watermark all sonic-clear queue watermark all sonic-clear queue persistent-watermark all
Signed-off-by: Petro Bratash [email protected]
What I did
Add handling the clear request for 'Q_SHARED_ALL'
Why I did it
On this PR added new commands :
Without these changes, commands will result in
https://github.com/Azure/sonic-swss/blob/master/orchagent/watermarkorch.cpp#L221
How I verified it
Run:
Details if related
PR in sonic-utilities: sonic-net/sonic-utilities#1149