Skip to content

Commit 933454d

Browse files
Wirut Getbamrungqiluo-msft
Wirut Getbamrung
authored andcommitted
[device/celestica]: add controllable config to platform.json of e1031 (#9183)
1 parent b3a3aa0 commit 933454d

File tree

1 file changed

+127
-21
lines changed

1 file changed

+127
-21
lines changed

device/celestica/x86_64-cel_e1031-r0/platform.json

+127-21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"chassis": {
33
"name": "Celestica-E1031-T48S4",
4+
"status_led": {
5+
"controllable": true,
6+
"colors": ["green", "amber","off"]
7+
},
48
"components": [
59
{
610
"name": "SMC_CPLD"
@@ -14,37 +18,100 @@
1418
],
1519
"fans": [
1620
{
17-
"name": "FAN-1"
18-
},
19-
{
20-
"name": "FAN-2"
21-
},
22-
{
23-
"name": "FAN-3"
21+
"name": "FAN-1",
22+
"speed": {
23+
"controllable": false
24+
},
25+
"status_led": {
26+
"controllable": true,
27+
"colors": ["green", "amber","off"]
28+
}
29+
},
30+
{
31+
"name": "FAN-2",
32+
"speed": {
33+
"controllable": false
34+
},
35+
"status_led": {
36+
"controllable": true,
37+
"colors": ["green", "amber","off"]
38+
}
39+
},
40+
{
41+
"name": "FAN-3",
42+
"speed": {
43+
"controllable": false
44+
},
45+
"status_led": {
46+
"controllable": true,
47+
"colors": ["green", "amber","off"]
48+
}
2449
}
2550
],
2651
"fan_drawers": [
2752
{
2853
"name": "Drawer1",
54+
"speed": {
55+
"controllable": false
56+
},
57+
"status_led": {
58+
"controllable": true,
59+
"colors": ["green", "amber","off"]
60+
},
2961
"fans": [
3062
{
31-
"name": "FAN-1"
63+
"name": "FAN-1",
64+
"speed": {
65+
"controllable": false
66+
},
67+
"status_led": {
68+
"controllable": true,
69+
"colors": ["green", "amber","off"]
70+
}
3271
}
3372
]
3473
},
3574
{
3675
"name": "Drawer2",
76+
"speed": {
77+
"controllable": false
78+
},
79+
"status_led": {
80+
"controllable": true,
81+
"colors": ["green", "amber","off"]
82+
},
3783
"fans": [
3884
{
39-
"name": "FAN-2"
85+
"name": "FAN-2",
86+
"speed": {
87+
"controllable": false
88+
},
89+
"status_led": {
90+
"controllable": true,
91+
"colors": ["green", "amber","off"]
92+
}
4093
}
4194
]
4295
},
4396
{
4497
"name": "Drawer3",
98+
"speed": {
99+
"controllable": false
100+
},
101+
"status_led": {
102+
"controllable": true,
103+
"colors": ["green", "amber","off"]
104+
},
45105
"fans": [
46106
{
47-
"name": "FAN-3"
107+
"name": "FAN-3",
108+
"speed": {
109+
"controllable": false
110+
},
111+
"status_led": {
112+
"controllable": true,
113+
"colors": ["green", "amber","off"]
114+
}
48115
}
49116
]
50117
}
@@ -54,40 +121,79 @@
54121
"name": "PSU-R",
55122
"fans": [
56123
{
57-
"name": "PSU-1 FAN-1"
124+
"name": "PSU-1 FAN-1",
125+
"speed": {
126+
"controllable": false
127+
},
128+
"status_led": {
129+
"controllable": false
130+
}
58131
}
59-
]
132+
],
133+
"status_led": {
134+
"controllable": false
135+
}
60136
},
61137
{
62138
"name": "PSU-L",
63139
"fans": [
64140
{
65-
"name": "PSU-2 FAN-1"
141+
"name": "PSU-2 FAN-1",
142+
"speed": {
143+
"controllable": false
144+
},
145+
"status_led": {
146+
"controllable": false
147+
}
66148
}
67-
]
149+
],
150+
"status_led": {
151+
"controllable": false
152+
}
68153
}
69154
],
70155
"thermals": [
71156
{
72-
"name": "Inlet ambient sensor (Rear to Front)"
157+
"name": "Inlet ambient sensor (Rear to Front)",
158+
"controllable": false,
159+
"low-threshold": false,
160+
"low-crit-threshold": false
73161
},
74162
{
75-
"name": "Helix shutdown sensor (Rear to Front)"
163+
"name": "Helix shutdown sensor (Rear to Front)",
164+
"controllable": false,
165+
"low-threshold": false,
166+
"low-crit-threshold": false
76167
},
77168
{
78-
"name": "Inlet ambient sensor (Front to Rear, right)"
169+
"name": "Inlet ambient sensor (Front to Rear, right)",
170+
"controllable": false,
171+
"low-threshold": false,
172+
"low-crit-threshold": false
79173
},
80174
{
81-
"name": "Helix shutdown sensor (Front to Rear)"
175+
"name": "Helix shutdown sensor (Front to Rear)",
176+
"controllable": false,
177+
"low-threshold": false,
178+
"low-crit-threshold": false
82179
},
83180
{
84-
"name": "Inlet ambient sensor (Front to Rear, left)"
181+
"name": "Inlet ambient sensor (Front to Rear, left)",
182+
"controllable": false,
183+
"low-threshold": false,
184+
"low-crit-threshold": false
85185
},
86186
{
87-
"name": "CPU errata sensor (Front to Rear)"
187+
"name": "CPU errata sensor (Front to Rear)",
188+
"controllable": false,
189+
"low-threshold": false,
190+
"low-crit-threshold": false
88191
},
89192
{
90-
"name": "CPU errata sensor (Rear to Front)"
193+
"name": "CPU errata sensor (Rear to Front)",
194+
"controllable": false,
195+
"low-threshold": false,
196+
"low-crit-threshold": false
91197
}
92198
],
93199
"sfps": [

0 commit comments

Comments
 (0)