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.
83 lines
2.6 KiB
JSON
83 lines
2.6 KiB
JSON
{
|
|
"@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."
|
|
} |