Skip to content

[Mellanox] SFP new platform API implementation#2944

Merged
liat-grozovik merged 2 commits intosonic-net:masterfrom
keboliu:sfp-new-api
May 29, 2019
Merged

[Mellanox] SFP new platform API implementation#2944
liat-grozovik merged 2 commits intosonic-net:masterfrom
keboliu:sfp-new-api

Conversation

@keboliu
Copy link
Copy Markdown
Collaborator

@keboliu keboliu commented May 24, 2019

- What I did
Implement the new SFP API for Mellanox platform.
the Setting APIs not finished yet, design ongoing, will be implemented in phase 2,
some get function for channel disable status, lpmode status and power override status not implemented,
will implement them after the set functions finalized.

This PR has a dependency on #2943, can only be merged after PR 2943

- How I did it
Add new file sfp.py for SFP new API, make use of ethtool.
Add code to chassis.py to initialize SFPs

- How to verify it
need a specific script to call these APIs

- Description for the changelog

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

@liat-grozovik liat-grozovik merged commit 89ee636 into sonic-net:master May 29, 2019
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