-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
sonic-yang-models: WRED statistics yang #14758
sonic-yang-models: WRED statistics yang #14758
Conversation
* Yang added for WRED_ECN_QUEUE flex counter group * Yang added for WRED_ECN_PORT flex counter group Signed-off-by: [email protected]
e3d296a
to
fbf3b46
Compare
https://github.com/sonic-net/sonic-buildimage/blob/master/dockers/docker-orchagent/enable_counters.py#L41 should also be updated to support WRED counters.
Without update the logic, the WRED counters will be disabled after fast reboot. |
==== |
@lguohan @yxieca @kperumalbfn @donNewtonAlpha , @baxia-lan @Praveen-Brcm can anyone of you help to merge this PR? Thanks. |
* Yang added for WRED_ECN_QUEUE flex counter group * Yang added for WRED_ECN_PORT flex counter group Signed-off-by: [email protected]
Why I did it
Supporting WRED and ECN statistics in SONiC
Work item tracking
How I did it
Added new flex counter groups in yang file
How to verify it
Compiled the sonic.bin and loaded the image to DUT with all the WRED feature changes.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md#flex_counter_table
Dependent Pull Requests:
Sonic-utilities pull request : sonic-net/sonic-utilities#2807
Sonic-sairedis pull request : sonic-net/sonic-sairedis#1234
Sonic-swss : pull request : sonic-net/sonic-swss#2750
Sonic-swss common pull request : sonic-net/sonic-swss-common#777
A picture of a cute animal (not mandatory but encouraged)