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

[Mellanox] Refactor SFP to use new APIs. #10317

Merged
merged 2 commits into from
Mar 23, 2022

Conversation

oleksandrivantsiv
Copy link
Collaborator

Why I did it

Refactor SFP code to remove code duplication and to be able to use the latest features available in new APIs.

How I did it

Refactor SFP code to remove code duplication and to be able to use the latest features available in new APIs.

How to verify it

Run sonic-mgmt/platform_tests/sfp tests

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@lgtm-com
Copy link

lgtm-com bot commented Mar 22, 2022

This pull request introduces 8 alerts and fixes 9 when merging f687a9e into f8e1104 - view on LGTM.com

new alerts:

  • 8 for Unused import

fixed alerts:

  • 7 for Unused local variable
  • 2 for Unreachable code

@prgeor
Copy link
Contributor

prgeor commented Mar 23, 2022

@oleksandrivantsiv please specify which all transceiver types have been tested. Have you tested both DAC and Active cable?

@liat-grozovik liat-grozovik merged commit 9565ef7 into sonic-net:master Mar 23, 2022
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.

4 participants