sonic-buildimage/device/celestica/x86_64-cel_silverstone-r0/sonic_platform
Wirut Getbamrung 77b8e74fc0 [platform/device] - Implement Silverstone platform API [PSU] (#3784)
Implement part of the Chassis and Fan related APIs.

Psu APIs

get_voltage()
get_current()
get_power()
get_powergood_status()
set_status_led()
get_status_led()
Update Fan APIs to support PSU FAN

get_direction()
get_speed()
get_target_speed()
get_speed_tolerance()
get_target_speed()
PSU APIs base on Device API

get_name()
get_presence()
get_model()
get_serial()
get_status()

- How I did it

Implement PSU APIs
Update FAN API to support PSU Fans
Add PSU object to Chassis API
2019-12-04 19:00:13 -08:00
..
__init__.py [platform/device] - Implement Silverstone platform API [Chassis/Fan] (#3706) 2019-11-06 18:56:17 -08:00
chassis.py [platform/device] - Implement Silverstone platform API [PSU] (#3784) 2019-12-04 19:00:13 -08:00
eeprom.py [platform/device] - Implement Silverstone platform API [Chassis/Fan] (#3706) 2019-11-06 18:56:17 -08:00
fan.py [platform/device] - Implement Silverstone platform API [PSU] (#3784) 2019-12-04 19:00:13 -08:00
helper.py [platform/device] - Implement Silverstone platform API [Chassis/Fan] (#3706) 2019-11-06 18:56:17 -08:00
platform.py [platform/device] - Implement Silverstone platform API [Chassis/Fan] (#3706) 2019-11-06 18:56:17 -08:00
psu.py [platform/device] - Implement Silverstone platform API [PSU] (#3784) 2019-12-04 19:00:13 -08:00