Add DMTF mockup fixtures and test helpers

Unmodified files from DMTF Redfish-Publications (public-rackmount1, public-localstorage, public-telemetry), only those the tests use, each set with DMTF's BSD-3-Clause license and a COMMANDS.txt naming the source commit and request paths.

conftest.py loads them by request path and serves a mockup over mocked HTTP, with a SessionService that hands out a token, for the transport tests.
This commit is contained in:
Christian Manivong committed 2026-10-12 23:42:14 +00:00
1 parent 17d515d035
commit c8bcd5ace1
77 files changed
+4051

No files matched your search

@@ -0,0 +1,139 @@
{
"@odata.type": "#Power.v1_7_3.Power",
"Id": "Power",
"Name": "Power",
"PowerControl": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Power#/PowerControl/0",
"MemberId": "0",
"Name": "System Input Power",
"PowerConsumedWatts": 344,
"PowerRequestedWatts": 800,
"PowerAvailableWatts": 0,
"PowerCapacityWatts": 800,
"PowerAllocatedWatts": 800,
"PowerMetrics": {
"IntervalInMin": 30,
"MinConsumedWatts": 271,
"MaxConsumedWatts": 489,
"AverageConsumedWatts": 319
},
"PowerLimit": {
"LimitInWatts": 500,
"LimitException": "LogEventOnly",
"CorrectionInMs": 50
},
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2"
},
{
"@odata.id": "/redfish/v1/Chassis/1U"
}
],
"Status": {
"State": "Enabled",
"Health": "OK"
}
}
],
"Voltages": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Power#/Voltages/0",
"MemberId": "0",
"Name": "VRM1 Voltage",
"SensorNumber": 11,
"Status": {
"State": "Enabled",
"Health": "OK"
},
"ReadingVolts": 12,
"UpperThresholdNonCritical": 12.5,
"UpperThresholdCritical": 13,
"UpperThresholdFatal": 15,
"LowerThresholdNonCritical": 11.5,
"LowerThresholdCritical": 11,
"LowerThresholdFatal": 10,
"MinReadingRange": 0,
"MaxReadingRange": 20,
"PhysicalContext": "VoltageRegulator",
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2"
},
{
"@odata.id": "/redfish/v1/Chassis/1U"
}
]
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Power#/Voltages/1",
"MemberId": "1",
"Name": "VRM2 Voltage",
"SensorNumber": 12,
"Status": {
"State": "Enabled",
"Health": "OK"
},
"ReadingVolts": 5,
"UpperThresholdNonCritical": 5.5,
"UpperThresholdCritical": 7,
"LowerThresholdNonCritical": 4.75,
"LowerThresholdCritical": 4.5,
"MinReadingRange": 0,
"MaxReadingRange": 20,
"PhysicalContext": "VoltageRegulator",
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2"
},
{
"@odata.id": "/redfish/v1/Chassis/1U"
}
]
}
],
"PowerSupplies": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Power#/PowerSupplies/0",
"MemberId": "0",
"Name": "Power Supply Bay",
"Status": {
"State": "Enabled",
"Health": "Warning"
},
"PowerSupplyType": "AC",
"LineInputVoltageType": "ACWideRange",
"LineInputVoltage": 120,
"PowerCapacityWatts": 800,
"LastPowerOutputWatts": 325,
"Model": "499253-B21",
"Manufacturer": "ManufacturerName",
"FirmwareVersion": "1.00",
"SerialNumber": "1Z0000001",
"PartNumber": "0000001A3A",
"SparePartNumber": "0000001A3A",
"InputRanges": [
{
"InputType": "AC",
"MinimumVoltage": 100,
"MaximumVoltage": 120,
"OutputWattage": 800
},
{
"InputType": "AC",
"MinimumVoltage": 200,
"MaximumVoltage": 240,
"OutputWattage": 1300
}
],
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Chassis/1U"
}
]
}
],
"@odata.id": "/redfish/v1/Chassis/1U/Power",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,85 @@
{
"@odata.type": "#PowerSupplyMetrics.v1_3_0.PowerSupplyMetrics",
"Id": "Metrics",
"Name": "Metrics for Power Supply 1",
"Status": {
"State": "Enabled",
"Health": "Warning"
},
"InputVoltage": {
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1InputVoltage",
"Reading": 230.2
},
"InputCurrentAmps": {
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1InputCurrent",
"Reading": 5.19
},
"InputPowerWatts": {
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1InputPower",
"Reading": 937.4
},
"RailVoltage": [
{
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1Out3V",
"Reading": 3.31
},
{
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1Out5V",
"Reading": 5.03
},
{
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1Out12V",
"Reading": 12.06
}
],
"RailCurrentAmps": [
{
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1Out3VCurrent",
"Reading": 9.84
},
{
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1Out5VCurrent",
"Reading": 1.25
},
{
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1Out12VCurrent",
"Reading": 2.58
}
],
"OutputPowerWatts": {
"Reading": 937.4
},
"RailPowerWatts": [
{
"Reading": 79.84
},
{
"Reading": 26.25
},
{
"Reading": 91.58
}
],
"EnergykWh": {
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1Energy",
"Reading": 325675
},
"FrequencyHz": {
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/PS1Frequency",
"Reading": 60
},
"TemperatureCelsius": {
"Reading": 43.9
},
"FanSpeedPercent": {
"Reading": 68,
"SpeedRPM": 3290
},
"Actions": {
"#PowerSupplyMetrics.ResetMetrics": {
"target": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Metrics/Actions/PowerSupplyMetrics.ResetMetrics"
}
},
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Metrics",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,99 @@
{
"@odata.type": "#PowerSupply.v1_8_0.PowerSupply",
"Id": "Bay1",
"Name": "Power Supply Bay 1",
"Status": {
"State": "Enabled",
"Health": "Warning",
"Conditions": [
{
"MessageId": "Power.1.0.PowerSupplyPredictiveFailure",
"Timestamp": "2023-06-08T12:25:00-05:00",
"Message": "Power supply 'PSU 1' has a predicted failure condition.",
"Severity": "Warning",
"MessageArgs": [
"PSU 1"
]
}
]
},
"LineInputStatus": "Normal",
"Model": "RKS-440DC",
"Manufacturer": "Contoso Power",
"FirmwareVersion": "1.00",
"SerialNumber": "3488247",
"PartNumber": "23456-133",
"SparePartNumber": "93284-133",
"LocationIndicatorActive": false,
"HotPluggable": false,
"PowerCapacityWatts": 400,
"PhaseWiringType": "OnePhase3Wire",
"PlugType": "IEC_60320_C14",
"InputRanges": [
{
"NominalVoltageType": "AC200To240V",
"CapacityWatts": 400
},
{
"NominalVoltageType": "AC120V",
"CapacityWatts": 350
},
{
"NominalVoltageType": "DC380V",
"CapacityWatts": 400
}
],
"EfficiencyRatings": [
{
"LoadPercent": 25,
"EfficiencyPercent": 75
},
{
"LoadPercent": 50,
"EfficiencyPercent": 85
},
{
"LoadPercent": 90,
"EfficiencyPercent": 80
}
],
"OutputRails": [
{
"NominalVoltage": 3.3,
"PhysicalContext": "SystemBoard"
},
{
"NominalVoltage": 5,
"PhysicalContext": "SystemBoard"
},
{
"NominalVoltage": 12,
"PhysicalContext": "StorageDevice"
}
],
"Location": {
"PartLocation": {
"ServiceLabel": "PSU 1",
"LocationType": "Bay",
"LocationOrdinalValue": 0
}
},
"Links": {
"Outlet": {
"@odata.id": "https://redfishpdu.contoso.com/redfish/v1/PowerEquipment/RackPDUs/1/Outlets/A4"
}
},
"Assembly": {
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Assembly"
},
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Metrics"
},
"Actions": {
"#PowerSupply.Reset": {
"target": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Actions/PowerSupply.Reset"
}
},
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,19 @@
{
"@odata.type": "#PowerSupply.v1_8_0.PowerSupply",
"Id": "Bay2",
"Name": "Power Supply Bay 2",
"Status": {
"State": "Absent"
},
"PowerSupplyType": "PSU",
"HotPluggable": false,
"Location": {
"PartLocation": {
"ServiceLabel": "PSU 2",
"LocationType": "Bay",
"LocationOrdinalValue": 1
}
},
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay2",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,15 @@
{
"@odata.type": "#PowerSupplyCollection.PowerSupplyCollection",
"Name": "Power Supply Collection",
"Members@odata.count": 2,
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay2"
}
],
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,47 @@
{
"@odata.type": "#PowerSubsystem.v1_2_0.PowerSubsystem",
"Id": "PowerSubsystem",
"Name": "Power Subsystem for Chassis",
"CapacityWatts": 2000,
"Allocation": {
"RequestedWatts": 1500,
"AllocatedWatts": 1200
},
"PowerSupplyRedundancy": [
{
"RedundancyType": "Failover",
"MaxSupportedInGroup": 2,
"MinNeededInGroup": 1,
"MinNeededForFaultTolerance": 2,
"RedundancyGroup": [
{
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay2"
}
],
"ActiveRedundancyGroup": [
{
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1"
}
],
"Status": {
"State": "UnavailableOffline",
"Health": "OK"
}
}
],
"PowerSupplies": {
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies"
},
"Batteries": {
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem/Batteries"
},
"Status": {
"State": "Enabled",
"Health": "OK"
},
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,83 @@
{
"@odata.type": "#Sensor.v1_14_0.Sensor",
"Id": "CPU1Temp",
"Name": "CPU #1 Temperature",
"PhysicalContext": "CPU",
"Status": {
"State": "Enabled",
"Health": "Warning",
"Conditions": [
{
"MessageId": "Sensor.1.0.ReadingAboveUpperCautionThreshold",
"Timestamp": "2024-08-12T12:25:00-05:00",
"Message": "Sensor 'CPU1 Temp' reading of 44 (Cel) is above the 42 upper caution threshold.",
"Severity": "Warning",
"MessageArgs": [
"CPU1 Temp",
"44",
"Cel",
"42"
]
}
]
},
"Reading": 44,
"ReadingUnits": "Cel",
"Thresholds": {
"UpperCaution": {
"Reading": 42,
"DwellTime": "PT5M",
"Activation": "Increasing",
"HysteresisReading": -2,
"HysteresisDuration": "PT1M",
"@Redfish.WriteableProperties": []
},
"UpperCautionUser": {
"Reading": 40,
"DwellTime": "PT5M",
"HysteresisReading": 0,
"HysteresisDuration": "PT10M",
"@Redfish.WriteableProperties": [
"Reading",
"DwellTime",
"HysteresisReading",
"HysteresisDuration"
]
},
"UpperCritical": {
"Reading": 45,
"DwellTime": "PT1M",
"Activation": "Increasing",
"HysteresisReading": -2,
"HysteresisDuration": "PT1M",
"@Redfish.WriteableProperties": []
},
"UpperCriticalUser": {
"Reading": 45,
"DwellTime": "PT10S",
"HysteresisReading": -1,
"HysteresisDuration": "PT5M",
"@Redfish.WriteableProperties": [
"Reading",
"DwellTime",
"HysteresisReading",
"HysteresisDuration"
]
},
"UpperFatal": {
"Reading": 50,
"DwellTime": "PT30S",
"Activation": "Increasing",
"@Redfish.WriteableProperties": []
}
},
"ReadingRangeMin": 0,
"ReadingRangeMax": 75,
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2/Processors/CPU1"
}
],
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/CPU1Temp",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,36 @@
{
"@odata.type": "#Sensor.v1_14_0.Sensor",
"Id": "CPUFan1",
"Name": "CPU #1 Fan Speed",
"PhysicalContext": "CPU",
"Reading": 45,
"SpeedRPM": 1490,
"ReadingRangeMax": 100,
"ReadingRangeMin": 0,
"ReadingType": "Percent",
"ReadingUnits": "%",
"Status": {
"Health": "OK",
"State": "Enabled"
},
"Thresholds": {
"LowerCaution": {
"Reading": 5,
"DwellTime": "PT30S",
"Activation": "Decreasing",
"HysteresisReading": 2,
"HysteresisDuration": "PT1M",
"@Redfish.WriteableProperties": []
},
"LowerCritical": {
"Reading": 0,
"DwellTime": "PT10S",
"Activation": "Decreasing",
"HysteresisReading": 2,
"HysteresisDuration": "PT1M",
"@Redfish.WriteableProperties": []
}
},
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/CPUFan1",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,16 @@
{
"@odata.type": "#Sensor.v1_14_0.Sensor",
"Id": "IntakeTemp",
"Name": "Front Panel Intake Temperature",
"PhysicalContext": "Intake",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"Reading": 24.8,
"ReadingUnits": "Cel",
"ReadingRangeMin": 0,
"ReadingRangeMax": 75,
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/IntakeTemp",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,41 @@
{
"@odata.type": "#Sensor.v1_14_0.Sensor",
"Id": "PS1InputVoltage",
"Name": "Power Supply #1 Input Voltage",
"ReadingType": "Voltage",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"ElectricalContext": "Total",
"Reading": 119.27,
"ReadingUnits": "V",
"ReadingRangeMin": 0,
"ReadingRangeMax": 260,
"Accuracy": 0.02,
"Precision": 2,
"SensingInterval": "PT0.125S",
"PhysicalContext": "PowerSupply",
"PhysicalSubContext": "Input",
"Thresholds": {
"UpperCritical": {
"Reading": 125,
"Activation": "Increasing",
"DwellTime": "PT1M"
},
"UpperCaution": {
"Reading": 122,
"DwellTime": "PT10M"
},
"LowerCaution": {
"Reading": 118,
"DwellTime": "PT5M"
},
"LowerCritical": {
"Reading": 115,
"DwellTime": "PT1M"
}
},
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1InputVoltage",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,53 @@
{
"@odata.type": "#Sensor.v1_14_0.Sensor",
"Id": "TotalPower",
"Name": "Power reading for the Chassis",
"ReadingType": "Power",
"ElectricalContext": "Total",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"Reading": 374,
"ReadingUnits": "W",
"Implementation": "Synthesized",
"ReadingTime": "2019-08-13T04:14:33+06:00",
"ReadingRangeMin": 0,
"ReadingRangeMax": 600,
"ApparentVA": 2749.2,
"ReactiveVAR": 281.4,
"PowerFactor": 0.99,
"Accuracy": 0.2,
"Precision": 1,
"SensingInterval": "PT0.25S",
"PhysicalContext": "Chassis",
"Thresholds": {
"UpperCritical": {
"Reading": 600,
"Activation": "Increasing",
"DwellTime": "PT1M",
"HysteresisReading": -10,
"HysteresisDuration": "PT1M",
"@Redfish.WriteableProperties": [
"Reading",
"DwellTime",
"HysteresisReading",
"HysteresisDuration"
]
},
"UpperCaution": {
"Reading": 580,
"DwellTime": "PT10M",
"HysteresisReading": -10,
"HysteresisDuration": "PT10M",
"@Redfish.WriteableProperties": [
"Reading",
"DwellTime",
"HysteresisReading",
"HysteresisDuration"
]
}
},
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/TotalPower",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,132 @@
{
"@odata.type": "#SensorCollection.SensorCollection",
"Name": "Chassis sensors",
"Members@odata.count": 41,
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/AmbientTemp"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/CPUFan1"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/CPUFan2"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/CPU1Temp"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/DIMM1Temp"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/DIMM2Temp"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/DIMM3Temp"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/ExhaustTemp"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/FanBay1"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/FanBay2"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/IntakeTemp"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Energy"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Frequency"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1InputCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1InputPower"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1InputVoltage"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out12V"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out12VCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out3V"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out3VCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out5V"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out5VCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Energy"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Frequency"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2InputCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2InputPower"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2InputVoltage"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out12V"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out12VCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out3V"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out3VCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out5V"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out5VCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/TotalEnergy"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/TotalPower"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1Temp"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1InputVoltage"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1InputCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1OutputVoltage"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1OutputCurrent"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1StateOfHealth"
}
],
"@odata.id": "/redfish/v1/Chassis/1U/Sensors",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,159 @@
{
"@odata.type": "#Thermal.v1_7_3.Thermal",
"Id": "Thermal",
"Name": "Thermal",
"Temperatures": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Temperatures/0",
"MemberId": "0",
"Name": "CPU1 Temp",
"SensorNumber": 5,
"Status": {
"State": "Enabled",
"Health": "OK"
},
"ReadingCelsius": 41,
"UpperThresholdNonCritical": 42,
"UpperThresholdCritical": 45,
"UpperThresholdFatal": 48,
"MinReadingRangeTemp": 0,
"MaxReadingRangeTemp": 60,
"PhysicalContext": "CPU",
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2/Processors/CPU1"
}
]
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Temperatures/1",
"MemberId": "1",
"Name": "CPU2 Temp",
"SensorNumber": 6,
"Status": {
"State": "Disabled"
},
"UpperThresholdNonCritical": 42,
"UpperThresholdCritical": 45,
"UpperThresholdFatal": 48,
"MinReadingRangeTemp": 0,
"MaxReadingRangeTemp": 60,
"PhysicalContext": "CPU",
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2/Processors/CPU2"
}
]
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Temperatures/2",
"MemberId": "2",
"Name": "Chassis Intake Temp",
"SensorNumber": 9,
"Status": {
"State": "Enabled",
"Health": "OK"
},
"ReadingCelsius": 25,
"UpperThresholdNonCritical": 30,
"UpperThresholdCritical": 40,
"UpperThresholdFatal": 50,
"LowerThresholdNonCritical": 10,
"LowerThresholdCritical": 5,
"LowerThresholdFatal": 0,
"MinReadingRangeTemp": 0,
"MaxReadingRangeTemp": 60,
"PhysicalContext": "Intake",
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Chassis/1U"
},
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2"
}
]
}
],
"Fans": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Fans/0",
"MemberId": "0",
"Name": "BaseBoard System Fan",
"PhysicalContext": "Backplane",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"Reading": 2100,
"ReadingUnits": "RPM",
"LowerThresholdFatal": 0,
"MinReadingRange": 0,
"MaxReadingRange": 5000,
"Redundancy": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Redundancy/0"
}
],
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2"
},
{
"@odata.id": "/redfish/v1/Chassis/1U"
}
]
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Fans/1",
"MemberId": "1",
"Name": "BaseBoard System Fan Backup",
"PhysicalContext": "Backplane",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"Reading": 2050,
"ReadingUnits": "RPM",
"LowerThresholdFatal": 0,
"MinReadingRange": 0,
"MaxReadingRange": 5000,
"Redundancy": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Redundancy/0"
}
],
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2"
},
{
"@odata.id": "/redfish/v1/Chassis/1U"
}
]
}
],
"Redundancy": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Redundancy/0",
"MemberId": "0",
"Name": "BaseBoard System Fans",
"RedundancySet": [
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Fans/0"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/Thermal#/Fans/1"
}
],
"Mode": "N+m",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"MinNumNeeded": 1,
"MaxNumSupported": 2
}
],
"@odata.id": "/redfish/v1/Chassis/1U/Thermal",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,31 @@
{
"@odata.type": "#Fan.v1_6_0.Fan",
"Id": "Bay1",
"Name": "Fan Bay 1",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"PhysicalContext": "Chassis",
"Model": "RKS-440DC",
"Manufacturer": "Contoso Fans",
"PartNumber": "23456-133",
"SparePartNumber": "93284-133",
"LocationIndicatorActive": true,
"HotPluggable": true,
"SpeedPercent": {
"Reading": 45,
"SpeedRPM": 2200,
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/FanBay1"
},
"RatedSpeedRPM": 4900,
"Location": {
"PartLocation": {
"ServiceLabel": "Chassis Fan Bay 1",
"LocationType": "Bay",
"LocationOrdinalValue": 0
}
},
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/Bay1",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,31 @@
{
"@odata.type": "#Fan.v1_6_0.Fan",
"Id": "Bay2",
"Name": "Fan Bay 2",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"PhysicalContext": "Chassis",
"Model": "RKS-440DC",
"Manufacturer": "Contoso Fans",
"PartNumber": "23456-133",
"SparePartNumber": "93284-133",
"LocationIndicatorActive": false,
"HotPluggable": true,
"SpeedPercent": {
"Reading": 45,
"SpeedRPM": 2400,
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/FanBay2"
},
"RatedSpeedRPM": 4900,
"Location": {
"PartLocation": {
"ServiceLabel": "Chassis Fan Bay 2",
"LocationType": "Bay",
"LocationOrdinalValue": 1
}
},
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/Bay2",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,31 @@
{
"@odata.type": "#Fan.v1_6_0.Fan",
"Id": "CPU1",
"Name": "Fan for CPU 1",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"PhysicalContext": "CPU",
"Model": "RKS-440DC",
"Manufacturer": "Contoso Fans",
"PartNumber": "23456-133",
"SparePartNumber": "93284-133",
"LocationIndicatorActive": false,
"HotPluggable": false,
"SpeedPercent": {
"Reading": 45,
"SpeedRPM": 1490,
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/CPUFan1"
},
"RatedSpeedRPM": 3300,
"Location": {
"PartLocation": {
"ServiceLabel": "CPU #1 Fan",
"LocationType": "Bay",
"LocationOrdinalValue": 0
}
},
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/CPU1",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,31 @@
{
"@odata.type": "#Fan.v1_6_0.Fan",
"Id": "CPU2",
"Name": "Fan for CPU 2",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"PhysicalContext": "CPU",
"Model": "RKS-440DC",
"Manufacturer": "Contoso Fans",
"PartNumber": "23456-133",
"SparePartNumber": "93284-133",
"LocationIndicatorActive": false,
"HotPluggable": false,
"SpeedPercent": {
"Reading": 45,
"SpeedRPM": 1490,
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/CPUFan2"
},
"RatedSpeedRPM": 3300,
"Location": {
"PartLocation": {
"ServiceLabel": "CPU #2 Fan",
"LocationType": "Bay",
"LocationOrdinalValue": 1
}
},
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/CPU2",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,21 @@
{
"@odata.type": "#FanCollection.FanCollection",
"Name": "Fan Club",
"Members@odata.count": 4,
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/Bay1"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/Bay2"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/CPU1"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/CPU2"
}
],
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,37 @@
{
"@odata.type": "#ThermalMetrics.v1_3_3.ThermalMetrics",
"Id": "ThermalMetrics",
"Name": "Chassis Thermal Metrics",
"TemperatureSummaryCelsius": {
"Internal": {
"Reading": 39,
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/CPU1Temp"
},
"Intake": {
"Reading": 24.8,
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/IntakeTemp"
},
"Ambient": {
"Reading": 22.5,
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/AmbientTemp"
},
"Exhaust": {
"Reading": 40.5,
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/ExhaustTemp"
}
},
"TemperatureReadingsCelsius": [
{
"Reading": 24.8,
"DeviceName": "Intake",
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/IntakeTemp"
},
{
"Reading": 40.5,
"DeviceName": "Exhaust",
"DataSourceUri": "/redfish/v1/Chassis/1U/Sensors/ExhaustTemp"
}
],
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/ThermalMetrics",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,57 @@
{
"@odata.type": "#ThermalSubsystem.v1_5_0.ThermalSubsystem",
"Id": "ThermalSubsystem",
"Name": "Thermal Subsystem for Chassis",
"FanRedundancy": [
{
"RedundancyType": "NPlusM",
"MaxSupportedInGroup": 2,
"MinNeededInGroup": 1,
"MinNeededForFaultTolerance": 2,
"RedundancyGroup": [
{
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/Bay1"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/Bay2"
}
],
"Status": {
"State": "Enabled",
"Health": "OK"
}
},
{
"RedundancyType": "NPlusM",
"MaxSupportedInGroup": 2,
"MinNeededInGroup": 1,
"MinNeededForFaultTolerance": 2,
"RedundancyGroup": [
{
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/CPU1"
},
{
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans/CPU2"
}
],
"Status": {
"State": "Disabled"
}
}
],
"Fans": {
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Fans"
},
"ThermalMetrics": {
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/ThermalMetrics"
},
"Heaters": {
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem/Heaters"
},
"Status": {
"State": "Enabled",
"Health": "OK"
},
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,104 @@
{
"@odata.type": "#Chassis.v1_29_0.Chassis",
"Id": "1U",
"Name": "Computer System Chassis",
"ChassisType": "RackMount",
"AssetTag": "Portland-45Z-2381",
"Manufacturer": "Contoso",
"Model": "3500RX",
"SKU": "8675309",
"SerialNumber": "437XR1138R2",
"PartNumber": "224071-J23",
"PowerState": "On",
"LocationIndicatorActive": true,
"RackUnits": "EIA_310",
"HeightRackUnits": 1,
"HeightMm": 44.45,
"WidthMm": 431.8,
"DepthMm": 711,
"WeightKg": 15.31,
"Location": {
"PhysicalAddress": {
"Country": "US",
"StateOrProvince": "Oregon",
"City": "Portland",
"StreetAddress": "1001 SW 5th Avenue",
"PostalCode": "97204",
"ISOCountryCode": "USA",
"ISOSubdivisionCode": "OR"
},
"Placement": {
"Row": "North",
"Rack": "WEB43",
"RackOffsetUnits": "EIA_310",
"RackOffset": 12,
"Room": "35",
"FacilityName": "Onsite-Main"
}
},
"Status": {
"State": "Enabled",
"Health": "OK"
},
"ThermalSubsystem": {
"@odata.id": "/redfish/v1/Chassis/1U/ThermalSubsystem"
},
"PowerSubsystem": {
"@odata.id": "/redfish/v1/Chassis/1U/PowerSubsystem"
},
"EnvironmentMetrics": {
"@odata.id": "/redfish/v1/Chassis/1U/EnvironmentMetrics"
},
"Sensors": {
"@odata.id": "/redfish/v1/Chassis/1U/Sensors"
},
"Controls": {
"@odata.id": "/redfish/v1/Chassis/1U/Controls"
},
"TrustedComponents": {
"@odata.id": "/redfish/v1/Chassis/1U/TrustedComponents"
},
"Thermal@Redfish.Deprecated": "Please migrate to use /redfish/v1/Chassis/1U/ThermalSubsystem",
"Thermal": {
"@odata.id": "/redfish/v1/Chassis/1U/Thermal"
},
"Power@Redfish.Deprecated": "Please migrate to use /redfish/v1/Chassis/1U/PowerSubsystem",
"Power": {
"@odata.id": "/redfish/v1/Chassis/1U/Power"
},
"Links": {
"ComputerSystems": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2"
}
],
"ManagedBy": [
{
"@odata.id": "/redfish/v1/Managers/BMC"
}
],
"ManagersInChassis": [
{
"@odata.id": "/redfish/v1/Managers/BMC"
}
]
},
"Actions": {
"#Chassis.Reset": {
"target": "/redfish/v1/Chassis/1U/Actions/Chassis.Reset",
"ResetType@Redfish.AllowableValues": [
"On",
"ForceOff",
"GracefulShutdown",
"GracefulRestart",
"ForceRestart",
"Nmi",
"ForceOn",
"PushPowerButton",
"FullPowerCycle"
]
}
},
"@odata.id": "/redfish/v1/Chassis/1U",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,12 @@
{
"@odata.type": "#ChassisCollection.ChassisCollection",
"Name": "Chassis Collection",
"Members@odata.count": 1,
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1U"
}
],
"@odata.id": "/redfish/v1/Chassis",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}