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

Don't process CMIS xcvrs on warm-reboot case #494

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bobbymcgonigle
Copy link

Description

When warm-reboot happens xcvrd gets started it treats xcvrs as going through an insertion event. In the case of optics who on insertion event might need to be reprogrammed, it will force the TX off and disable them.

On warm-reboot, we don't want to do this - the xcvrs are already programmed correctly and it will impact dataplane traffic.

Motivation and Context

Interfaces with cmis optics in breakout configurations would stay down after warm-reboot cases in sonic-mgmt test runs.

How Has This Been Tested?

I tested this using a sonic-mgmt warm-reboot case where the optics would stay down and fail entire t0 runs. Those tests now pass and the interfaces stay up.

I also checked the flap counters on the peer for those interfaces - the link stayed up and did not flap - showing warm-reboot succeeded as expected.

Additional Information (Optional)

@bobbymcgonigle
Copy link
Author

Looking into unit test issue

@bobbymcgonigle bobbymcgonigle marked this pull request as draft May 30, 2024 22:18
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.

None yet

1 participant