sonic-buildimage/device/celestica/x86_64-cel_silverstone-r0/sonic_platform
Joe LeVeque 8011edc307
[platform] Remove references to deprecated get_serial_number() method in Chassis class (#5649)
The `get_serial_number()` method in the ChassisBase and ModuleBase classes was redundant, as the `get_serial()` method is inherited from the DeviceBase class. This method was removed from the base classes in sonic-platform-common and the submodule was updated in https://github.com/Azure/sonic-buildimage/pull/5625.

This PR aligns the existing vendor platform API implementations to remove the `get_serial_number()` methods and ensure the `get_serial()` methods are implemented, if they weren't previously.

Note that this PR does not modify the Dell platform API implementations, as this will be handled as part of https://github.com/Azure/sonic-buildimage/pull/5609
2020-10-17 22:00:14 -07:00
..
__init__.py [platform/device] - Implement Silverstone platform API [Chassis/Fan] (#3706) 2019-11-06 18:56:17 -08:00
chassis.py [platform] Remove references to deprecated get_serial_number() method in Chassis class (#5649) 2020-10-17 22:00:14 -07:00
component.py [device/celestica]: Implement Silverstone platform API [THERMAL/COMPONENT] (#3938) 2020-01-15 18:43:48 -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 [device/celestica]: Implement Silverstone platform API [THERMAL/COMPONENT] (#3938) 2020-01-15 18:43:48 -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
sfp.py [Python] Migrate applications/scripts to import sonic-py-common package (#5043) 2020-08-03 11:43:12 -07:00
thermal.py [device/celestica]: Implement Silverstone platform API [THERMAL/COMPONENT] (#3938) 2020-01-15 18:43:48 -08:00