sonic-buildimage/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform
Vadym Yashchenko 8e616c153b
[BFN] Refactoring and adding some functions of Thermal class (set and get thresholds and etc.) (#10205)
* Revised set_high_thershold and set_low_thershold methobs in the thermal.py

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised set_low_thershold and set_high_thershold

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Added separated files with thermal thresholds, changed platform.json and
thermal.py

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised on code revieww

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Reverted thermal.py

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised ther python.py

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised due to code review

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Added fucntion for fix the problem of tofino sensor high critical threshold

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised due to code review

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised due to code review

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised due to code review

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised only for cab18-4

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised default thresholds

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised ther def thresholds

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised on code review

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised platform.json and thermal_thresholds.json

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Code review in PR to azure (trigger CI)

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Added handle of exception

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Revised exception handler

* Added psu-1 thermal names to platfrom.json

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Changed platform.json and thermal_thresholds.json in
x86_64-acton_as9516_32d-r0

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>

* Removed indentation from json file

Signed-off-by: Vadym Yashchenko <vadymx.yashchenko@intel.com>
2022-04-05 09:13:08 -07:00
..
bfn_extensions [platform][barefoot] Use urllib.parse.quote (#7010) 2021-03-12 11:52:47 -08:00
pltfm_mgr_rpc [BFN] Regenerated pltfm_mgr_rpc.py to the latest version (#10180) (#10208) 2022-03-11 15:01:27 +05:30
__init__.py [barefoot][platform] Platform API fixups (#5613) 2020-10-14 11:35:36 -07:00
chassis.py [BFN] Implementation API for platform component (#10180) 2022-03-10 16:25:06 +05:30
component.py [BFN] Implementation API for platform component (#10180) 2022-03-10 16:25:06 +05:30
eeprom.py [BFN] Updated platform plugins (#9540) 2022-01-17 11:16:20 +05:30
fan_drawer.py [BFN] Updated platform plugins (#9540) 2022-01-17 11:16:20 +05:30
fan.py [BFN] Updated platform plugins (#9540) 2022-01-17 11:16:20 +05:30
logging.conf BFN platform API 2.0 support (#4766) 2020-10-03 13:46:21 -07:00
platform_thrift_client.py [BFN] Updated platform plugins (#9540) 2022-01-17 11:16:20 +05:30
platform.py BFN platform API 2.0 support (#4766) 2020-10-03 13:46:21 -07:00
psu.py [BFN] Updated platform plugins (#9540) 2022-01-17 11:16:20 +05:30
sfp.py [BFN] Updated platform plugins (#9540) 2022-01-17 11:16:20 +05:30
thermal.py [BFN] Refactoring and adding some functions of Thermal class (set and get thresholds and etc.) (#10205) 2022-04-05 09:13:08 -07:00