xclarity_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE +201 -0
- data/README.md +51 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/mock_server.ru +11 -0
- data/bin/setup +8 -0
- data/docs/apib/aicc.apib +344 -0
- data/docs/apib/chassis.apib +1440 -0
- data/docs/apib/node.apib +890 -0
- data/example/simple.rb +15 -0
- data/lib/xclarity_client.rb +10 -0
- data/lib/xclarity_client/chassis.rb +7 -0
- data/lib/xclarity_client/client.rb +13 -0
- data/lib/xclarity_client/configuration.rb +14 -0
- data/lib/xclarity_client/node.rb +104 -0
- data/lib/xclarity_client/version.rb +3 -0
- data/lib/xclarity_client/virtual_appliance_management.rb +76 -0
- data/lib/xclarity_client/xclarity_base.rb +26 -0
- data/xclarity_client.gemspec +27 -0
- metadata +152 -0
data/docs/apib/node.apib
ADDED
@@ -0,0 +1,890 @@
|
|
1
|
+
FORMAT: 1A
|
2
|
+
|
3
|
+
# XClarity Nodes
|
4
|
+
|
5
|
+
# GET /nodes
|
6
|
+
|
7
|
+
+ Response 200 (application/json)
|
8
|
+
{
|
9
|
+
"nodeList": [{
|
10
|
+
"accessState": "Online",
|
11
|
+
"activationKeys": [{
|
12
|
+
"description": "IBM Integrated Management Module Advanced Upgrade",
|
13
|
+
"keyExpirationDate": "",
|
14
|
+
"keyFeatureType": 1,
|
15
|
+
"keyIdentiferList": [{
|
16
|
+
"keyIdentifier": "5463KVD0153",
|
17
|
+
"keyIdentifierType": "MT"
|
18
|
+
}],
|
19
|
+
"keyStatus": "VALID",
|
20
|
+
"keyUseCount": 0,
|
21
|
+
"keyUseLimit": 0,
|
22
|
+
"uuid": "8f0f1789295e78f9"
|
23
|
+
}],
|
24
|
+
"addinCardSlots": 0,
|
25
|
+
"addinCards": [{
|
26
|
+
"FRU": "N/A",
|
27
|
+
"firmware": [{
|
28
|
+
"build": "0",
|
29
|
+
"classifications": [13],
|
30
|
+
"date": "2015-04-06T00:00:00Z",
|
31
|
+
"name": "LSI MegaRAID Controller Firmware",
|
32
|
+
"revision": "0",
|
33
|
+
"role": "Primary",
|
34
|
+
"softwareID": "10140454",
|
35
|
+
"status": "Active",
|
36
|
+
"type": "Software Bundle",
|
37
|
+
"version": "24.7.0-0052"
|
38
|
+
}],
|
39
|
+
"fodUniqueID": "N/A",
|
40
|
+
"fruSerialNumber": "SV42100396",
|
41
|
+
"isAddOnCard": true,
|
42
|
+
"isAgentless": true,
|
43
|
+
"manufacturer": "IBM",
|
44
|
+
"name": "ServeRAID M5210",
|
45
|
+
"partNumber": "N/A",
|
46
|
+
"pciBusNumber": "1",
|
47
|
+
"pciDeviceNumber": "0",
|
48
|
+
"pciFunctionNumber": "0",
|
49
|
+
"pciRevision": "2",
|
50
|
+
"pciSubID": "454",
|
51
|
+
"pciSubVendorID": "1014",
|
52
|
+
"portInfo": {
|
53
|
+
|
54
|
+
},
|
55
|
+
"posID": "5d",
|
56
|
+
"productName": "ServeRAID M5210",
|
57
|
+
"slotName": "SlotDesig4_Slot 4",
|
58
|
+
"slotNumber": "4",
|
59
|
+
"slotSupportsHotPlug": "false",
|
60
|
+
"vpdID": "1000"
|
61
|
+
}],
|
62
|
+
"arch": "x86",
|
63
|
+
"backedBy": "real",
|
64
|
+
"bladeState": 0,
|
65
|
+
"bootMode": {
|
66
|
+
"currentValue": "UEFI Mode",
|
67
|
+
"possibleValues": ["UEFI Mode",
|
68
|
+
"Legacy Mode"
|
69
|
+
]
|
70
|
+
},
|
71
|
+
"bootOrder": {
|
72
|
+
"bootOrderList": [{
|
73
|
+
"bootType": "SingleUse",
|
74
|
+
"currentBootOrderDevices": ["None"],
|
75
|
+
"possibleBootOrderDevices": ["None",
|
76
|
+
"PXE Network",
|
77
|
+
"Hard Disk 0",
|
78
|
+
"Diagnostics",
|
79
|
+
"CD/DVD Rom",
|
80
|
+
"Boot To F1",
|
81
|
+
"Hypervisor",
|
82
|
+
"Floppy Disk"
|
83
|
+
]
|
84
|
+
}, {
|
85
|
+
"bootType": "WakeOnLAN",
|
86
|
+
"currentBootOrderDevices": ["PXE Network",
|
87
|
+
"CD/DVD Rom",
|
88
|
+
"Hard Disk 0"
|
89
|
+
],
|
90
|
+
"possibleBootOrderDevices": ["PXE Network",
|
91
|
+
"CD/DVD Rom",
|
92
|
+
"Hard Disk 0",
|
93
|
+
"Floppy Disk",
|
94
|
+
"sSATA Port 2",
|
95
|
+
"sSATA Port 3",
|
96
|
+
"DSA"
|
97
|
+
]
|
98
|
+
}],
|
99
|
+
"uri": "node/425AF828DF7D11D4B0F8E76767BBBBBB/bootOrder"
|
100
|
+
},
|
101
|
+
"cmmDisplayName": "Management Controller UUID-425AF828DF7D11D4B0F8E76767BBBBBB",
|
102
|
+
"cmmHealthState": "Normal",
|
103
|
+
"complexID": -1,
|
104
|
+
"contact": "",
|
105
|
+
"dataHandle": 1440525606363,
|
106
|
+
"description": "Chassis",
|
107
|
+
"dnsHostnames": ["10.243.6.69",
|
108
|
+
"fd55:faaf:e1ab:2021:42f2:e9ff:feb8:1585"
|
109
|
+
],
|
110
|
+
"domainName": "",
|
111
|
+
"driveBays": 0,
|
112
|
+
"drives": [],
|
113
|
+
"embeddedHypervisorPresence": false,
|
114
|
+
"encapsulation": {
|
115
|
+
"encapsulationMode": "normal"
|
116
|
+
},
|
117
|
+
"errorFields": [{
|
118
|
+
"ChassisMounted": "NO_CONNECTOR"
|
119
|
+
}],
|
120
|
+
"excludedHealthState": "Normal",
|
121
|
+
"expansionCardSlots": 0,
|
122
|
+
"expansionCards": [],
|
123
|
+
"expansionProductType": "",
|
124
|
+
"expansionProducts": [],
|
125
|
+
"firmware": [{
|
126
|
+
"build": "TBE105KUS",
|
127
|
+
"date": "2015-04-17T00:00:00Z",
|
128
|
+
"name": "UEFI Firmware/BIOS",
|
129
|
+
"role": "Primary",
|
130
|
+
"status": "Active",
|
131
|
+
"type": "UEFI",
|
132
|
+
"version": "1.10"
|
133
|
+
}, {
|
134
|
+
"build": "TBE105KUS",
|
135
|
+
"date": "2015-04-17T00:00:00Z",
|
136
|
+
"name": "UEFI Backup Firmware/BIOS",
|
137
|
+
"role": "Backup",
|
138
|
+
"status": "Inactive",
|
139
|
+
"type": "UEFI-Backup",
|
140
|
+
"version": "1.10"
|
141
|
+
}, {
|
142
|
+
"build": "TCOO09D",
|
143
|
+
"date": "2015-04-17T00:00:00Z",
|
144
|
+
"name": "IMM2 Backup Firmware",
|
145
|
+
"role": "Backup",
|
146
|
+
"status": "Inactive",
|
147
|
+
"type": "IMM2-Backup",
|
148
|
+
"version": "1.71"
|
149
|
+
}],
|
150
|
+
"flashStorage": [],
|
151
|
+
"FRU": "None",
|
152
|
+
"fruSerialNumber": "None",
|
153
|
+
"hasOS": false,
|
154
|
+
"height": 1,
|
155
|
+
"hostMacAddresses": "40:F2:E9:B8:15:80,40:F2:E9:B8:15:81,40:F2:E9:B8:15:82,40:F2:E9:B8:15:83",
|
156
|
+
"hostname": "IMM2-40f2e9b81585",
|
157
|
+
"ipInterfaces": [{
|
158
|
+
"IPv4DHCPmode": "STATIC_ONLY",
|
159
|
+
"IPv4assignments": [{
|
160
|
+
"address": "10.243.6.69",
|
161
|
+
"gateway": "0.0.0.0",
|
162
|
+
"id": 0,
|
163
|
+
"subnet": "255.255.240.0",
|
164
|
+
"type": "INUSE"
|
165
|
+
}],
|
166
|
+
"IPv4enabled": true,
|
167
|
+
"IPv6DHCPenabled": true,
|
168
|
+
"IPv6assignments": [{
|
169
|
+
"address": "fd55:faaf:e1ab:2021:42f2:e9ff:feb8:1585",
|
170
|
+
"gateway": "0:0:0:0:0:0:0:0",
|
171
|
+
"id": 0,
|
172
|
+
"prefix": 64,
|
173
|
+
"scope": "Global",
|
174
|
+
"source": "Stateless",
|
175
|
+
"type": "INUSE"
|
176
|
+
}, {
|
177
|
+
"address": "fe80:0:0:0:42f2:e9ff:feb8:1585",
|
178
|
+
"gateway": "0:0:0:0:0:0:0:0",
|
179
|
+
"id": 0,
|
180
|
+
"prefix": 64,
|
181
|
+
"scope": "LinkLocal",
|
182
|
+
"source": "Other",
|
183
|
+
"type": "INUSE"
|
184
|
+
}],
|
185
|
+
"IPv6enabled": true,
|
186
|
+
"IPv6statelessEnabled": true,
|
187
|
+
"IPv6staticEnabled": false,
|
188
|
+
"label": "unknown",
|
189
|
+
"name": "eth0"
|
190
|
+
}],
|
191
|
+
"ipv4Addresses": ["10.243.6.69",
|
192
|
+
"169.254.95.118"
|
193
|
+
],
|
194
|
+
"ipv6Addresses": ["fd55:faaf:e1ab:2021:42f2:e9ff:feb8:1585",
|
195
|
+
"fe80::42f2:e9ff:feb8:1585"
|
196
|
+
],
|
197
|
+
"isConnectionTrusted": "true",
|
198
|
+
"isITME": false,
|
199
|
+
"isRemotePresenceEnabled": true,
|
200
|
+
"isScalable": false,
|
201
|
+
"lanOverUsb": "enabled",
|
202
|
+
"leds": [{
|
203
|
+
"color": "Yellow",
|
204
|
+
"location": "Unknown",
|
205
|
+
"name": "Fault",
|
206
|
+
"state": "Off"
|
207
|
+
}, {
|
208
|
+
"color": "Blue",
|
209
|
+
"location": "Unknown",
|
210
|
+
"name": "Identify",
|
211
|
+
"state": "Off"
|
212
|
+
}, {
|
213
|
+
"color": "Yellow",
|
214
|
+
"location": "Planar",
|
215
|
+
"name": "SDRAID Error",
|
216
|
+
"state": "Off"
|
217
|
+
}],
|
218
|
+
"location": {
|
219
|
+
"location": "",
|
220
|
+
"lowestRackUnit": 0,
|
221
|
+
"rack": "",
|
222
|
+
"room": ""
|
223
|
+
},
|
224
|
+
"macAddress": "40:F2:E9:B8:15:85,40:F2:E9:B8:15:86",
|
225
|
+
"machineType": "5463",
|
226
|
+
"manufacturer": " IBM(WIST)",
|
227
|
+
"manufacturerId": " IBM(WIST)",
|
228
|
+
"memoryModules": [{
|
229
|
+
"capacity": 4,
|
230
|
+
"displayName": "DIMM 1",
|
231
|
+
"manufacturer": "Unknown",
|
232
|
+
"model": "DDR4",
|
233
|
+
"partNumber": "HMA451R7MFR8N-TFTD ",
|
234
|
+
"serialNumber": "103D4F44",
|
235
|
+
"slot": 1,
|
236
|
+
"speed": 2133,
|
237
|
+
"type": "DDR4"
|
238
|
+
}],
|
239
|
+
"memorySlots": 0,
|
240
|
+
"mgmtProcIPaddress": "10.243.6.69",
|
241
|
+
"model": "45Z",
|
242
|
+
"name": "DaAn5",
|
243
|
+
"nist": {
|
244
|
+
"currentValue": "Compatibility",
|
245
|
+
"possibleValues": ["Compatibility",
|
246
|
+
"Nist_800_131A_Strict"
|
247
|
+
]
|
248
|
+
},
|
249
|
+
"onboardPciDevices": [{
|
250
|
+
"firmware": [{
|
251
|
+
"build": "0",
|
252
|
+
"classifications": [0],
|
253
|
+
"date": "",
|
254
|
+
"name": "PCIFirmware",
|
255
|
+
"revision": "0",
|
256
|
+
"role": "Primary",
|
257
|
+
"softwareID": "1014:405",
|
258
|
+
"status": "Active",
|
259
|
+
"type": "",
|
260
|
+
"version": ""
|
261
|
+
}],
|
262
|
+
"fodUniqueID": "",
|
263
|
+
"isAddOnCard": false,
|
264
|
+
"isAgentless": false,
|
265
|
+
"name": "",
|
266
|
+
"pciBusNumber": "25",
|
267
|
+
"pciDeviceNumber": "0",
|
268
|
+
"pciFunctionNumber": "0",
|
269
|
+
"pciRevision": "1",
|
270
|
+
"pciSubID": "405",
|
271
|
+
"pciSubVendorID": "1014",
|
272
|
+
"portInfo": {
|
273
|
+
|
274
|
+
},
|
275
|
+
"posID": "534",
|
276
|
+
"vpdID": "102b"
|
277
|
+
}, {
|
278
|
+
"firmware": [{
|
279
|
+
"build": "0",
|
280
|
+
"classifications": [33024],
|
281
|
+
"date": "",
|
282
|
+
"name": "17.0.4.4a",
|
283
|
+
"revision": "0",
|
284
|
+
"role": "Primary",
|
285
|
+
"softwareID": "101404D1",
|
286
|
+
"status": "Active",
|
287
|
+
"type": "VPD-V0",
|
288
|
+
"version": "17.0.4.4a"
|
289
|
+
}],
|
290
|
+
"fodUniqueID": "11SBCM957190123456789",
|
291
|
+
"isAddOnCard": false,
|
292
|
+
"isAgentless": true,
|
293
|
+
"name": "Broadcom NetXtreme Gigabit Ethernet Controller",
|
294
|
+
"pciBusNumber": "27",
|
295
|
+
"pciDeviceNumber": "0",
|
296
|
+
"pciFunctionNumber": "3",
|
297
|
+
"pciRevision": "1",
|
298
|
+
"pciSubID": "4d1",
|
299
|
+
"pciSubVendorID": "1014",
|
300
|
+
"portInfo": {
|
301
|
+
"logicalPorts": [{
|
302
|
+
"addresses": "40F2E9B81583",
|
303
|
+
"portNumber": 1,
|
304
|
+
"portType": "ETHERNET",
|
305
|
+
"vnicMode": false
|
306
|
+
}],
|
307
|
+
"peerBay": 0,
|
308
|
+
"portNumber": 4,
|
309
|
+
"portType": "ETHERNET"
|
310
|
+
},
|
311
|
+
"posID": "1657",
|
312
|
+
"vpdID": "14e4"
|
313
|
+
}],
|
314
|
+
"overallHealthState": "Normal",
|
315
|
+
"partNumber": "00KC903",
|
316
|
+
"partitionID": -1,
|
317
|
+
"pciCapabilities": ["Raid Link",
|
318
|
+
"OOB PCIe",
|
319
|
+
"Raid Link Config",
|
320
|
+
"Raid Link Alert",
|
321
|
+
"OOB PCIe Config"
|
322
|
+
],
|
323
|
+
"pciDevices": [{
|
324
|
+
"FRU": "N/A",
|
325
|
+
"firmware": [{
|
326
|
+
"build": "0",
|
327
|
+
"classifications": [13],
|
328
|
+
"date": "2015-04-06T00:00:00Z",
|
329
|
+
"name": "LSI MegaRAID Controller Firmware",
|
330
|
+
"revision": "0",
|
331
|
+
"role": "Primary",
|
332
|
+
"softwareID": "10140454",
|
333
|
+
"status": "Active",
|
334
|
+
"type": "Software Bundle",
|
335
|
+
"version": "24.7.0-0052"
|
336
|
+
}],
|
337
|
+
"fodUniqueID": "N/A",
|
338
|
+
"fruSerialNumber": "SV42100396",
|
339
|
+
"isAddOnCard": true,
|
340
|
+
"isAgentless": true,
|
341
|
+
"manufacturer": "IBM",
|
342
|
+
"name": "ServeRAID M5210",
|
343
|
+
"partNumber": "N/A",
|
344
|
+
"pciBusNumber": "1",
|
345
|
+
"pciDeviceNumber": "0",
|
346
|
+
"pciFunctionNumber": "0",
|
347
|
+
"pciRevision": "2",
|
348
|
+
"pciSubID": "454",
|
349
|
+
"pciSubVendorID": "1014",
|
350
|
+
"portInfo": {
|
351
|
+
|
352
|
+
},
|
353
|
+
"posID": "5d",
|
354
|
+
"productName": "ServeRAID M5210",
|
355
|
+
"slotName": "SlotDesig4_Slot 4",
|
356
|
+
"slotNumber": "4",
|
357
|
+
"slotSupportsHotPlug": "false",
|
358
|
+
"vpdID": "1000"
|
359
|
+
}, {
|
360
|
+
"firmware": [{
|
361
|
+
"build": "0",
|
362
|
+
"classifications": [33024],
|
363
|
+
"date": "",
|
364
|
+
"name": "17.0.4.4a",
|
365
|
+
"revision": "0",
|
366
|
+
"role": "Primary",
|
367
|
+
"softwareID": "101404D1",
|
368
|
+
"status": "Active",
|
369
|
+
"type": "VPD-V0",
|
370
|
+
"version": "17.0.4.4a"
|
371
|
+
}],
|
372
|
+
"fodUniqueID": "11SBCM957190123456789",
|
373
|
+
"isAddOnCard": false,
|
374
|
+
"isAgentless": true,
|
375
|
+
"name": "Broadcom NetXtreme Gigabit Ethernet Controller",
|
376
|
+
"pciBusNumber": "27",
|
377
|
+
"pciDeviceNumber": "0",
|
378
|
+
"pciFunctionNumber": "3",
|
379
|
+
"pciRevision": "1",
|
380
|
+
"pciSubID": "4d1",
|
381
|
+
"pciSubVendorID": "1014",
|
382
|
+
"portInfo": {
|
383
|
+
"logicalPorts": [{
|
384
|
+
"addresses": "40F2E9B81583",
|
385
|
+
"portNumber": 1,
|
386
|
+
"portType": "ETHERNET",
|
387
|
+
"vnicMode": false
|
388
|
+
}],
|
389
|
+
"peerBay": 0,
|
390
|
+
"portNumber": 4,
|
391
|
+
"portType": "ETHERNET"
|
392
|
+
},
|
393
|
+
"posID": "1657",
|
394
|
+
"vpdID": "14e4"
|
395
|
+
}],
|
396
|
+
"ports": [{
|
397
|
+
"ioModuleBay": 0,
|
398
|
+
"portNumber": 1
|
399
|
+
}, {
|
400
|
+
"ioModuleBay": 0,
|
401
|
+
"portNumber": 2
|
402
|
+
}, {
|
403
|
+
"ioModuleBay": 0,
|
404
|
+
"portNumber": 3
|
405
|
+
}, {
|
406
|
+
"ioModuleBay": 0,
|
407
|
+
"portNumber": 4
|
408
|
+
}],
|
409
|
+
"posID": "",
|
410
|
+
"powerAllocation": {
|
411
|
+
"maximumAllocatedPower": 660,
|
412
|
+
"minimumAllocatedPower": 26
|
413
|
+
},
|
414
|
+
"powerCappingPolicy": {
|
415
|
+
"cappingACorDCMode": "DC",
|
416
|
+
"cappingPolicy": "OFF",
|
417
|
+
"currentPowerCap": 0,
|
418
|
+
"maxPowerCap": 319000,
|
419
|
+
"maximumPowerCappingHotPlugLevel": 367000,
|
420
|
+
"minPowerCap": 85300,
|
421
|
+
"minimumHardCapLevel": 246200,
|
422
|
+
"minimumPowerCappingHotPlugLevel": 268000,
|
423
|
+
"powerCappingAllocUnit": "watts*10^-3"
|
424
|
+
},
|
425
|
+
"powerStatus": 5,
|
426
|
+
"powerSupplies": [{
|
427
|
+
"FRU": "",
|
428
|
+
"cmmDisplayName": "Power Supply 1",
|
429
|
+
"dataHandle": 0,
|
430
|
+
"description": "",
|
431
|
+
"firmware": [],
|
432
|
+
"fruSerialNumber": "",
|
433
|
+
"hardwareRevision": "",
|
434
|
+
"healthState": "CRITICAL",
|
435
|
+
"inputVoltageIsAC": true,
|
436
|
+
"inputVoltageMax": -1,
|
437
|
+
"inputVoltageMin": -1,
|
438
|
+
"leds": [],
|
439
|
+
"machineType": "",
|
440
|
+
"manufactureDate": "",
|
441
|
+
"manufacturer": "EMER",
|
442
|
+
"manufacturerId": "",
|
443
|
+
"model": "",
|
444
|
+
"name": "Power Supply 1",
|
445
|
+
"partNumber": "94Y8136",
|
446
|
+
"posID": "",
|
447
|
+
"powerAllocation": {
|
448
|
+
"totalInputPower": 0,
|
449
|
+
"totalOutputPower": 550000
|
450
|
+
},
|
451
|
+
"powerState": "Unknown",
|
452
|
+
"productId": "",
|
453
|
+
"productName": "",
|
454
|
+
"serialNumber": "K118146600A",
|
455
|
+
"slots": [1],
|
456
|
+
"type": "PowerSupply",
|
457
|
+
"uri": "powerSupply/",
|
458
|
+
"userDescription": "",
|
459
|
+
"uuid": "",
|
460
|
+
"vpdID": ""
|
461
|
+
}, {
|
462
|
+
"FRU": "",
|
463
|
+
"cmmDisplayName": "Power Supply 2",
|
464
|
+
"dataHandle": 0,
|
465
|
+
"description": "",
|
466
|
+
"firmware": [],
|
467
|
+
"fruSerialNumber": "",
|
468
|
+
"hardwareRevision": "",
|
469
|
+
"healthState": "CRITICAL",
|
470
|
+
"inputVoltageIsAC": true,
|
471
|
+
"inputVoltageMax": -1,
|
472
|
+
"inputVoltageMin": -1,
|
473
|
+
"leds": [],
|
474
|
+
"machineType": "",
|
475
|
+
"manufactureDate": "",
|
476
|
+
"manufacturer": "EMER",
|
477
|
+
"manufacturerId": "",
|
478
|
+
"model": "",
|
479
|
+
"name": "Power Supply 2",
|
480
|
+
"partNumber": "94Y8136",
|
481
|
+
"posID": "",
|
482
|
+
"powerAllocation": {
|
483
|
+
"totalInputPower": 0,
|
484
|
+
"totalOutputPower": 550000
|
485
|
+
},
|
486
|
+
"powerState": "Unknown",
|
487
|
+
"productId": "",
|
488
|
+
"productName": "",
|
489
|
+
"serialNumber": "K1181466087",
|
490
|
+
"slots": [2],
|
491
|
+
"type": "PowerSupply",
|
492
|
+
"uri": "powerSupply/",
|
493
|
+
"userDescription": "",
|
494
|
+
"uuid": "",
|
495
|
+
"vpdID": ""
|
496
|
+
}],
|
497
|
+
"processorSlots": 0,
|
498
|
+
"processors": [{
|
499
|
+
"cores": 10,
|
500
|
+
"displayName": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz",
|
501
|
+
"family": "INTEL_R_XEON_TM",
|
502
|
+
"manufacturer": "Intel(R) Corporation",
|
503
|
+
"productVersion": "Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz",
|
504
|
+
"slot": 1,
|
505
|
+
"speed": 2.2999999999999998
|
506
|
+
}],
|
507
|
+
"productId": "4D4F00",
|
508
|
+
"productName": "Lenovo System x3550 M5",
|
509
|
+
"raidSettings": [{
|
510
|
+
"description": "ServeRAID M5210",
|
511
|
+
"diskDrives": [{
|
512
|
+
"FRU": "42D0631",
|
513
|
+
"bay": 0,
|
514
|
+
"blockSize": 512,
|
515
|
+
"description": "AL13SEB300",
|
516
|
+
"diskState": "System",
|
517
|
+
"healthState": "Normal",
|
518
|
+
"interfaceType": "SAS",
|
519
|
+
"manufacturer": "IBM-ESXS",
|
520
|
+
"mediaType": "Rotational",
|
521
|
+
"model": "AL13SEB300",
|
522
|
+
"name": "Disk 0_0",
|
523
|
+
"numberOfBlocks": 585937500,
|
524
|
+
"partNumber": "42D0628",
|
525
|
+
"serialNumber": "44P012H5",
|
526
|
+
"uuid": ""
|
527
|
+
}, {
|
528
|
+
"FRU": "81Y3810",
|
529
|
+
"bay": 1,
|
530
|
+
"blockSize": 512,
|
531
|
+
"description": "ST9300653SS",
|
532
|
+
"diskState": "System",
|
533
|
+
"healthState": "Normal",
|
534
|
+
"interfaceType": "SAS",
|
535
|
+
"manufacturer": "IBM-ESXS",
|
536
|
+
"mediaType": "Rotational",
|
537
|
+
"model": "ST9300653SS",
|
538
|
+
"name": "Disk 2_2",
|
539
|
+
"numberOfBlocks": 585937500,
|
540
|
+
"partNumber": "81Y9667",
|
541
|
+
"serialNumber": "6XN3J9M9",
|
542
|
+
"uuid": ""
|
543
|
+
}],
|
544
|
+
"firmware": [{
|
545
|
+
"build": "0",
|
546
|
+
"classifications": [],
|
547
|
+
"date": "2015-04-06T00:00:00Z",
|
548
|
+
"name": "LSI MegaRAID Controller Firmware",
|
549
|
+
"revision": "0",
|
550
|
+
"role": "Primary",
|
551
|
+
"softwareID": "10140454",
|
552
|
+
"status": "Active",
|
553
|
+
"type": "",
|
554
|
+
"version": "24.7.0-0052"
|
555
|
+
}],
|
556
|
+
"name": "ServeRAID M5210",
|
557
|
+
"uuid": "0000000000000000500605B008E48280"
|
558
|
+
}],
|
559
|
+
"secureBootMode": {
|
560
|
+
"currentValue": "Disabled",
|
561
|
+
"possibleValues": ["Disabled",
|
562
|
+
"Enabled"
|
563
|
+
]
|
564
|
+
},
|
565
|
+
"serialNumber": "KVD0153",
|
566
|
+
"slots": [1],
|
567
|
+
"status": {
|
568
|
+
"message": "managed",
|
569
|
+
"name": "MANAGED"
|
570
|
+
},
|
571
|
+
"subSlots": [],
|
572
|
+
"subType": "",
|
573
|
+
"tlsVersion": {
|
574
|
+
"currentValue": "TLS_10",
|
575
|
+
"possibleValues": ["TLS_10",
|
576
|
+
"TLS_11",
|
577
|
+
"TLS_12"
|
578
|
+
]
|
579
|
+
},
|
580
|
+
"type": "Rack-Tower Server",
|
581
|
+
"uri": "node/425AF828DF7D11D4B0F8E76767BBBBBB",
|
582
|
+
"userDescription": "",
|
583
|
+
"uuid": "425AF828DF7D11D4B0F8E76767BBBBBB",
|
584
|
+
"vnicMode": "disabled",
|
585
|
+
"vpdID": ""
|
586
|
+
}, {
|
587
|
+
"accessState": "Online",
|
588
|
+
"activationKeys": [],
|
589
|
+
"addinCards": [],
|
590
|
+
"addinCardSlots": 0,
|
591
|
+
"arch": "x86_64",
|
592
|
+
"backedBy": "real",
|
593
|
+
"bladeState": 0,
|
594
|
+
"bootMode": {
|
595
|
+
"possibleValues": ["Legacy Only",
|
596
|
+
"UEFI and Legacy",
|
597
|
+
"UEFI Only"
|
598
|
+
],
|
599
|
+
"currentValue": "UEFI and Legacy"
|
600
|
+
},
|
601
|
+
"bootOrder": {
|
602
|
+
"bootOrderList": [{
|
603
|
+
"bootType": "SingleUse",
|
604
|
+
"currentBootOrderDevices": ["None"],
|
605
|
+
"possibleBootOrderDevices": ["Boot To F1",
|
606
|
+
"CD/DVD Rom",
|
607
|
+
"Diagnostics",
|
608
|
+
"Floppy Disk",
|
609
|
+
"Hard Disk 0",
|
610
|
+
"Hypervisor",
|
611
|
+
"None",
|
612
|
+
"PXE Network"
|
613
|
+
]
|
614
|
+
}],
|
615
|
+
"uri": "node/00DD973D1C2CE511B19E3C18A000F4F0/bootOrder"
|
616
|
+
},
|
617
|
+
"cmmDisplayName": "",
|
618
|
+
"cmmHealthState": "Warning",
|
619
|
+
"complexID": -1,
|
620
|
+
"contact": "",
|
621
|
+
"dataHandle": 0,
|
622
|
+
"description": "chassis RD650",
|
623
|
+
"domainName": "lenovo.com",
|
624
|
+
"driveBays": 2,
|
625
|
+
"drives": [{
|
626
|
+
"bay": 0,
|
627
|
+
"capacity": 953,
|
628
|
+
"interfaceType": "SATA",
|
629
|
+
"mediaType": "HDD",
|
630
|
+
"speed": "6.0 Gb/s",
|
631
|
+
"state": "stopped",
|
632
|
+
"raidPresence": "Regular"
|
633
|
+
}, {
|
634
|
+
"bay": 1,
|
635
|
+
"capacity": 953,
|
636
|
+
"interfaceType": "SATA",
|
637
|
+
"mediaType": "HDD",
|
638
|
+
"raidPresence": "Regular",
|
639
|
+
"speed": "6.0 Gb/s",
|
640
|
+
"state": "stopped"
|
641
|
+
}],
|
642
|
+
"embeddedHypervisorPresence": false,
|
643
|
+
"errorFields": [],
|
644
|
+
"excludedHealthState": "Warning",
|
645
|
+
"expansionCards": [],
|
646
|
+
"expansionCardSlots": 0,
|
647
|
+
"expansionProducts": [],
|
648
|
+
"expansionProductType": "",
|
649
|
+
"fans": [],
|
650
|
+
"firmware": [{
|
651
|
+
"build": "",
|
652
|
+
"date": "",
|
653
|
+
"name": "BIOS",
|
654
|
+
"role": "PRIMARY",
|
655
|
+
"status": "ACTIVE",
|
656
|
+
"type": "BIOS",
|
657
|
+
"version": "PB2TS154"
|
658
|
+
}, {
|
659
|
+
"build": "",
|
660
|
+
"date": "",
|
661
|
+
"name": "Windows Driver Bundle",
|
662
|
+
"role": "",
|
663
|
+
"status": "ACTIVE",
|
664
|
+
"type": "Windows Driver Bundle",
|
665
|
+
"version": "1.02.0004"
|
666
|
+
}],
|
667
|
+
"flashStorage": [],
|
668
|
+
"FRU": "",
|
669
|
+
"fruSerialNumber": "8SSB20A05917R2SH54D005X",
|
670
|
+
"hasOS": false,
|
671
|
+
"height": 2,
|
672
|
+
"hostMacAddresses": "",
|
673
|
+
"hostname": "blah",
|
674
|
+
"ipInterfaces": [],
|
675
|
+
"ipv4Addresses": ["10.35.106.142"],
|
676
|
+
"ipv6Addresses": [""],
|
677
|
+
"isConnectionTrusted": "true",
|
678
|
+
"isITME": false,
|
679
|
+
"isRemotePresenceEnabled": true,
|
680
|
+
"isScalable": false,
|
681
|
+
"lanOverUsb": "disabled",
|
682
|
+
"leds": [{
|
683
|
+
"conditions": "Fault",
|
684
|
+
"color": "Red",
|
685
|
+
"location": "FrontPanel",
|
686
|
+
"name": "Fault",
|
687
|
+
"state": "Off"
|
688
|
+
}, {
|
689
|
+
"conditions": "Fault",
|
690
|
+
"color": "Red",
|
691
|
+
"location": "PSU",
|
692
|
+
"name": "PSU1 FAULT",
|
693
|
+
"state": "Off"
|
694
|
+
}],
|
695
|
+
"location": {
|
696
|
+
"location": "",
|
697
|
+
"lowestRackUnit": 0,
|
698
|
+
"rack": "",
|
699
|
+
"room": ""
|
700
|
+
},
|
701
|
+
"macAddress": "00:8C:FA:E7:E8:D0,00:8C:FA:E7:E8:D1",
|
702
|
+
"machineType": "RD650",
|
703
|
+
"manufacturer": "LENOVO",
|
704
|
+
"manufacturerId": "",
|
705
|
+
"memoryModules": [{
|
706
|
+
"capacity": 8,
|
707
|
+
"displayName": "DIMM 1",
|
708
|
+
"manufacturer": "Micron Technology",
|
709
|
+
"model": "",
|
710
|
+
"partNumber": "18ASF1G72PZ-2G1A2",
|
711
|
+
"serialNumber": "da90356",
|
712
|
+
"slot": 1,
|
713
|
+
"speed": 1866,
|
714
|
+
"type": "RDIMM",
|
715
|
+
"voltage": "1.2V"
|
716
|
+
}],
|
717
|
+
"memorySlots": 0,
|
718
|
+
"mgmtProcIPaddress": "",
|
719
|
+
"model": "70DR000SUX",
|
720
|
+
"name": "blah",
|
721
|
+
"nist": {
|
722
|
+
"currentValue": "Nist_800_131A_Strict",
|
723
|
+
"possibleValues": ["Compatibility",
|
724
|
+
"Nist_800_131A_Custom",
|
725
|
+
"Nist_800_131A_Strict"
|
726
|
+
]
|
727
|
+
},
|
728
|
+
"onboardPciDevices": [{
|
729
|
+
"fodUniqueID": "",
|
730
|
+
"isAddOnCard": false,
|
731
|
+
"isAgentless": false,
|
732
|
+
"name": "",
|
733
|
+
"pciBusNumber": "4",
|
734
|
+
"pciDeviceNumber": "0",
|
735
|
+
"pciRevision": "0",
|
736
|
+
"pciSubID": "1051",
|
737
|
+
"pciSubVendorID": "17aa",
|
738
|
+
"pciFunctionNumber": "0",
|
739
|
+
"portInfo": {
|
740
|
+
|
741
|
+
},
|
742
|
+
"posID": "73",
|
743
|
+
"vpdID": "1000"
|
744
|
+
}],
|
745
|
+
"overallHealthState": "Warning",
|
746
|
+
"partitionID": -1,
|
747
|
+
"partNumber": "",
|
748
|
+
"pciCapabilities": [],
|
749
|
+
"pciDevices": [{
|
750
|
+
"fodUniqueID": "",
|
751
|
+
"isAddOnCard": false,
|
752
|
+
"isAgentless": false,
|
753
|
+
"name": "",
|
754
|
+
"pciBusNumber": "4",
|
755
|
+
"pciFunctionNumber": "0",
|
756
|
+
"pciRevision": "0",
|
757
|
+
"pciSubID": "1051",
|
758
|
+
"pciSubVendorID": "17aa",
|
759
|
+
"pciDeviceNumber": "0",
|
760
|
+
"portInfo": {
|
761
|
+
|
762
|
+
},
|
763
|
+
"posID": "73",
|
764
|
+
"vpdID": "1000"
|
765
|
+
}],
|
766
|
+
"ports": [],
|
767
|
+
"posID": "",
|
768
|
+
"powerAllocation": {
|
769
|
+
"maximumAllocatedPower": 0,
|
770
|
+
"minimumAllocatedPower": 0
|
771
|
+
},
|
772
|
+
"powerCappingPolicy": {
|
773
|
+
"cappingACorDCMode": "UNKNOWN",
|
774
|
+
"cappingPolicy": "UNKNOWN",
|
775
|
+
"currentPowerCap": 0,
|
776
|
+
"maxPowerCap": -1,
|
777
|
+
"maximumPowerCappingHotPlugLevel": -1,
|
778
|
+
"minimumHardCapLevel": -1,
|
779
|
+
"minPowerCap": -1,
|
780
|
+
"minimumPowerCappingHotPlugLevel": -1,
|
781
|
+
"powerCappingAllocUnit": "watts"
|
782
|
+
|
783
|
+
},
|
784
|
+
"powerStatus": 8,
|
785
|
+
"powerSupplies": [{
|
786
|
+
"cmmDisplayName": null,
|
787
|
+
"dataHandle": 0,
|
788
|
+
"description": "Power Supply 1",
|
789
|
+
"firmware": [],
|
790
|
+
"FRU": null,
|
791
|
+
"fruSerialNumber": null,
|
792
|
+
"hardwareRevision": "01F",
|
793
|
+
"healthState": "GOOD",
|
794
|
+
"inputVoltageIsAC": false,
|
795
|
+
"inputVoltageMax": 0,
|
796
|
+
"inputVoltageMin": 0,
|
797
|
+
"leds": [{
|
798
|
+
"color": "Green",
|
799
|
+
"location": "FRU",
|
800
|
+
"name": "IN",
|
801
|
+
"state": "On"
|
802
|
+
}, {
|
803
|
+
"color": "Amber",
|
804
|
+
"location": "FRU",
|
805
|
+
"name": "FAULT",
|
806
|
+
"state": "Off"
|
807
|
+
}],
|
808
|
+
"machineType": null,
|
809
|
+
"manufactureDate": "Feb 5, 2015",
|
810
|
+
"manufacturer": null,
|
811
|
+
"manufacturerId": "DELTA",
|
812
|
+
"model": "DPS-1100EB A",
|
813
|
+
"name": "0F33323D1DG525001X",
|
814
|
+
"partNumber": null,
|
815
|
+
"posID": null,
|
816
|
+
"powerAllocation": {
|
817
|
+
"totalInputPower": 0,
|
818
|
+
"totalOutputPower": 0
|
819
|
+
},
|
820
|
+
"powerState": null,
|
821
|
+
"productId": null,
|
822
|
+
"productName": null,
|
823
|
+
"serialNumber": "0F33323D1DG525001X",
|
824
|
+
"slots": [0],
|
825
|
+
"type": "PowerSupply",
|
826
|
+
"uri": "powerSupply/null",
|
827
|
+
"userDescription": null,
|
828
|
+
"uuid": null,
|
829
|
+
"vpdID": null
|
830
|
+
}],
|
831
|
+
"processors": [{
|
832
|
+
"cores": 8,
|
833
|
+
"displayName": "",
|
834
|
+
"family": "Intel Nehalem Family",
|
835
|
+
"manufacturer": "GenuineIntel",
|
836
|
+
"productVersion": "Haswell Server Model",
|
837
|
+
"slot": 1,
|
838
|
+
"speed": 3.4
|
839
|
+
}],
|
840
|
+
"processorSlots": 0,
|
841
|
+
"productId": "",
|
842
|
+
"productName": "RD650",
|
843
|
+
"raidSettings": [],
|
844
|
+
"secureBootMode": {
|
845
|
+
"currentValue": "",
|
846
|
+
"possibleValues": []
|
847
|
+
},
|
848
|
+
"serialNumber": "MJ02SC2F",
|
849
|
+
"slots": [1],
|
850
|
+
"status": {
|
851
|
+
"message": "managed",
|
852
|
+
"name": "MANAGED"
|
853
|
+
},
|
854
|
+
"subType": "",
|
855
|
+
"subSlots": [],
|
856
|
+
"thinkServerFru": [{
|
857
|
+
"deviceName": "12GBP 8xS",
|
858
|
+
"description": "BackPlane1 FRU",
|
859
|
+
"manufatucturer": "LENOVO",
|
860
|
+
"manufatucturerDate": "Dec 24, 2014",
|
861
|
+
"partNumber": "SSF0A47711",
|
862
|
+
"serial": "8SSSF0A47711V1SH4CR0079"
|
863
|
+
}, {
|
864
|
+
"deviceName": "Riser2U 3x8",
|
865
|
+
"description": "Riser1 FRU",
|
866
|
+
"manufatucturer": "LENOVO",
|
867
|
+
"manufatucturerDate": "Dec 15, 2014",
|
868
|
+
"partNumber": "SC50A06667",
|
869
|
+
"serial": "8SSC50A06667V1SH4CE00JW"
|
870
|
+
}],
|
871
|
+
"tlsVersion": {
|
872
|
+
"currentValue": "Unknown",
|
873
|
+
"possibleValues": ["TLS_10",
|
874
|
+
"TLS_11",
|
875
|
+
"TLS_12"
|
876
|
+
]
|
877
|
+
},
|
878
|
+
"type": "Lenovo ThinkServer",
|
879
|
+
"uri": "node/00DD973D1C2CE511B19E3C18A000F4F0",
|
880
|
+
"userDescription": "",
|
881
|
+
"uuid": "00DD973D1C2CE511B19E3C18A000F4F0",
|
882
|
+
"vnicMode": "disabled",
|
883
|
+
"vpdID": ""
|
884
|
+
}]
|
885
|
+
}
|
886
|
+
+ Response 400
|
887
|
+
+ Response 401
|
888
|
+
+ Response 404
|
889
|
+
+ Response 409
|
890
|
+
+ Response 500
|