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

[Feature] Add YANG Model for DEBUG_DROP_MONITOR #21675

Open
8 tasks
arista-hpandya opened this issue Feb 8, 2025 · 0 comments · May be fixed by #21694
Open
8 tasks

[Feature] Add YANG Model for DEBUG_DROP_MONITOR #21675

arista-hpandya opened this issue Feb 8, 2025 · 0 comments · May be fixed by #21694
Labels
Triaged this issue has been triaged

Comments

@arista-hpandya
Copy link

Description:

This issue tracks the creation and implementation of the YANG model required to support the persistent drop monitor feature in SONiC. This model will define the schema for DEBUG_DROP_MONITOR table.

Tasks:

  • Define the YANG model structure for the persistent drop monitor configuration. This includes defining the following parameters:
    • Status (enabled/disabled toggle)
    • Window size (sliding time window in seconds)
    • Drop count threshold (minimum drops per window for an incident)
    • Incident count threshold (minimum incidents to trigger a syslog entry)
  • Ensure the new YANG model is compatible with the existing CONFIG_DB schema and does not introduce conflicts.
  • Write unit tests for the new YANG model.
  • Update relevant documentation to reflect the new YANG model definition.

Background:

The persistent drop monitor feature allows for the configuration of thresholds to detect sustained drop patterns in SONiC drop counters. A corresponding YANG model is needed to represent these configurations in the CONFIG_DB, which acts as the communication channel between the CLI and orchagents. This YANG model will define the structure and validation rules for the configurable parameters.

References:

@arista-hpandya arista-hpandya changed the title [Feature] Implement YANG Model for DEBUG_DROP_MONITOR [Feature] Add YANG Model for DEBUG_DROP_MONITOR Feb 10, 2025
@bingwang-ms bingwang-ms added the Triaged this issue has been triaged label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged this issue has been triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants