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

Fix issue in xcvrd - If port is missing in Config DB, don't need to handle changes in TRANSCEIVER_INFO table #5

Closed
wants to merge 7 commits into from

Conversation

noaOrMlnx
Copy link
Owner

Description

When port is missing in CONFIG DB, there is no need to enter "on_port_update_event()" function, and update some tables.
In case this code is missing, TRANSCIEVER_INFO table will be updated when switch starts (because cable is connected), and will try to update some other tables in redis.
Since the port does not exist in config Db, tables are not there as well and xcvrd will crash trying to search for them.

How Has This Been Tested?

On a switch with CMIS host mgmt enabled, with missing ports from Config DB.

Additional Information (Optional)

@noaOrMlnx noaOrMlnx force-pushed the port_not_exist_xcvrd_fix branch from aa55410 to 8cdc32f Compare November 3, 2024 13:24
@noaOrMlnx noaOrMlnx force-pushed the port_not_exist_xcvrd_fix branch from aa0135a to 7f9e669 Compare November 7, 2024 09:32
@noaOrMlnx noaOrMlnx closed this Nov 13, 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.

1 participant