xclarity_client 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/Gemfile +2 -0
- data/README.md +57 -4
- data/bin/mock_server.ru +1 -1
- data/docs/apib/cabinet.apib +63 -0
- data/docs/apib/canister.apib +69 -0
- data/docs/apib/chassis.apib +65 -1428
- data/docs/apib/cmm.apib +1102 -0
- data/docs/apib/fan.apib +383 -0
- data/docs/apib/fan_mux.apib +13 -0
- data/docs/apib/fan_muxes.apib +245 -0
- data/docs/apib/node.apib +8989 -869
- data/docs/apib/power_supply.apib +519 -0
- data/docs/apib/scalable_complex.apib +91 -0
- data/docs/apib/squisher.rb +26 -0
- data/docs/apib/switches.apib +1596 -0
- data/example/simple.rb +12 -5
- data/lib/xclarity_client.rb +20 -0
- data/lib/xclarity_client/cabinet.rb +14 -0
- data/lib/xclarity_client/cabinet_management.rb +59 -0
- data/lib/xclarity_client/canister.rb +20 -0
- data/lib/xclarity_client/canister_management.rb +60 -0
- data/lib/xclarity_client/chassi.rb +24 -0
- data/lib/xclarity_client/chassi_management.rb +64 -0
- data/lib/xclarity_client/client.rb +77 -1
- data/lib/xclarity_client/cmm.rb +18 -0
- data/lib/xclarity_client/cmm_management.rb +61 -0
- data/lib/xclarity_client/configuration.rb +13 -3
- data/lib/xclarity_client/fan.rb +20 -0
- data/lib/xclarity_client/fan_management.rb +83 -0
- data/lib/xclarity_client/fan_mux.rb +18 -0
- data/lib/xclarity_client/fan_mux_management.rb +82 -0
- data/lib/xclarity_client/node.rb +15 -94
- data/lib/xclarity_client/node_management.rb +62 -0
- data/lib/xclarity_client/power_supply.rb +18 -0
- data/lib/xclarity_client/power_supply_management.rb +89 -0
- data/lib/xclarity_client/scalable_complex.rb +16 -0
- data/lib/xclarity_client/scalable_complex_management.rb +83 -0
- data/lib/xclarity_client/switch.rb +19 -0
- data/lib/xclarity_client/switch_management.rb +59 -0
- data/lib/xclarity_client/version.rb +1 -1
- data/lib/xclarity_client/xclarity_base.rb +26 -1
- data/lib/xclarity_client/xclarity_resource.rb +20 -0
- data/xclarity_client.gemspec +1 -2
- metadata +34 -5
- data/lib/xclarity_client/chassis.rb +0 -7
data/docs/apib/fan.apib
ADDED
@@ -0,0 +1,383 @@
|
|
1
|
+
FORMAT: 1A
|
2
|
+
|
3
|
+
# Fans
|
4
|
+
|
5
|
+
# GET /fans/57B16D219DB211E0AEBDBBC70E13DA7F?includeAttributes=cmmHealthState
|
6
|
+
|
7
|
+
+ Response 200 (application/json)
|
8
|
+
{
|
9
|
+
"parent":{
|
10
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
11
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
12
|
+
},
|
13
|
+
"uuid":"57B16D219DB211E0AEBDBBC70E13DA7F",
|
14
|
+
"cmmHealthState":"Normal",
|
15
|
+
"uri":"fan/57B16D219DB211E0AEBDBBC70E13DA7F",
|
16
|
+
"dataHandle":0
|
17
|
+
}
|
18
|
+
+ Response 400
|
19
|
+
+ Response 401
|
20
|
+
+ Response 404
|
21
|
+
+ Response 409
|
22
|
+
+ Response 500
|
23
|
+
|
24
|
+
# GET /fans/57B16D219DB211E0AEBDBBC70E13DA7F?excludeAttributes=cmmHealthState
|
25
|
+
|
26
|
+
+ Response 200 (application/json)
|
27
|
+
{
|
28
|
+
"model":"",
|
29
|
+
"manufacturerId":"20301",
|
30
|
+
"serialNumber":"",
|
31
|
+
"type":"Fan",
|
32
|
+
"dataHandle":0,
|
33
|
+
"cmmDisplayName":"Fan 01",
|
34
|
+
"leds":[
|
35
|
+
{
|
36
|
+
"color":"Amber",
|
37
|
+
"location":"FrontPanel",
|
38
|
+
"name":"FAULT",
|
39
|
+
"state":"Off"
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"description":"IBM Fan Pack",
|
43
|
+
"name":"Fan 01",
|
44
|
+
"errorFields":[
|
45
|
+
|
46
|
+
],
|
47
|
+
"userDescription":"",
|
48
|
+
"manufactureDate":"2611",
|
49
|
+
"partNumber":"88Y6691",
|
50
|
+
"firmware":[
|
51
|
+
{
|
52
|
+
"status":"",
|
53
|
+
"name":"Fan Controller",
|
54
|
+
"role":"",
|
55
|
+
"date":"",
|
56
|
+
"type":"Fan Controller",
|
57
|
+
"build":"",
|
58
|
+
"version":"226"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
"machineType":"",
|
62
|
+
"hardwareRevision":"4.0",
|
63
|
+
"parent":{
|
64
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
65
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
66
|
+
},
|
67
|
+
"FRU":"88Y6685",
|
68
|
+
"uri":"fan/57B16D219DB211E0AEBDBBC70E13DA7F",
|
69
|
+
"productId":"342",
|
70
|
+
"powerAllocation":{
|
71
|
+
"maximumAllocatedPower":0,
|
72
|
+
"minimumAllocatedPower":0
|
73
|
+
},
|
74
|
+
"powerState":"Unknown",
|
75
|
+
"posID":"373",
|
76
|
+
"slots":[
|
77
|
+
1
|
78
|
+
],
|
79
|
+
"manufacturer":"IBM",
|
80
|
+
"vpdID":"11",
|
81
|
+
"uuid":"57B16D219DB211E0AEBDBBC70E13DA7F",
|
82
|
+
"productName":"80mm Fan Pack for ITE Cooling",
|
83
|
+
"fruSerialNumber":"YK10JPB69K75"
|
84
|
+
}
|
85
|
+
+ Response 400
|
86
|
+
+ Response 401
|
87
|
+
+ Response 404
|
88
|
+
+ Response 409
|
89
|
+
+ Response 500
|
90
|
+
|
91
|
+
# GET /fans?excludeAttributes=cmmHealthState
|
92
|
+
|
93
|
+
+ Response 200 (application/json)
|
94
|
+
{
|
95
|
+
"fanList":[
|
96
|
+
{
|
97
|
+
"model":"",
|
98
|
+
"manufacturerId":"20301",
|
99
|
+
"serialNumber":"",
|
100
|
+
"type":"Fan",
|
101
|
+
"dataHandle":0,
|
102
|
+
"cmmDisplayName":"Fan 01",
|
103
|
+
"leds":[
|
104
|
+
{
|
105
|
+
"color":"Amber",
|
106
|
+
"location":"FrontPanel",
|
107
|
+
"name":"FAULT",
|
108
|
+
"state":"Off"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"description":"IBM Fan Pack",
|
112
|
+
"name":"Fan 01",
|
113
|
+
"errorFields":[
|
114
|
+
|
115
|
+
],
|
116
|
+
"userDescription":"",
|
117
|
+
"manufactureDate":"2611",
|
118
|
+
"partNumber":"88Y6691",
|
119
|
+
"firmware":[
|
120
|
+
{
|
121
|
+
"status":"",
|
122
|
+
"name":"Fan Controller",
|
123
|
+
"role":"",
|
124
|
+
"date":"",
|
125
|
+
"type":"Fan Controller",
|
126
|
+
"build":"",
|
127
|
+
"version":"226"
|
128
|
+
}
|
129
|
+
],
|
130
|
+
"machineType":"",
|
131
|
+
"hardwareRevision":"4.0",
|
132
|
+
"parent":{
|
133
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
134
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
135
|
+
},
|
136
|
+
"FRU":"88Y6685",
|
137
|
+
"uri":"fan/57B16D219DB211E0AEBDBBC70E13DA7F",
|
138
|
+
"productId":"342",
|
139
|
+
"powerAllocation":{
|
140
|
+
"maximumAllocatedPower":0,
|
141
|
+
"minimumAllocatedPower":0
|
142
|
+
},
|
143
|
+
"powerState":"Unknown",
|
144
|
+
"posID":"373",
|
145
|
+
"slots":[
|
146
|
+
1
|
147
|
+
],
|
148
|
+
"manufacturer":"IBM",
|
149
|
+
"vpdID":"11",
|
150
|
+
"uuid":"57B16D219DB211E0AEBDBBC70E13DA7F",
|
151
|
+
"productName":"80mm Fan Pack for ITE Cooling",
|
152
|
+
"fruSerialNumber":"YK10JPB69K75"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"model":"",
|
156
|
+
"manufacturerId":"20301",
|
157
|
+
"serialNumber":"",
|
158
|
+
"type":"Fan",
|
159
|
+
"dataHandle":0,
|
160
|
+
"cmmDisplayName":"Fan 02",
|
161
|
+
"leds":[
|
162
|
+
{
|
163
|
+
"color":"Amber",
|
164
|
+
"location":"FrontPanel",
|
165
|
+
"name":"FAULT",
|
166
|
+
"state":"Off"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"description":"IBM Fan Pack",
|
170
|
+
"name":"Fan 02",
|
171
|
+
"errorFields":[
|
172
|
+
|
173
|
+
],
|
174
|
+
"userDescription":"",
|
175
|
+
"manufactureDate":"2611",
|
176
|
+
"partNumber":"88Y6691",
|
177
|
+
"firmware":[
|
178
|
+
{
|
179
|
+
"status":"",
|
180
|
+
"name":"Fan Controller",
|
181
|
+
"role":"",
|
182
|
+
"date":"",
|
183
|
+
"type":"Fan Controller",
|
184
|
+
"build":"",
|
185
|
+
"version":"226"
|
186
|
+
}
|
187
|
+
],
|
188
|
+
"machineType":"",
|
189
|
+
"hardwareRevision":"4.0",
|
190
|
+
"parent":{
|
191
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
192
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
193
|
+
},
|
194
|
+
"FRU":"88Y6685",
|
195
|
+
"uri":"fan/C4EDAE619DB411E0AB85FF10F8AF18C2",
|
196
|
+
"productId":"342",
|
197
|
+
"powerAllocation":{
|
198
|
+
"maximumAllocatedPower":0,
|
199
|
+
"minimumAllocatedPower":0
|
200
|
+
},
|
201
|
+
"powerState":"Unknown",
|
202
|
+
"posID":"373",
|
203
|
+
"slots":[
|
204
|
+
2
|
205
|
+
],
|
206
|
+
"manufacturer":"IBM",
|
207
|
+
"vpdID":"11",
|
208
|
+
"uuid":"C4EDAE619DB411E0AB85FF10F8AF18C2",
|
209
|
+
"productName":"80mm Fan Pack for ITE Cooling",
|
210
|
+
"fruSerialNumber":"YK10JPB69L17"
|
211
|
+
}
|
212
|
+
]
|
213
|
+
}
|
214
|
+
+ Response 400
|
215
|
+
+ Response 401
|
216
|
+
+ Response 404
|
217
|
+
+ Response 409
|
218
|
+
+ Response 500
|
219
|
+
|
220
|
+
# GET /fans?includeAttributes=cmmHealthState
|
221
|
+
|
222
|
+
+ Response 200 (application/json)
|
223
|
+
{
|
224
|
+
"fanList":[
|
225
|
+
{
|
226
|
+
"parent":{
|
227
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
228
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
229
|
+
},
|
230
|
+
"uuid":"57B16D219DB211E0AEBDBBC70E13DA7F",
|
231
|
+
"cmmHealthState":"Normal",
|
232
|
+
"uri":"fan/57B16D219DB211E0AEBDBBC70E13DA7F",
|
233
|
+
"dataHandle":0
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"parent":{
|
237
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
238
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
239
|
+
},
|
240
|
+
"uuid":"C4EDAE619DB411E0AB85FF10F8AF18C2",
|
241
|
+
"cmmHealthState":"Normal",
|
242
|
+
"uri":"fan/C4EDAE619DB411E0AB85FF10F8AF18C2",
|
243
|
+
"dataHandle":0
|
244
|
+
}
|
245
|
+
]
|
246
|
+
}
|
247
|
+
+ Response 400
|
248
|
+
+ Response 401
|
249
|
+
+ Response 404
|
250
|
+
+ Response 409
|
251
|
+
+ Response 500
|
252
|
+
|
253
|
+
|
254
|
+
# GET /fans
|
255
|
+
|
256
|
+
+ Response 200 (application/json)
|
257
|
+
{
|
258
|
+
"fanList":[
|
259
|
+
{
|
260
|
+
"model":"",
|
261
|
+
"manufacturerId":"20301",
|
262
|
+
"serialNumber":"",
|
263
|
+
"type":"Fan",
|
264
|
+
"dataHandle":0,
|
265
|
+
"cmmDisplayName":"Fan 01",
|
266
|
+
"leds":[
|
267
|
+
{
|
268
|
+
"color":"Amber",
|
269
|
+
"location":"FrontPanel",
|
270
|
+
"name":"FAULT",
|
271
|
+
"state":"Off"
|
272
|
+
}
|
273
|
+
],
|
274
|
+
"description":"IBM Fan Pack",
|
275
|
+
"name":"Fan 01",
|
276
|
+
"errorFields":[
|
277
|
+
|
278
|
+
],
|
279
|
+
"cmmHealthState":"Normal",
|
280
|
+
"userDescription":"",
|
281
|
+
"manufactureDate":"2611",
|
282
|
+
"partNumber":"88Y6691",
|
283
|
+
"firmware":[
|
284
|
+
{
|
285
|
+
"status":"",
|
286
|
+
"name":"Fan Controller",
|
287
|
+
"role":"",
|
288
|
+
"date":"",
|
289
|
+
"type":"Fan Controller",
|
290
|
+
"build":"",
|
291
|
+
"version":"226"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"machineType":"",
|
295
|
+
"hardwareRevision":"4.0",
|
296
|
+
"parent":{
|
297
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
298
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
299
|
+
},
|
300
|
+
"FRU":"88Y6685",
|
301
|
+
"uri":"fan/57B16D219DB211E0AEBDBBC70E13DA7F",
|
302
|
+
"productId":"342",
|
303
|
+
"powerAllocation":{
|
304
|
+
"maximumAllocatedPower":0,
|
305
|
+
"minimumAllocatedPower":0
|
306
|
+
},
|
307
|
+
"powerState":"Unknown",
|
308
|
+
"posID":"373",
|
309
|
+
"slots":[
|
310
|
+
1
|
311
|
+
],
|
312
|
+
"manufacturer":"IBM",
|
313
|
+
"vpdID":"11",
|
314
|
+
"uuid":"57B16D219DB211E0AEBDBBC70E13DA7F",
|
315
|
+
"productName":"80mm Fan Pack for ITE Cooling",
|
316
|
+
"fruSerialNumber":"YK10JPB69K75"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"model":"",
|
320
|
+
"manufacturerId":"20301",
|
321
|
+
"serialNumber":"",
|
322
|
+
"type":"Fan",
|
323
|
+
"dataHandle":0,
|
324
|
+
"cmmDisplayName":"Fan 02",
|
325
|
+
"leds":[
|
326
|
+
{
|
327
|
+
"color":"Amber",
|
328
|
+
"location":"FrontPanel",
|
329
|
+
"name":"FAULT",
|
330
|
+
"state":"Off"
|
331
|
+
}
|
332
|
+
],
|
333
|
+
"description":"IBM Fan Pack",
|
334
|
+
"name":"Fan 02",
|
335
|
+
"errorFields":[
|
336
|
+
|
337
|
+
],
|
338
|
+
"cmmHealthState":"Normal",
|
339
|
+
"userDescription":"",
|
340
|
+
"manufactureDate":"2611",
|
341
|
+
"partNumber":"88Y6691",
|
342
|
+
"firmware":[
|
343
|
+
{
|
344
|
+
"status":"",
|
345
|
+
"name":"Fan Controller",
|
346
|
+
"role":"",
|
347
|
+
"date":"",
|
348
|
+
"type":"Fan Controller",
|
349
|
+
"build":"",
|
350
|
+
"version":"226"
|
351
|
+
}
|
352
|
+
],
|
353
|
+
"machineType":"",
|
354
|
+
"hardwareRevision":"4.0",
|
355
|
+
"parent":{
|
356
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
357
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
358
|
+
},
|
359
|
+
"FRU":"88Y6685",
|
360
|
+
"uri":"fan/C4EDAE619DB411E0AB85FF10F8AF18C2",
|
361
|
+
"productId":"342",
|
362
|
+
"powerAllocation":{
|
363
|
+
"maximumAllocatedPower":0,
|
364
|
+
"minimumAllocatedPower":0
|
365
|
+
},
|
366
|
+
"powerState":"Unknown",
|
367
|
+
"posID":"373",
|
368
|
+
"slots":[
|
369
|
+
2
|
370
|
+
],
|
371
|
+
"manufacturer":"IBM",
|
372
|
+
"vpdID":"11",
|
373
|
+
"uuid":"C4EDAE619DB411E0AB85FF10F8AF18C2",
|
374
|
+
"productName":"80mm Fan Pack for ITE Cooling",
|
375
|
+
"fruSerialNumber":"YK10JPB69L17"
|
376
|
+
}
|
377
|
+
]
|
378
|
+
}
|
379
|
+
+ Response 400
|
380
|
+
+ Response 401
|
381
|
+
+ Response 404
|
382
|
+
+ Response 409
|
383
|
+
+ Response 500
|
@@ -0,0 +1,245 @@
|
|
1
|
+
FORMAT: 1A
|
2
|
+
|
3
|
+
# Fan Muxes
|
4
|
+
|
5
|
+
# GET /fanMuxes/08F010AC32A811E38EC187BED4950FD7?excludeAttributes=productName
|
6
|
+
|
7
|
+
+ Response 200 (application/json)
|
8
|
+
{
|
9
|
+
"model":"",
|
10
|
+
"manufacturerId":"20301",
|
11
|
+
"machineType":"",
|
12
|
+
"status":"Normal",
|
13
|
+
"hardwareRevision":"5.3",
|
14
|
+
"parent":{
|
15
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
16
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
17
|
+
},
|
18
|
+
"serialNumber":"",
|
19
|
+
"FRU":"94Y5805",
|
20
|
+
"type":"FanMux",
|
21
|
+
"uri":"fanMux/08F010AC32A811E38EC187BED4950FD7",
|
22
|
+
"productId":"338",
|
23
|
+
"dataHandle":0,
|
24
|
+
"cmmDisplayName":"Fan Logic 01",
|
25
|
+
"leds":[
|
26
|
+
{
|
27
|
+
"color":"Amber",
|
28
|
+
"location":"FrontPanel",
|
29
|
+
"name":"FAULT",
|
30
|
+
"state":"Off"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"manufacturer":"IBM",
|
34
|
+
"slots":[
|
35
|
+
1
|
36
|
+
],
|
37
|
+
"description":"fan logic card",
|
38
|
+
"name":"Fan Logic 01",
|
39
|
+
"uuid":"08F010AC32A811E38EC187BED4950FD7",
|
40
|
+
"cmmHealthState":"Normal",
|
41
|
+
"manufactureDate":"4311",
|
42
|
+
"fruSerialNumber":"Y031BG16D093",
|
43
|
+
"partNumber":"49Y3276"
|
44
|
+
}
|
45
|
+
+ Response 400
|
46
|
+
+ Response 401
|
47
|
+
+ Response 404
|
48
|
+
+ Response 409
|
49
|
+
+ Response 500
|
50
|
+
|
51
|
+
# GET /fanMuxes/08F010AC32A811E38EC187BED4950FD7?includeAttributes=productName
|
52
|
+
|
53
|
+
+ Response 200 (application/json)
|
54
|
+
|
55
|
+
+ Response 400
|
56
|
+
+ Response 401
|
57
|
+
+ Response 404
|
58
|
+
+ Response 409
|
59
|
+
+ Response 500
|
60
|
+
|
61
|
+
# GET /fanMuxes?excludeAttributes=productName
|
62
|
+
|
63
|
+
+ Response 200 (application/json)
|
64
|
+
{
|
65
|
+
"fanMuxList":[
|
66
|
+
{
|
67
|
+
"model":"",
|
68
|
+
"manufacturerId":"20301",
|
69
|
+
"machineType":"",
|
70
|
+
"status":"Normal",
|
71
|
+
"hardwareRevision":"5.3",
|
72
|
+
"parent":{
|
73
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
74
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
75
|
+
},
|
76
|
+
"serialNumber":"",
|
77
|
+
"FRU":"94Y5805",
|
78
|
+
"type":"FanMux",
|
79
|
+
"uri":"fanMux/08F010AC32A811E38EC187BED4950FD7",
|
80
|
+
"productId":"338",
|
81
|
+
"dataHandle":0,
|
82
|
+
"cmmDisplayName":"Fan Logic 01",
|
83
|
+
"leds":[
|
84
|
+
{
|
85
|
+
"color":"Amber",
|
86
|
+
"location":"FrontPanel",
|
87
|
+
"name":"FAULT",
|
88
|
+
"state":"Off"
|
89
|
+
}
|
90
|
+
],
|
91
|
+
"manufacturer":"IBM",
|
92
|
+
"slots":[
|
93
|
+
1
|
94
|
+
],
|
95
|
+
"description":"fan logic card",
|
96
|
+
"name":"Fan Logic 01",
|
97
|
+
"uuid":"08F010AC32A811E38EC187BED4950FD7",
|
98
|
+
"cmmHealthState":"Normal",
|
99
|
+
"manufactureDate":"4311",
|
100
|
+
"fruSerialNumber":"Y031BG16D093",
|
101
|
+
"partNumber":"49Y3276"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"model":"",
|
105
|
+
"manufacturerId":"20301",
|
106
|
+
"machineType":"",
|
107
|
+
"status":"Non-Critical",
|
108
|
+
"hardwareRevision":"4.0",
|
109
|
+
"parent":{
|
110
|
+
"uuid":"3B058C775CE44FA6AC05608B196EDAB1",
|
111
|
+
"uri":"chassis/3B058C775CE44FA6AC05608B196EDAB1"
|
112
|
+
},
|
113
|
+
"serialNumber":"",
|
114
|
+
"FRU":"81Y2912",
|
115
|
+
"type":"FanMux",
|
116
|
+
"uri":"fanMux/F40B548FA17811E092C5D2CFEE48E2A3",
|
117
|
+
"productId":"338",
|
118
|
+
"dataHandle":0,
|
119
|
+
"cmmDisplayName":"Fan Logic 01",
|
120
|
+
"leds":[
|
121
|
+
{
|
122
|
+
"color":"Amber",
|
123
|
+
"location":"FrontPanel",
|
124
|
+
"name":"FAULT",
|
125
|
+
"state":"On"
|
126
|
+
}
|
127
|
+
],
|
128
|
+
"manufacturer":"IBM",
|
129
|
+
"slots":[
|
130
|
+
1
|
131
|
+
],
|
132
|
+
"description":"Fan Logic Module",
|
133
|
+
"name":"Fan Logic 01",
|
134
|
+
"uuid":"F40B548FA17811E092C5D2CFEE48E2A3",
|
135
|
+
"cmmHealthState":"Non-Critical",
|
136
|
+
"manufactureDate":"2611",
|
137
|
+
"fruSerialNumber":"Y031BG16P023",
|
138
|
+
"partNumber":"81Y2990"
|
139
|
+
}
|
140
|
+
]
|
141
|
+
}
|
142
|
+
+ Response 400
|
143
|
+
+ Response 401
|
144
|
+
+ Response 404
|
145
|
+
+ Response 409
|
146
|
+
+ Response 500
|
147
|
+
|
148
|
+
# GET /fanMuxes?includeAttribute=productName
|
149
|
+
|
150
|
+
+ Response 200 (application/json)
|
151
|
+
|
152
|
+
+ Response 400
|
153
|
+
+ Response 401
|
154
|
+
+ Response 404
|
155
|
+
+ Response 409
|
156
|
+
+ Response 500
|
157
|
+
|
158
|
+
# GET /fanMuxes
|
159
|
+
|
160
|
+
+ Response 200 (application/json)
|
161
|
+
{
|
162
|
+
"fanMuxList":[
|
163
|
+
{
|
164
|
+
"model":"",
|
165
|
+
"manufacturerId":"20301",
|
166
|
+
"machineType":"",
|
167
|
+
"status":"Normal",
|
168
|
+
"hardwareRevision":"5.3",
|
169
|
+
"parent":{
|
170
|
+
"uuid":"7F3E7E375B5747E0938969896B1CFDF5",
|
171
|
+
"uri":"chassis/7F3E7E375B5747E0938969896B1CFDF5"
|
172
|
+
},
|
173
|
+
"serialNumber":"",
|
174
|
+
"FRU":"94Y5805",
|
175
|
+
"type":"FanMux",
|
176
|
+
"uri":"fanMux/08F010AC32A811E38EC187BED4950FD7",
|
177
|
+
"productId":"338",
|
178
|
+
"dataHandle":0,
|
179
|
+
"cmmDisplayName":"Fan Logic 01",
|
180
|
+
"leds":[
|
181
|
+
{
|
182
|
+
"color":"Amber",
|
183
|
+
"location":"FrontPanel",
|
184
|
+
"name":"FAULT",
|
185
|
+
"state":"Off"
|
186
|
+
}
|
187
|
+
],
|
188
|
+
"manufacturer":"IBM",
|
189
|
+
"slots":[
|
190
|
+
1
|
191
|
+
],
|
192
|
+
"description":"fan logic card",
|
193
|
+
"name":"Fan Logic 01",
|
194
|
+
"uuid":"08F010AC32A811E38EC187BED4950FD7",
|
195
|
+
"cmmHealthState":"Normal",
|
196
|
+
"manufactureDate":"4311",
|
197
|
+
"productName":"IBM Flex System Enterprise Chassis Fan Logic Card",
|
198
|
+
"fruSerialNumber":"Y031BG16D093",
|
199
|
+
"partNumber":"49Y3276"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"model":"",
|
203
|
+
"manufacturerId":"20301",
|
204
|
+
"machineType":"",
|
205
|
+
"status":"Non-Critical",
|
206
|
+
"hardwareRevision":"4.0",
|
207
|
+
"parent":{
|
208
|
+
"uuid":"3B058C775CE44FA6AC05608B196EDAB1",
|
209
|
+
"uri":"chassis/3B058C775CE44FA6AC05608B196EDAB1"
|
210
|
+
},
|
211
|
+
"serialNumber":"",
|
212
|
+
"FRU":"81Y2912",
|
213
|
+
"type":"FanMux",
|
214
|
+
"uri":"fanMux/F40B548FA17811E092C5D2CFEE48E2A3",
|
215
|
+
"productId":"338",
|
216
|
+
"dataHandle":0,
|
217
|
+
"cmmDisplayName":"Fan Logic 01",
|
218
|
+
"leds":[
|
219
|
+
{
|
220
|
+
"color":"Amber",
|
221
|
+
"location":"FrontPanel",
|
222
|
+
"name":"FAULT",
|
223
|
+
"state":"On"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"manufacturer":"IBM",
|
227
|
+
"slots":[
|
228
|
+
1
|
229
|
+
],
|
230
|
+
"description":"Fan Logic Module",
|
231
|
+
"name":"Fan Logic 01",
|
232
|
+
"uuid":"F40B548FA17811E092C5D2CFEE48E2A3",
|
233
|
+
"cmmHealthState":"Non-Critical",
|
234
|
+
"manufactureDate":"2611",
|
235
|
+
"productName":"IBM Fan Pack Multiplexor Card",
|
236
|
+
"fruSerialNumber":"Y031BG16P023",
|
237
|
+
"partNumber":"81Y2990"
|
238
|
+
}
|
239
|
+
]
|
240
|
+
}
|
241
|
+
+ Response 400
|
242
|
+
+ Response 401
|
243
|
+
+ Response 404
|
244
|
+
+ Response 409
|
245
|
+
+ Response 500
|