sonic-buildimage/device/mellanox
Stephen Sun 80d01f2f9a
[Mellanox] Enhance Python3 support for platform API (#7410)
- Why I did it
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

- How to verify it
Manually test and run regression platform test

Signed-off-by: Stephen Sun <stephens@nvidia.com>
2021-06-15 17:57:48 +03: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] Enhance the platform.json with adding more platform device facts. (#7495) 2021-05-03 12:22:13 -07:00
x86_64-mlnx_msn2100-r0 [Mellanox] Enhance the platform.json with adding more platform device facts. (#7495) 2021-05-03 12:22:13 -07:00
x86_64-mlnx_msn2410-r0 [Mellanox] Align PSU fan name in platform.json with latest change in PR #7490 (#7557) 2021-05-07 09:42:40 -07: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) 2021-06-15 17:57:48 +03:00
x86_64-mlnx_msn2740-r0 [Mellanox] Align PSU fan name in platform.json with latest change in PR #7490 (#7557) 2021-05-07 09:42:40 -07:00
x86_64-mlnx_msn3420-r0 [Mellanox] Update the Spectrum-2 platform PSU sensor's label in the sensor conf file (#7706) 2021-05-25 10:41:53 -07: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-25 10:41:53 -07:00
x86_64-mlnx_msn3700c-r0 [Mellanox] Update the Spectrum-2 platform PSU sensor's label in the sensor conf file (#7706) 2021-05-25 10:41:53 -07:00
x86_64-mlnx_msn3800-r0 [Mellanox] Support buffer configuration for 2km cables (#7337) 2021-05-30 20:07:10 -07:00
x86_64-mlnx_msn4410-r0 [Mellanox] Align PSU fan name in platform.json with latest change in PR #7490 (#7557) 2021-05-07 09:42:40 -07:00
x86_64-mlnx_msn4600-r0 [Mellanox] Add support for MSN4600 A1 system (#7732) 2021-05-27 09:52:45 -07:00
x86_64-mlnx_msn4600c-r0 [Mellanox] Align PSU fan name in platform.json with latest change in PR #7490 (#7557) 2021-05-07 09:42:40 -07: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] Align PSU fan name in platform.json with latest change in PR #7490 (#7557) 2021-05-07 09:42:40 -07:00
x86_64-mlnx_msn4800_simx-r0 [Mellanox] Add initial support for SN4800 for simulation device (#7448) 2021-05-18 09:34:33 -07:00
x86_64-mlnx_msn4800-r0 [Mellanox] Add initial support for SN4800 platform (#7447) 2021-05-12 22:21:04 +03: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