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

[sfp-refactor] Add initial support for SFF-8436 in sonic_xcvr #215

Merged
merged 8 commits into from
Sep 20, 2021

Conversation

andywongarista
Copy link
Contributor

Description

This PR adds basic support for the SFF-8436 transceiver spec within the new sonic_xcvr package.
It also defines and implements some new helper functions in XcvrApi.

Motivation and Context

See the HLD: sonic-net/SONiC#786

How Has This Been Tested?

Added new unit test under tests/sonic_xcvr
Verified API calls on an Arista platform

Additional Information (Optional)

@lgtm-com
Copy link

lgtm-com bot commented Aug 27, 2021

This pull request introduces 4 alerts when merging 3178734 into a09f5a3 - view on LGTM.com

new alerts:

  • 4 for Duplicate key in dict literal

Copy link
Collaborator

@prgeor prgeor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address review comments.

sonic_platform_base/sonic_xcvr/fields/consts.py Outdated Show resolved Hide resolved
sonic_platform_base/sonic_xcvr/api/public/sff8436.py Outdated Show resolved Hide resolved
sonic_platform_base/sonic_xcvr/api/public/sff8436.py Outdated Show resolved Hide resolved
sonic_platform_base/sonic_xcvr/api/public/sff8436.py Outdated Show resolved Hide resolved
@lgtm-com
Copy link

lgtm-com bot commented Sep 14, 2021

This pull request introduces 4 alerts when merging dbdb276 into a09f5a3 - view on LGTM.com

new alerts:

  • 4 for Duplicate key in dict literal

@prgeor
Copy link
Collaborator

prgeor commented Sep 20, 2021

"/azp run"

@prgeor prgeor merged commit 0fdd198 into sonic-net:master Sep 20, 2021
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-platform-common that referenced this pull request Oct 25, 2024
Due to rare timing issue test_sfp_insert_events failure can fail. Out of 100 iterations, the test failed on 82nd iteration.

Signed-off-by: Prince George <prgeor@microsoft.com>
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