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 |
||
---|---|---|
.. | ||
docker-saiserver-brcm | ||
docker-syncd-brcm | ||
docker-syncd-brcm-rpc | ||
saibcm-modules | ||
sonic-platform-modules-accton | ||
sonic-platform-modules-alphanetworks | ||
sonic-platform-modules-arista@7aeb22820e | ||
sonic-platform-modules-brcm-xlr-gts | ||
sonic-platform-modules-cel | ||
sonic-platform-modules-dell | ||
sonic-platform-modules-delta | ||
sonic-platform-modules-ingrasys | ||
sonic-platform-modules-inventec | ||
sonic-platform-modules-juniper | ||
sonic-platform-modules-mitac | ||
sonic-platform-modules-quanta | ||
docker-ptf-brcm.mk | ||
docker-saiserver-brcm.mk | ||
docker-syncd-brcm-rpc.mk | ||
docker-syncd-brcm.mk | ||
libsaithrift-dev.mk | ||
one-aboot.mk | ||
one-image.mk | ||
platform-modules-accton.mk | ||
platform-modules-alphanetworks.mk | ||
platform-modules-arista.mk | ||
platform-modules-brcm-xlr-gts.mk | ||
platform-modules-cel.mk | ||
platform-modules-dell.mk | ||
platform-modules-delta.mk | ||
platform-modules-ingrasys.mk | ||
platform-modules-inventec.mk | ||
platform-modules-juniper.mk | ||
platform-modules-mitac.mk | ||
platform-modules-quanta.mk | ||
platform.conf | ||
raw-image.mk | ||
rules.mk | ||
sai-modules.mk | ||
sai.mk |