Open patrickmacarthur opened 3 weeks ago
@bmridul and @mlok-nokia can you help check this . does this need sonic change or we should push this into platform implementation.
Just want to higlight that this change has a dependency of this PR mentioned by Author in the PR description: Platform library support change https://github.com/sonic-net/sonic-buildimage/pull/20603 should be merged before this change.
Description
This adds support to the
show platform fans
command to show fans that are on modules.Motivation and Context
In the current Arista chassis model, the chassis fans are returned by
Module.get_all_fans()
as opposed toFanDrawer.get_all_fans()
, which currently thermalctld makes no provision for. This change allows fans that are under the modules to be listed in the command output.How Has This Been Tested?
This has been tested internally on a chassis, and the fan output now includes all fans on the chassis as opposed to just PSU fans:
Additional Information (Optional)
Platform library support change https://github.com/sonic-net/sonic-buildimage/pull/20603 should be merged before this change.