Skip to content

[202405] Add chassis_db_consistency checker for voq chassis#260

Merged
arlakshm merged 1 commit intoAzure:202405from
arlakshm:dev/arlakshm/check_lag
Dec 4, 2025
Merged

[202405] Add chassis_db_consistency checker for voq chassis#260
arlakshm merged 1 commit intoAzure:202405from
arlakshm:dev/arlakshm/check_lag

Conversation

@arlakshm
Copy link
Copy Markdown
Contributor

@arlakshm arlakshm commented Dec 4, 2025

What I did

This PR introduces a new monitoring script to check synchronization of LAG (Link Aggregation Group) IDs between the chassis database and ASIC databases on VOQ chassis line cards. The script is designed to be run by Monit and will alert via syslog when mismatches are detected.
port sonic-net/sonic-utilities#4082 to 202405

How I did it

Key Changes
Added chassis_lag_id_checker script that retrieves and compares LAG IDs from chassis_db and asic_db, reporting mismatches per ASIC namespace
Comprehensive test suite with fixtures for mocking Redis dumps and ASIC/device configurations
Integration into setup.py for proper installation

How to verify it

test on voq chassis and UT

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)

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
@arlakshm arlakshm merged commit e048ca6 into Azure:202405 Dec 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants