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] sfplpmset scripts rule out CPU ports to avoid any operation on them #4197

Merged
merged 1 commit into from
Mar 3, 2020
Merged

Conversation

keboliu
Copy link
Collaborator

@keboliu keboliu commented Feb 27, 2020

- What I did
Add logic to rule out all CPU ports to avoid any operation on them, SDK API called in the lpmode set scripts not applicable to them and will cause SDK error log.

- How I did it
Judge the port type to see if it is CPU port, if CPU port then skip it.

- How to verify it
run "sfputil lpmode on/off EthernetX" command to test

- Description for the changelog

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

@liat-grozovik
Copy link
Collaborator

retest this please

@liat-grozovik
Copy link
Collaborator

retest vsimage please

@liat-grozovik liat-grozovik merged commit 7a9c8ee into sonic-net:master Mar 3, 2020
pphuchar pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Mar 9, 2020
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
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.

6 participants