Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thermal control daemon to monitor FAN and thermal status and run thermal policy #49

Merged
merged 24 commits into from
Feb 14, 2020
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ae19c4d
Add thermal control daemon for thermal control feature
Junchao-Mellanox Nov 28, 2019
c177043
Fix issue: error syntx in for loop
Junchao-Mellanox Dec 2, 2019
f44f859
Set fan led according to fan status
Junchao-Mellanox Dec 2, 2019
cd085c9
Fix comments find by code review
Junchao-Mellanox Dec 6, 2019
26c112b
Add thermal policy support
Junchao-Mellanox Dec 12, 2019
619242d
Fix code review comments
Junchao-Mellanox Dec 12, 2019
eced1af
fix typo on logging status change, for abnormal case, it should be wa…
Junchao-Mellanox Dec 12, 2019
e3e6e29
Fix issue found by test
Junchao-Mellanox Dec 13, 2019
bf2c80b
Merge branch 'thermal-control' into thermal-policy
Junchao-Mellanox Dec 13, 2019
5c57207
Fix issue found by manual test
Junchao-Mellanox Dec 16, 2019
c65916d
1.fix issues found during manual test; 2.add unit test for thermalctld
Junchao-Mellanox Dec 18, 2019
1cb5824
Caught exceptions for thermal policy to avoid daemon crash
Junchao-Mellanox Dec 19, 2019
3dfe7e5
1. Fix error calculation of FAN over speed and under speed; 2. Makes …
Junchao-Mellanox Dec 24, 2019
8b638e2
Initialize thermal_manager before use it
Junchao-Mellanox Dec 24, 2019
5219680
Change update log level from info to debug
Junchao-Mellanox Dec 24, 2019
f82e014
add get_high_critical_threshold and get_low_critical_threshold
Junchao-Mellanox Dec 25, 2019
9cb311c
add code to initialize thermal control algorithm
Junchao-Mellanox Dec 26, 2019
15d4fde
fix issue found by pipeline test
Junchao-Mellanox Dec 26, 2019
2bde7c7
Catch all exceptions during status updating
Junchao-Mellanox Jan 9, 2020
f54337c
Record temperature and log warning if it changed too fast
Junchao-Mellanox Jan 9, 2020
698cc20
add new line to EOF
Junchao-Mellanox Feb 1, 2020
2ebc719
fix review comment by joe
Junchao-Mellanox Feb 7, 2020
e513f7c
fix typo in comment
Junchao-Mellanox Feb 7, 2020
f2b39ba
Fix review comment: return default value instead of return None
Junchao-Mellanox Feb 12, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
*/dist/
*/*.tar.gz
*/*.egg-info
*/.cache/
*.pyc
*/__pycache__/
3 changes: 3 additions & 0 deletions sonic-thermalctld/pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pytest]
filterwarnings =
ignore::DeprecationWarning
Loading