This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform
Joe LeVeque 309a098b21
[201911][Python] Migrate applications/scripts to import sonic-py-common package (#5132)
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 to the 201911 branch in https://github.com/Azure/sonic-buildimage/pull/5063
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 a step toward resolving https://github.com/Azure/sonic-buildimage/issues/4999
2020-08-13 16:35:53 -07:00
..
barefoot [bfn] Updated BFN SDK packages to 20200731 with SAI v1.5.2 (#5082) 2020-08-03 02:12:55 -07:00
broadcom [201911][Python] Migrate applications/scripts to import sonic-py-common package (#5132) 2020-08-13 16:35:53 -07:00
cavium [Monit] Use the string "/usr/bin/syncd\s" to monitor the syncd process (#4706) 2020-06-28 07:29:59 -07:00
centec [Monit] Use the string "/usr/bin/syncd\s" to monitor the syncd process (#4706) 2020-06-28 07:29:59 -07:00
generic [build]: Move Systemd service start to systemd generator (#3172) 2019-07-29 15:52:15 -07:00
innovium [syncd-rpc.mk] install ptf dependancy (#4279) 2020-03-19 22:18:49 -07:00
marvell [Monit] Use the string "/usr/bin/syncd\s" to monitor the syncd process (#4706) 2020-06-28 07:29:59 -07:00
marvell-arm64 [build]: combine feature and container feature table (#5081) 2020-08-09 11:55:40 -07:00
marvell-armhf [build]: combine feature and container feature table (#5081) 2020-08-09 11:55:40 -07:00
mellanox [201911][Python] Migrate applications/scripts to import sonic-py-common package (#5132) 2020-08-13 16:35:53 -07:00
nephos [nephos]: upgrade Nephos SAI version to c749df (#4814) 2020-07-08 06:55:57 -07:00
p4 [sonic-cfggen] Loading the configuration from init_cfg.json and then from config_db.json (#4148) 2020-03-15 08:54:05 -07:00
template [baseimage]: support building multi-asic component (#3856) 2020-02-03 15:32:21 -08:00
vs [sonic-py-common] get_platform(): Refactor method of retrieving platform identifier (#5094) 2020-08-09 10:40:20 -07:00