Skip to content

Fix issue: copper cable should not display DOM information#318

Merged
prgeor merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:8636-copper
Nov 3, 2022
Merged

Fix issue: copper cable should not display DOM information#318
prgeor merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:8636-copper

Conversation

@Junchao-Mellanox
Copy link
Copy Markdown
Contributor

Description

Fix issue: copper cable should not display DOM information

Motivation and Context

For sff8636 and sff8436 cables, there is no DOM information. Need not read DOM data if cable is copper.

How Has This Been Tested?

Manual test

Additional Information (Optional)

@liat-grozovik
Copy link
Copy Markdown
Collaborator

@Junchao-Mellanox could you please check the coverage report and see what tests can be added to cover touched functions?

@prgeor prgeor self-assigned this Nov 2, 2022
@prgeor prgeor merged commit 2052a63 into sonic-net:master Nov 3, 2022
yxieca pushed a commit that referenced this pull request Nov 10, 2022
* Fix issue: copper cable should not display DOM information

* Improve unit test coverage
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-platform-common that referenced this pull request Oct 25, 2024
- Description
Fixed SfpStateUpdateTask to not crash during port_cfg dynamic add/del event

- Motivation and Context
During port breakout, the subprocess invoked by parent xcvrd is crashing indicated in the log

- How Has This Been Tested?
Apply breakout and check if the subprocess is not crashing

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants