sonic-buildimage/device/mellanox
Stephen Sun 346b916c0e
[Mellanox] Enhance Python3 support for platform API (#7410) (#7910)
- Why I did it
This is to back-port Azure 7410 to 202012 branch.
Enhance the Python3 support for platform API. Originally, some platform APIs call SDK API which didn't support Python 3. Now the Python 3 APIs have been supported in SDK 4.4.3XXX, Python3 is completely supported by platform API

- How I did it
Start all platform daemons from python3
1. Remove #/usr/bin/env python at the beginning of each platform API file as the platform API won't be started as daemons but be imported from other daemons.
2. Adjust SDK API calls accordingly

Signed-off-by: Stephen Sun <stephens@nvidia.com>
2021-06-18 09:46:41 -07:00
..
x86_64-mlnx_lssn2700-r0 add pcied config files for mellanox platform (#5669) 2020-11-02 19:45:36 -08:00
x86_64-mlnx_msn2010-r0 [Mellanox] [202012] Enhance the platform.json with adding more platform device facts. (#7496) 2021-05-09 10:45:36 +03:00
x86_64-mlnx_msn2100-r0 [Mellanox] [202012] Enhance the platform.json with adding more platform device facts. (#7496) 2021-05-09 10:45:36 +03:00
x86_64-mlnx_msn2410-r0 [Mellanox] [202012] Enhance the platform.json with adding more platform device facts. (#7496) 2021-05-09 10:45:36 +03:00
x86_64-mlnx_msn2700_simx-r0 add pcied config files for mellanox platform (#5669) 2020-11-02 19:45:36 -08:00
x86_64-mlnx_msn2700-r0 [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
x86_64-mlnx_msn2740-r0 [Mellanox] [202012] Enhance the platform.json with adding more platform device facts. (#7496) 2021-05-09 10:45:36 +03:00
x86_64-mlnx_msn3420-r0 [Mellanox] Update the Spectrum-2 platform PSU sensor's label in the sensor conf file (#7706) 2021-05-26 02:41:16 +00:00
x86_64-mlnx_msn3700_simx-r0 add pcied config files for mellanox platform (#5669) 2020-11-02 19:45:36 -08:00
x86_64-mlnx_msn3700-r0 [Mellanox] Update the Spectrum-2 platform PSU sensor's label in the sensor conf file (#7706) 2021-05-26 02:41:16 +00:00
x86_64-mlnx_msn3700c-r0 [Mellanox] Update the Spectrum-2 platform PSU sensor's label in the sensor conf file (#7706) 2021-05-26 02:41:16 +00:00
x86_64-mlnx_msn3800-r0 [Mellanox] Support buffer configuration for 2km cables (#7337) 2021-05-31 04:39:59 +00:00
x86_64-mlnx_msn4410-r0 [Mellanox] [202012] Enhance the platform.json with adding more platform device facts. (#7496) 2021-05-09 10:45:36 +03:00
x86_64-mlnx_msn4600-r0 [Mellanox] Add support for MSN4600 A1 system (#7732) 2021-05-27 22:30:39 +00:00
x86_64-mlnx_msn4600c-r0 [Mellanox] [202012] Enhance the platform.json with adding more platform device facts. (#7496) 2021-05-09 10:45:36 +03:00
x86_64-mlnx_msn4700_simx-r0 add pcied config files for mellanox platform (#5669) 2020-11-02 19:45:36 -08:00
x86_64-mlnx_msn4700-r0 [Mellanox] Support new sensor conf file for MSN4700 A1/A0 (#7535) 2021-05-10 09:21:42 -07:00
x86_64-mlnx_x86-r5.0.1400 [updategraph] add support to use preset config instead of default minigraph (#2050) 2018-09-21 22:01:10 -07:00