-
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
Control fans and sensors by BMC #633
Comments
you mention "BMC to manage fans and sensors", since BMC already does that, what do you need SONiC to do with the fans and sensors? As you mention IPMI, SONiC can also use IPMI to retrieve information from BMC. |
Hi @lguohan |
I think fancontrol is not needed in SONiC as it is already handled outside in BMC. |
As I say, BMC manage fans, sensors, eeproms of sfp in our board. |
Hi @YaoTien. The new SONiC platform API is now available here. https://github.com/Azure/sonic-platform-common/tree/master/sonic_platform_base. We will soon be transitioning all daemons and CLI to interact with platform hardware using this API. You should implement the API for your platform to communicate with your BMC. The "show environment" command will eventually display sensor data by calling functions in the new platform API. |
Submodule src/sonic-sairedis 4ee82cb..1cf2eea: > Add acl counter match logic based on acl entry field (sonic-net#511) > Add specific comparison logic for ACL counter (sonic-net#484) Submodule src/sonic-swss 46bc1f4..660530e: > Fix VLAN error introduced with new 4.9 kernel behavior (sonic-net#1001) > Warmboot Vlan neigh restore fix (sonic-net#1040) Submodule src/sonic-utilities 11b4cf1..f76fc2c: > [warm reboot] Skip ASIC config pre-check if current image does not support it (sonic-net#637) > [FastReboot]: Send SIGINT to all teamd before stop (sonic-net#633) > [warm/fast reboot] provide strict option to prevent warm reboot under certain conditions (sonic-net#631) Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Submodule src/sonic-sairedis 4ee82cb..1cf2eea: > Add acl counter match logic based on acl entry field (#511) > Add specific comparison logic for ACL counter (#484) Submodule src/sonic-swss 46bc1f4..660530e: > Fix VLAN error introduced with new 4.9 kernel behavior (#1001) > Warmboot Vlan neigh restore fix (#1040) Submodule src/sonic-utilities 11b4cf1..f76fc2c: > [warm reboot] Skip ASIC config pre-check if current image does not support it (#637) > [FastReboot]: Send SIGINT to all teamd before stop (#633) > [warm/fast reboot] provide strict option to prevent warm reboot under certain conditions (#631) Signed-off-by: Ying Xie <ying.xie@microsoft.com>
* [FastReboot]: Send SIGINT to all teamd before stop * exit code == 1 is valid for pkill * Check that all teamd are stopped before to kill the container
Submodule src/sonic-utilities fe2c656..afaedb7: > Revert "[FastReboot]: Send SIGINT to all teamd before stop (sonic-net#633)" (sonic-net#650) > Fixed config Asym PFC CLI. (sonic-net#632) > [config] Do no stop or restart dependent services (sonic-net#582) Signed-off-by: Ying Xie <ying.xie@microsoft.com>
@YaoTien: Since you haven't responded to my previous comment, I am assuming the new platform API will suffice. Please feel free to reopen this or open a new issue if need be. |
Updated sonic-sairedis pointer: d54bfb4 [SAI] update pointer (sonic-net#636) 1885a8c [syncd] Fix notification on shutdown request (sonic-net#635) 9e57ba2 Fixing hostif For Genetlink host interfaces (sonic-net#633) 449a092 sonic-sairedis: Add support to sonic-sairedis for gearbox phys (sonic-net#632) Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
Upgrade to libsensors5 Updated sonic-sairedis pointer: d54bfb4 [SAI] update pointer (#636) 1885a8c [syncd] Fix notification on shutdown request (#635) 9e57ba2 Fixing hostif For Genetlink host interfaces (#633) 449a092 sonic-sairedis: Add support to sonic-sairedis for gearbox phys (#632) Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
Co-authored-by: dgsudharsan <sudharsan_gopalarat@dell.com>
…#633)" (sonic-net#650) This reverts commit 7cf821c.
Hi,
I would like to porting fans and sensors for our device, and had been study the porting guide.
As the guide, it looks like fans and sensors be manage by CPU.
However, our device adopt BMC to manage fans and sensors, and commucate to system through IPMI.
As BMC case, SONiC how to control fans and sensors?
Can the porting guide be used on BMC case?
Thanks for your response.
The text was updated successfully, but these errors were encountered: