sonic-buildimage/device/celestica/x86_64-cel_seastone-r0
Joe LeVeque 3b89e5d467
[Python] Migrate applications/scripts to import sonic-py-common package (#5043)
As part of consolidating all common Python-based functionality into the new sonic-py-common package, this pull request:
1. Redirects all Python applications/scripts in sonic-buildimage repo which previously imported sonic_device_util or sonic_daemon_base to instead import sonic-py-common, which was added in https://github.com/Azure/sonic-buildimage/pull/5003
2. Replaces all calls to `sonic_device_util.get_platform_info()` to instead call `sonic_py_common.get_platform()` and removes any calls to `sonic_device_util.get_machine_info()` which are no longer necessary (i.e., those which were only used to pass the results to `sonic_device_util.get_platform_info()`.
3. Removes unused imports to the now-deprecated sonic-daemon-base package and sonic_device_util.py module

This is the next step toward resolving https://github.com/Azure/sonic-buildimage/issues/4999

Also reverted my previous change in which device_info.get_platform() would first try obtaining the platform ID string from Config DB and fall back to gathering it from machine.conf upon failure because this function is called by sonic-cfggen before the data is in the DB, in which case, the db_connect() call will hang indefinitely, which was not the behavior I expected. As of now, the function will always reference machine.conf.
2020-08-03 11:43:12 -07:00
..
Celestica-DX010-C32 [qos]: Alpha and ECN settings change for Th (#4564) 2020-05-09 11:21:18 -07:00
Celestica-DX010-D48C8 [qos]: Alpha and ECN settings change for Th (#4564) 2020-05-09 11:21:18 -07:00
led-code [Celestica]: Update port led code for seastone-xp (#2476) 2019-01-23 18:44:19 -08:00
plugins add PCIe config file (#4724) 2020-06-25 15:02:21 -07:00
Seastone-DX010 [Feature: DynamicPortBreakout] Use consolidated bcm file for Seastone platform (#3240) 2019-08-07 10:59:54 -07:00
Seastone-DX010-10-50 [Feature: DynamicPortBreakout] Use consolidated bcm file for Seastone platform (#3240) 2019-08-07 10:59:54 -07:00
Seastone-DX010-25-50 [Feature: DynamicPortBreakout] Use consolidated bcm file for Seastone platform (#3240) 2019-08-07 10:59:54 -07:00
Seastone-DX010-50 [Feature: DynamicPortBreakout] Use consolidated bcm file for Seastone platform (#3240) 2019-08-07 10:59:54 -07:00
Seastone-DX010-50-40 [Feature: DynamicPortBreakout] Use consolidated bcm file for Seastone platform (#3240) 2019-08-07 10:59:54 -07:00
Seastone-DX010-50-50-40 [Seastone] Add new HWSKU for 48x50G+8x40G (#4156) 2020-04-04 22:52:34 -07:00
sonic_platform [Python] Migrate applications/scripts to import sonic-py-common package (#5043) 2020-08-03 11:43:12 -07:00
default_sku [updategraph] add support to use preset config instead of default minigraph (#2050) 2018-09-21 22:01:10 -07:00
fancontrol-B2F [platform-celestica]: Update fancontrol service for Seastone-DX010 device (#3690) 2019-12-16 09:04:42 -08:00
fancontrol-F2B [platform-celestica]: Update fancontrol service for Seastone-DX010 device (#3690) 2019-12-16 09:04:42 -08:00
installer.conf [device/celestica] seastone add gpio_ich driver module blacklist (#2691) 2019-03-25 15:49:35 -07:00
led_proc_init.soc Replace CRLF line endings with LF (#932) 2017-09-01 15:28:46 -07:00
pmon_daemon_control.json [device/celestica]: Fix xcvrd error (#3979) 2020-01-10 12:50:51 -08:00
sensors.conf [device/celestica]: Implement thermal base API based on the new platform API (#3220) 2019-08-05 09:01:50 -07:00
th-seastone-dx010-config-flex-all.bcm [Feature: DynamicPortBreakout] Use consolidated bcm file for Seastone platform (#3240) 2019-08-07 10:59:54 -07:00