fix: read a Supermicro X10 with only the OOB license over Redfish (0.3.1)
First run against real hardware over Redfish: an X10DRL-i (BMC 3.91) with
SFT-OOB-LIC. Its Redfish tree is recorded under
tests/fixtures/supermicro-x10drl-i-3.91/redfish, scrubbed.
- A resource refused for want of a further license (403 OemLicenseNotPassed)
no longer fails the getter. Storage then falls back to SimpleStorage. The
firmware list falls back to the BMC and BIOS versions when UpdateService
is withheld.
- get_device_warnings reports bmc_license_partial with the licenses and the
withheld parts (drives, firmware inventory).
- A placeholder system model ("Super Server") is replaced by the board
(PartNumber, else the chassis model).
This commit is contained in:
1 parent
6c60f7ac60
commit
adf152ee12
78 files changed
+3237
-24
No files matched your search
@@ -0,0 +1,532 @@
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#Power.Power",
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power",
|
||||
"@odata.type": "#Power.v1_1_0.Power",
|
||||
"Id": "Power",
|
||||
"Name": "Power",
|
||||
"Oem": {},
|
||||
"PowerControl": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/PowerControl/0",
|
||||
"@odata.type": "#Power.v1_0_0.PowerControl",
|
||||
"MemberId": "0",
|
||||
"Name": "System Power Control",
|
||||
"Oem": {},
|
||||
"PowerConsumedWatts": 90,
|
||||
"PowerMetrics": {
|
||||
"AverageConsumedWatts": 148,
|
||||
"IntervalInMin": 5,
|
||||
"MaxConsumedWatts": 191,
|
||||
"MinConsumedWatts": 90
|
||||
},
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1/Processors/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1/Processors/2"
|
||||
}
|
||||
],
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"PowerSupplies": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/PowerSupplies/0",
|
||||
"@odata.type": "#Power.v1_1_0.PowerSupply",
|
||||
"FirmwareVersion": "REV1.3",
|
||||
"LastPowerOutputWatts": 131,
|
||||
"LineInputVoltage": 230,
|
||||
"LineInputVoltageType": "ACMidLine",
|
||||
"MemberId": "0",
|
||||
"Model": "PWS-406P-1R",
|
||||
"Name": "Power Supply Bay 1",
|
||||
"Oem": {},
|
||||
"PowerSupplyType": "AC",
|
||||
"Redundancy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Redundancy/0"
|
||||
}
|
||||
],
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 200,
|
||||
"SerialNumber": "SN00000001",
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/PowerSupplies/1",
|
||||
"@odata.type": "#Power.v1_1_0.PowerSupply",
|
||||
"MemberId": "1",
|
||||
"Name": "Power Supply Bay 2",
|
||||
"Oem": {},
|
||||
"SensorNumber": 201,
|
||||
"Status": {
|
||||
"State": "Absent"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Redundancy": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Redundancy/0",
|
||||
"@odata.type": "#Redundancy.v1_2_0.Redundancy",
|
||||
"MaxNumSupported": 4,
|
||||
"MemberId": "0",
|
||||
"MinNumNeeded": 1,
|
||||
"Mode": "Failover",
|
||||
"Name": "PowerSupply Redundancy Group 1",
|
||||
"RedundancySet": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/PowerSupplies/0"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/PowerSupplies/1"
|
||||
}
|
||||
],
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Voltages": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/0",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 10.299,
|
||||
"LowerThresholdFatal": 10.173,
|
||||
"LowerThresholdNonCritical": 10.74,
|
||||
"MaxReadingRange": 16.221,
|
||||
"MemberId": "0",
|
||||
"MinReadingRange": 0.156,
|
||||
"Name": "12V",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 11.937,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 48,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 13.26,
|
||||
"UpperThresholdFatal": 13.386,
|
||||
"UpperThresholdNonCritical": 12.945
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/1",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 4.298,
|
||||
"LowerThresholdFatal": 4.246,
|
||||
"LowerThresholdNonCritical": 4.48,
|
||||
"MaxReadingRange": 6.794,
|
||||
"MemberId": "1",
|
||||
"MinReadingRange": 0.164,
|
||||
"Name": "5VCC",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 4.922,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 49,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 5.546,
|
||||
"UpperThresholdFatal": 5.598,
|
||||
"UpperThresholdNonCritical": 5.39
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/2",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 2.823,
|
||||
"LowerThresholdFatal": 2.789,
|
||||
"LowerThresholdNonCritical": 2.959,
|
||||
"MaxReadingRange": 4.421,
|
||||
"MemberId": "2",
|
||||
"MinReadingRange": 0.086,
|
||||
"Name": "3.3VCC",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 3.35,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 50,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 3.656,
|
||||
"UpperThresholdFatal": 3.69,
|
||||
"UpperThresholdNonCritical": 3.554
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/3",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 2.43,
|
||||
"LowerThresholdFatal": 2.326,
|
||||
"LowerThresholdNonCritical": 2.508,
|
||||
"MaxReadingRange": 6.694,
|
||||
"MemberId": "3",
|
||||
"MinReadingRange": 0.064,
|
||||
"Name": "VBAT",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 2.69,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 51,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 3.782,
|
||||
"UpperThresholdFatal": 3.886,
|
||||
"UpperThresholdNonCritical": 3.678
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/4",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 1.26,
|
||||
"LowerThresholdFatal": 1.242,
|
||||
"LowerThresholdNonCritical": 1.395,
|
||||
"MaxReadingRange": 2.439,
|
||||
"MemberId": "4",
|
||||
"MinReadingRange": 0.144,
|
||||
"Name": "Vcpu1",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 1.818,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1/Processors/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 52,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 2.088,
|
||||
"UpperThresholdFatal": 2.106,
|
||||
"UpperThresholdNonCritical": 1.899
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/5",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 1.26,
|
||||
"LowerThresholdFatal": 1.242,
|
||||
"LowerThresholdNonCritical": 1.395,
|
||||
"MaxReadingRange": 2.439,
|
||||
"MemberId": "5",
|
||||
"MinReadingRange": 0.144,
|
||||
"Name": "Vcpu2",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 1.818,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1/Processors/2"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 54,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 2.088,
|
||||
"UpperThresholdFatal": 2.106,
|
||||
"UpperThresholdNonCritical": 1.899
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/6",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 0.975,
|
||||
"LowerThresholdFatal": 0.948,
|
||||
"LowerThresholdNonCritical": 1.047,
|
||||
"MaxReadingRange": 2.37,
|
||||
"MemberId": "6",
|
||||
"MinReadingRange": 0.075,
|
||||
"Name": "VDIMMAB",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 1.2,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 53,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 1.425,
|
||||
"UpperThresholdFatal": 1.443,
|
||||
"UpperThresholdNonCritical": 1.344
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/7",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 0.975,
|
||||
"LowerThresholdFatal": 0.948,
|
||||
"LowerThresholdNonCritical": 1.047,
|
||||
"MaxReadingRange": 2.37,
|
||||
"MemberId": "7",
|
||||
"MinReadingRange": 0.075,
|
||||
"Name": "VDIMMCD",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 1.2,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 55,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 1.425,
|
||||
"UpperThresholdFatal": 1.443,
|
||||
"UpperThresholdNonCritical": 1.344
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/8",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 0.975,
|
||||
"LowerThresholdFatal": 0.948,
|
||||
"LowerThresholdNonCritical": 1.047,
|
||||
"MaxReadingRange": 2.37,
|
||||
"MemberId": "8",
|
||||
"MinReadingRange": 0.075,
|
||||
"Name": "VDIMMEF",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 1.2,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 58,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 1.425,
|
||||
"UpperThresholdFatal": 1.443,
|
||||
"UpperThresholdNonCritical": 1.344
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/9",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 0.975,
|
||||
"LowerThresholdFatal": 0.948,
|
||||
"LowerThresholdNonCritical": 1.047,
|
||||
"MaxReadingRange": 2.37,
|
||||
"MemberId": "9",
|
||||
"MinReadingRange": 0.075,
|
||||
"Name": "VDIMMGH",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 1.2,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 59,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 1.425,
|
||||
"UpperThresholdFatal": 1.443,
|
||||
"UpperThresholdNonCritical": 1.344
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/10",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 4.298,
|
||||
"LowerThresholdFatal": 4.246,
|
||||
"LowerThresholdNonCritical": 4.48,
|
||||
"MaxReadingRange": 6.768,
|
||||
"MemberId": "10",
|
||||
"MinReadingRange": 0.138,
|
||||
"Name": "5VSB",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 4.896,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 56,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 5.546,
|
||||
"UpperThresholdFatal": 5.598,
|
||||
"UpperThresholdNonCritical": 5.39
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/11",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 2.823,
|
||||
"LowerThresholdFatal": 2.789,
|
||||
"LowerThresholdNonCritical": 2.959,
|
||||
"MaxReadingRange": 4.353,
|
||||
"MemberId": "11",
|
||||
"MinReadingRange": 0.018,
|
||||
"Name": "3.3VSB",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 3.214,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 57,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 3.656,
|
||||
"UpperThresholdFatal": 3.69,
|
||||
"UpperThresholdNonCritical": 3.554
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/12",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 1.347,
|
||||
"LowerThresholdFatal": 1.32,
|
||||
"LowerThresholdNonCritical": 1.401,
|
||||
"MaxReadingRange": 2.418,
|
||||
"MemberId": "12",
|
||||
"MinReadingRange": 0.123,
|
||||
"Name": "1.5V PCH",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 1.5,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 60,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 1.671,
|
||||
"UpperThresholdFatal": 1.698,
|
||||
"UpperThresholdNonCritical": 1.644
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/13",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 1.047,
|
||||
"LowerThresholdFatal": 1.02,
|
||||
"LowerThresholdNonCritical": 1.092,
|
||||
"MaxReadingRange": 2.343,
|
||||
"MemberId": "13",
|
||||
"MinReadingRange": 0.048,
|
||||
"Name": "1.2V BMC",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 1.209,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 61,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 1.371,
|
||||
"UpperThresholdFatal": 1.398,
|
||||
"UpperThresholdNonCritical": 1.344
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1/Power#/Voltages/14",
|
||||
"@odata.type": "#Power.v1_0_0.Voltage",
|
||||
"LowerThresholdCritical": 0.897,
|
||||
"LowerThresholdFatal": 0.87,
|
||||
"LowerThresholdNonCritical": 0.942,
|
||||
"MaxReadingRange": 2.373,
|
||||
"MemberId": "14",
|
||||
"MinReadingRange": 0.078,
|
||||
"Name": "1.05V PCH",
|
||||
"PhysicalContext": "VoltageRegulator",
|
||||
"ReadingVolts": 1.05,
|
||||
"RelatedItem": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Chassis/1"
|
||||
},
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Systems/1"
|
||||
}
|
||||
],
|
||||
"SensorNumber": 62,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"UpperThresholdCritical": 1.221,
|
||||
"UpperThresholdFatal": 1.248,
|
||||
"UpperThresholdNonCritical": 1.194
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user