Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I did
Implemented the threshold feature orch.
Why I did it
Threshold feature brings in support to configure thresholds on a port's PG/queue's buffer usage stat. When the buffer usage crosses the configured threshold, a breach is generated. This PR brings in the orch changes for the threshold feature.
How I verified it
Pytests in tests/test_threshold.py validate the orch changes.
Details if related
Please refer to sonic-net/SONiC@3962074#diff-8c1cef396dfe5dd465889eb11be4106c for the threshold feature HLD.
Depends upon:
sonic-net/sonic-swss-common#310
sonic-net/sonic-utilities#665
Azure/sonic-tam#12
sonic-net/sonic-buildimage#3501