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 |
|