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

[thermalctld] Fix fan status issue in 201911 #96

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

Junchao-Mellanox
Copy link
Collaborator

Why I did this?

Previous PR #92 has been merged to 201911. The previous fix used a method FanStatus.is_ok, however, the implementation of this method is different between master and 201911. So we need an extra enhance for this issue.

How I did this?

fan status should be true only if FanStatus.is_ok() and fan_status is true.

How I verify this?

By manual test and regression test.

@jleveque jleveque merged commit f63cecc into sonic-net:201911 Sep 25, 2020
@Junchao-Mellanox Junchao-Mellanox deleted the fix-fan-status-201911 branch September 25, 2020 01:50
vdahiya12 pushed a commit to vdahiya12/sonic-platform-daemons that referenced this pull request Apr 4, 2022
…fpUtilBase (sonic-net#96)

The SfpUtil interface used in xcvrd expects get_physical_to_logical to return None in the case of unknown port:
https://github.com/Azure/sonic-platform-daemons/blob/master/sonic-xcvrd/scripts/xcvrd#L906

Note SfpUtilBase implementation already conforms the interface in xcvrd:
https://github.com/Azure/sonic-platform-common/blob/master/sonic_platform_base/sonic_sfp/sfputilbase.py#L603

Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
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.

3 participants