-
Notifications
You must be signed in to change notification settings - Fork 650
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
Add all
parameter to show/clear queue watermark
command
#1149
Add all
parameter to show/clear queue watermark
command
#1149
Conversation
Signed-off-by: Petro Bratash <petrox.bratash@intel.com>
@akokhan, please review |
for all new feature, unit tests are required. |
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.
for all new feature, unit tests are required.
Unit tests for this feature were added. |
@neethajohn @lguohan, please review |
09c40a8
to
9b34f77
Compare
Signed-off-by: Petro Bratash <petrox.bratash@intel.com>
23edbd3
to
20ee6b3
Compare
@neethajohn @lguohan, please review and merge |
@bratashX , Is there a PR in swss to handle the clear request for 'Q_SHARED_ALL'.? Otherwise the clear command will result in |
@neethajohn Thanks, related PR in sonic-swss: sonic-net/sonic-swss#1653 |
all
parameter to show queue watermark
commandall
parameter to show/clear queue watermark
command
@lguohan @neethajohn could you please review and merge |
@neethajohn @lguohan could you please merge? Thanks |
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 <petrox.bratash@intel.com>
@neethajohn thanks for merge sonic-net/sonic-swss#1653 |
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 <petrox.bratash@intel.com>
Signed-off-by: Petro Bratash petrox.bratash@intel.com
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
- 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)