Skip to content

Commit 0a70571

Browse files
[201911][thermal control] Backport feature from master branch (#4677)
Backport thermal control feature from master branch to 201911 branch by cherry-picking commits and manually resolving conflicts.
1 parent b5a419e commit 0a70571

File tree

50 files changed

+2193
-107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2193
-107
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn2700-r0/thermal_policy.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn2700-r0/thermal_policy.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn2700-r0/thermal_policy.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn2700-r0/thermal_policy.json
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"thermal_control_algorithm": {
3+
"run_at_boot_up": "true",
4+
"fan_speed_when_suspend": "60"
5+
},
6+
"info_types": [
7+
{
8+
"type": "fan_info"
9+
},
10+
{
11+
"type": "psu_info"
12+
},
13+
{
14+
"type": "chassis_info"
15+
}
16+
],
17+
"policies": [
18+
{
19+
"name": "any fan absence",
20+
"conditions": [
21+
{
22+
"type": "fan.any.absence"
23+
}
24+
],
25+
"actions": [
26+
{
27+
"type": "fan.all.set_speed",
28+
"speed": "100"
29+
}
30+
]
31+
},
32+
{
33+
"name": "any psu absence",
34+
"conditions": [
35+
{
36+
"type": "psu.any.absence"
37+
}
38+
],
39+
"actions": [
40+
{
41+
"type": "fan.all.set_speed",
42+
"speed": "100"
43+
}
44+
]
45+
},
46+
{
47+
"name": "any fan broken",
48+
"conditions": [
49+
{
50+
"type": "fan.any.fault"
51+
}
52+
],
53+
"actions": [
54+
{
55+
"type": "fan.all.set_speed",
56+
"speed": "100"
57+
}
58+
]
59+
},
60+
{
61+
"name": "all fan and psu presence",
62+
"conditions": [
63+
{
64+
"type": "fan.all.presence"
65+
},
66+
{
67+
"type": "psu.all.presence"
68+
},
69+
{
70+
"type": "fan.all.good"
71+
}
72+
],
73+
"actions": [
74+
{
75+
"type": "thermal.recover"
76+
}
77+
]
78+
}
79+
]
80+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn2700-r0/thermal_policy.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn2700-r0/thermal_policy.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn2700-r0/thermal_policy.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn2700-r0/thermal_policy.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn2700-r0/thermal_policy.json

0 commit comments

Comments
 (0)