sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/s6000/sonic_platform
Arun Saravanan Balachandran 54b284f4b0
[DellEMC]: EEPROM decoder for S6000, S6000-ON (#4718)
**- Why I did it**

For decoding system EEPROM of S6000 based on Dell offset format and S6000-ON’s system EEPROM in ONIE TLV format.

**- How I did it**

- Differentiate between S6000 and S6000-ON using the product name available in ‘dmi’  ( “/sys/class/dmi/id/product_name” )
- For decoding S6000 system EEPROM in Dell offset format and updating the redis DB with the EEPROM contents, added a new class ‘EepromS6000’ in eeprom.py, 
- Renamed certain methods in both Eeprom, EepromS6000 classes to accommodate the plugin-specific methods.

**- How to verify it**

- Use 'decode-syseeprom' command to list the system EEPROM details.
- Wrote a python script to load chassis class and call the appropriate methods.

UT Logs: [S6000_eeprom_logs.txt](https://github.com/Azure/sonic-buildimage/files/4735515/S6000_eeprom_logs.txt), [S6000-ON_eeprom_logs.txt](https://github.com/Azure/sonic-buildimage/files/4735461/S6000-ON_eeprom_logs.txt)
Test script: [eeprom_test_py.txt](https://github.com/Azure/sonic-buildimage/files/4735509/eeprom_test_py.txt)
2020-06-09 09:08:15 -07:00
..
__init__.py DellEMC S6000 : Platform2.0 API implementation [PSU, Thermal] (#3357) 2019-09-18 15:06:42 -07:00
chassis.py [DellEMC]: EEPROM decoder for S6000, S6000-ON (#4718) 2020-06-09 09:08:15 -07:00
component.py DellEMC : Platform2.0 API Implementation for Component [S6000, S6100, Z9100] (#3588) 2019-10-16 17:57:32 -07:00
eeprom.py [DellEMC]: EEPROM decoder for S6000, S6000-ON (#4718) 2020-06-09 09:08:15 -07:00
fan.py [DellEMC]: EEPROM decoder for S6000, S6000-ON (#4718) 2020-06-09 09:08:15 -07:00
platform.py [DELLEMC][S6000] Platform 2.0 Reboot Reason and fixed issue in process-reboot-cause (#3156) 2019-07-24 12:15:46 -07:00
psu.py [DellEMC]: EEPROM decoder for S6000, S6000-ON (#4718) 2020-06-09 09:08:15 -07:00
sfp.py DellEMC:optoe driver support in DellEMC platforms (#3747) 2019-11-14 00:04:11 -08:00
thermal.py DellEMC: Skip thermalctld (S6000, S6100, Z9100 and Z9264) and thermal platform API changes (#4644) 2020-05-27 12:22:55 -07:00