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

Delete TRSNCEIVER tables while config reload #15

Closed
wants to merge 3 commits into from

Conversation

noaOrMlnx
Copy link
Owner

What I did

Removed TRANSCEIVER tables while config reload is executed.
This code adds the option to reserve TRANSCEIVER_INFO table if xcvrd is being restarted. - https://github.com/sonic-net/sonic-platform-daemons/blob/0cb36447ebfda390d999df6516beac4c17315a7b/sonic-xcvrd/xcvrd/xcvrd.py#L2199

The fix introduced here comes to fix the issue that the table remains also after config reload, which may cause config DB and TRANSCEIVER_INFO table have different ports keys.

How I did it

How to verify it

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)

@noaOrMlnx noaOrMlnx force-pushed the delete_transceiver_tables_reload branch from bf9c8f5 to a1f0a12 Compare November 17, 2024 07:08
@noaOrMlnx noaOrMlnx force-pushed the delete_transceiver_tables_reload branch from a1f0a12 to 3d147f1 Compare November 17, 2024 12:36
@noaOrMlnx noaOrMlnx force-pushed the delete_transceiver_tables_reload branch from 29b35e8 to 3b8bc5e Compare December 3, 2024 08:54
@noaOrMlnx noaOrMlnx closed this Dec 16, 2024
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