-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] Enhancement for fan led management #4437
Conversation
This pull request fixes 4 alerts when merging ae23ba9 into 6df0e4b - view on LGTM.com fixed alerts:
|
@Junchao-Mellanox: It looks like the breaks the Mellanox build. Can you please check? |
Depends on sonic-net/sonic-platform-common#83 |
@@ -29,6 +28,7 @@ | |||
MLNX_NUM_PSU = 2 | |||
|
|||
GET_HWSKU_CMD = "sonic-cfggen -d -v DEVICE_METADATA.localhost.hwsku" | |||
GET_PLATFORM_CMD = "sonic-cfggen -d -v DEVICE_METADATA.localhost.platform" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Junchao-Mellanox why not to use from sonic_device_util import get_machine_info
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! I didn't notice that there is such a convinient utilitiy class. Will change soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Conflicts: platform/mellanox/mlnx-platform-api/sonic_platform/chassis.py platform/mellanox/mlnx-platform-api/sonic_platform/device_data.py platform/mellanox/mlnx-platform-api/sonic_platform/fan.py platform/mellanox/mlnx-platform-api/sonic_platform/psu.py platform/mellanox/mlnx-platform-api/tests/mock_platform.py
retest this please |
Please fix conflicts |
This pull request fixes 4 alerts when merging 81a83c3 into fd953a4 - view on LGTM.com fixed alerts:
|
This pull request fixes 4 alerts when merging 75a1d08 into 286aa35 - view on LGTM.com fixed alerts:
|
Retest vsimage please |
Retest vsimage please |
1 similar comment
Retest vsimage please |
- What I did
- How I did it
- How to verify it
Manually test, regression is on going
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)