sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/s6100/sonic_platform
Arun Saravanan Balachandran fa89c6dd8f
DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementation and fixes (#6438)
**- Why I did it**

To incorporate the below changes in DellEMC S6100, S6000 platforms.

- S6100, S6000:
    - Enable 'thermalctld'
    - Implement DeviceBase methods (presence, status, model, serial) for Fantray and Component
    - Implement ‘get_position_in_parent’, ‘is_replaceable’ methods for all device types
    - Implement ‘get_status’ method for Fantray
    - Implement ‘get_temperature’, ‘get_temperature_high_threshold’, ‘get_voltage_high_threshold’, ‘get_voltage_low_threshold’ methods for PSU
    - Implement ‘get_status_led’, ‘set_status_led’ methods for Chassis
    - SFP:
        - Make EEPROM read both Python2 and Python3 compatible
        - Fix ‘get_tx_disable_channel’ method’s return type
        - Implement ‘tx_disable’, ‘tx_disable_channel’ and ‘set_power_override’ methods
- S6000:
    - Move PSU thermal sensors from Chassis to respective PSU
    - Make available the data of both Fans present in each Fantray


**- How I did it**

- Remove 'skip_thermalctld:true' in pmon_daemon_control.json
- Implement the platform API methods in the respective device files
- Use `bytearray` for data read from transceiver EEPROM 
- Change return type of 'get_tx_disable_channel' to match specification in sonic_platform_common/sfp_base.py
2021-02-05 12:30:08 -08:00
..
__init__.py [DellEMC]: FanDrawer and get_high_critical_threshold Platform API implementation for S6000, S6100, Z9100 and Z9264F (#5673) 2020-10-29 18:05:16 -07:00
chassis.py DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementation and fixes (#6438) 2021-02-05 12:30:08 -08:00
component.py DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementation and fixes (#6438) 2021-02-05 12:30:08 -08:00
eeprom.py [DellEMC]: S6100, S6000 - Platform API fixes (#6073) 2020-12-01 10:43:41 -08:00
fan_drawer.py DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementation and fixes (#6438) 2021-02-05 12:30:08 -08:00
fan.py DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementation and fixes (#6438) 2021-02-05 12:30:08 -08:00
module.py DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementation and fixes (#6438) 2021-02-05 12:30:08 -08:00
platform.py [DellEMC]: S6100, S6000 - Platform API fixes (#6073) 2020-12-01 10:43:41 -08:00
psu.py DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementation and fixes (#6438) 2021-02-05 12:30:08 -08:00
sfp.py DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementation and fixes (#6438) 2021-02-05 12:30:08 -08:00
thermal.py DellEMC: S6100, S6000 - Enable thermalctld, Platform API implementation and fixes (#6438) 2021-02-05 12:30:08 -08:00
watchdog.py [DellEMC]: S6100, S6000 - Platform API fixes (#6073) 2020-12-01 10:43:41 -08:00