diff --git a/tests/fixtures/dmtf-public-rackmount1/COMMANDS.txt b/tests/fixtures/dmtf-public-rackmount1/COMMANDS.txt index 15a7aa7..4bc4356 100644 --- a/tests/fixtures/dmtf-public-rackmount1/COMMANDS.txt +++ b/tests/fixtures/dmtf-public-rackmount1/COMMANDS.txt @@ -7,26 +7,62 @@ Files are unmodified copies. Each request path maps to / Request paths: GET /redfish/v1/ -GET /redfish/v1/Systems -GET /redfish/v1/Systems/437XR1138R2 -GET /redfish/v1/Systems/437XR1138R2/Processors -GET /redfish/v1/Systems/437XR1138R2/Processors/CPU1 -GET /redfish/v1/Systems/437XR1138R2/Processors/CPU2 -GET /redfish/v1/Systems/437XR1138R2/Processors/FPGA1 -GET /redfish/v1/Systems/437XR1138R2/Memory -GET /redfish/v1/Systems/437XR1138R2/Memory/DIMM1 -GET /redfish/v1/Systems/437XR1138R2/Memory/DIMM2 -GET /redfish/v1/Systems/437XR1138R2/Memory/DIMM3 -GET /redfish/v1/Systems/437XR1138R2/Memory/DIMM4 -GET /redfish/v1/Systems/437XR1138R2/SimpleStorage -GET /redfish/v1/Systems/437XR1138R2/SimpleStorage/1 -GET /redfish/v1/Systems/437XR1138R2/LogServices -GET /redfish/v1/Systems/437XR1138R2/LogServices/Log1 -GET /redfish/v1/Systems/437XR1138R2/LogServices/Log1/Entries +GET /redfish/v1/AccountService +GET /redfish/v1/AccountService/Accounts +GET /redfish/v1/AccountService/Accounts/1 +GET /redfish/v1/AccountService/Accounts/2 GET /redfish/v1/Chassis GET /redfish/v1/Chassis/1U -GET /redfish/v1/Chassis/1U/Thermal GET /redfish/v1/Chassis/1U/Power +GET /redfish/v1/Chassis/1U/PowerSubsystem +GET /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies +GET /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1 +GET /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Metrics +GET /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay2 +GET /redfish/v1/Chassis/1U/Sensors +GET /redfish/v1/Chassis/1U/Sensors/AmbientTemp +GET /redfish/v1/Chassis/1U/Sensors/Battery1InputCurrent +GET /redfish/v1/Chassis/1U/Sensors/Battery1InputVoltage +GET /redfish/v1/Chassis/1U/Sensors/Battery1OutputCurrent +GET /redfish/v1/Chassis/1U/Sensors/Battery1OutputVoltage +GET /redfish/v1/Chassis/1U/Sensors/Battery1StateOfHealth +GET /redfish/v1/Chassis/1U/Sensors/Battery1Temp +GET /redfish/v1/Chassis/1U/Sensors/CPU1Power +GET /redfish/v1/Chassis/1U/Sensors/CPU1Temp +GET /redfish/v1/Chassis/1U/Sensors/CPUFan1 +GET /redfish/v1/Chassis/1U/Sensors/CPUFan2 +GET /redfish/v1/Chassis/1U/Sensors/DIMM1Temp +GET /redfish/v1/Chassis/1U/Sensors/DIMM2Temp +GET /redfish/v1/Chassis/1U/Sensors/DIMM3Temp +GET /redfish/v1/Chassis/1U/Sensors/ExhaustTemp +GET /redfish/v1/Chassis/1U/Sensors/FanBay1 +GET /redfish/v1/Chassis/1U/Sensors/FanBay2 +GET /redfish/v1/Chassis/1U/Sensors/IntakeTemp +GET /redfish/v1/Chassis/1U/Sensors/PS1Energy +GET /redfish/v1/Chassis/1U/Sensors/PS1Frequency +GET /redfish/v1/Chassis/1U/Sensors/PS1InputCurrent +GET /redfish/v1/Chassis/1U/Sensors/PS1InputPower +GET /redfish/v1/Chassis/1U/Sensors/PS1InputVoltage +GET /redfish/v1/Chassis/1U/Sensors/PS1Out12V +GET /redfish/v1/Chassis/1U/Sensors/PS1Out12VCurrent +GET /redfish/v1/Chassis/1U/Sensors/PS1Out3V +GET /redfish/v1/Chassis/1U/Sensors/PS1Out3VCurrent +GET /redfish/v1/Chassis/1U/Sensors/PS1Out5V +GET /redfish/v1/Chassis/1U/Sensors/PS1Out5VCurrent +GET /redfish/v1/Chassis/1U/Sensors/PS2Energy +GET /redfish/v1/Chassis/1U/Sensors/PS2Frequency +GET /redfish/v1/Chassis/1U/Sensors/PS2InputCurrent +GET /redfish/v1/Chassis/1U/Sensors/PS2InputPower +GET /redfish/v1/Chassis/1U/Sensors/PS2InputVoltage +GET /redfish/v1/Chassis/1U/Sensors/PS2Out12V +GET /redfish/v1/Chassis/1U/Sensors/PS2Out12VCurrent +GET /redfish/v1/Chassis/1U/Sensors/PS2Out3V +GET /redfish/v1/Chassis/1U/Sensors/PS2Out3VCurrent +GET /redfish/v1/Chassis/1U/Sensors/PS2Out5V +GET /redfish/v1/Chassis/1U/Sensors/PS2Out5VCurrent +GET /redfish/v1/Chassis/1U/Sensors/TotalEnergy +GET /redfish/v1/Chassis/1U/Sensors/TotalPower +GET /redfish/v1/Chassis/1U/Thermal GET /redfish/v1/Chassis/1U/ThermalSubsystem GET /redfish/v1/Chassis/1U/ThermalSubsystem/Fans GET /redfish/v1/Chassis/1U/ThermalSubsystem/Fans/Bay1 @@ -34,33 +70,40 @@ GET /redfish/v1/Chassis/1U/ThermalSubsystem/Fans/Bay2 GET /redfish/v1/Chassis/1U/ThermalSubsystem/Fans/CPU1 GET /redfish/v1/Chassis/1U/ThermalSubsystem/Fans/CPU2 GET /redfish/v1/Chassis/1U/ThermalSubsystem/ThermalMetrics -GET /redfish/v1/Chassis/1U/PowerSubsystem -GET /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies -GET /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1 -GET /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay1/Metrics -GET /redfish/v1/Chassis/1U/PowerSubsystem/PowerSupplies/Bay2 -GET /redfish/v1/Chassis/1U/Sensors -GET /redfish/v1/Chassis/1U/Sensors/CPU1Temp -GET /redfish/v1/Chassis/1U/Sensors/IntakeTemp -GET /redfish/v1/Chassis/1U/Sensors/CPUFan1 -GET /redfish/v1/Chassis/1U/Sensors/TotalPower -GET /redfish/v1/Chassis/1U/Sensors/PS1InputVoltage GET /redfish/v1/Managers GET /redfish/v1/Managers/BMC GET /redfish/v1/Managers/BMC/EthernetInterfaces -GET /redfish/v1/Managers/BMC/EthernetInterfaces/eth0 GET /redfish/v1/Managers/BMC/EthernetInterfaces/ToHost -GET /redfish/v1/Managers/BMC/NetworkProtocol +GET /redfish/v1/Managers/BMC/EthernetInterfaces/eth0 GET /redfish/v1/Managers/BMC/LogServices GET /redfish/v1/Managers/BMC/LogServices/Log GET /redfish/v1/Managers/BMC/LogServices/Log/Entries -GET /redfish/v1/AccountService -GET /redfish/v1/AccountService/Accounts -GET /redfish/v1/AccountService/Accounts/1 -GET /redfish/v1/AccountService/Accounts/2 -GET /redfish/v1/UpdateService/FirmwareInventory -GET /redfish/v1/UpdateService/FirmwareInventory/BMC -GET /redfish/v1/UpdateService/FirmwareInventory/SS -GET /redfish/v1/UpdateService/FirmwareInventory/BIOS +GET /redfish/v1/Managers/BMC/NetworkProtocol GET /redfish/v1/SessionService GET /redfish/v1/SessionService/Sessions +GET /redfish/v1/Systems +GET /redfish/v1/Systems/437XR1138R2 +GET /redfish/v1/Systems/437XR1138R2/EthernetInterfaces +GET /redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411 +GET /redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B8890 +GET /redfish/v1/Systems/437XR1138R2/EthernetInterfaces/ToManager +GET /redfish/v1/Systems/437XR1138R2/EthernetInterfaces/VLAN1 +GET /redfish/v1/Systems/437XR1138R2/LogServices +GET /redfish/v1/Systems/437XR1138R2/LogServices/Log1 +GET /redfish/v1/Systems/437XR1138R2/LogServices/Log1/Entries +GET /redfish/v1/Systems/437XR1138R2/Memory +GET /redfish/v1/Systems/437XR1138R2/Memory/DIMM1 +GET /redfish/v1/Systems/437XR1138R2/Memory/DIMM2 +GET /redfish/v1/Systems/437XR1138R2/Memory/DIMM3 +GET /redfish/v1/Systems/437XR1138R2/Memory/DIMM4 +GET /redfish/v1/Systems/437XR1138R2/Processors +GET /redfish/v1/Systems/437XR1138R2/Processors/CPU1 +GET /redfish/v1/Systems/437XR1138R2/Processors/CPU2 +GET /redfish/v1/Systems/437XR1138R2/Processors/FPGA1 +GET /redfish/v1/Systems/437XR1138R2/SimpleStorage +GET /redfish/v1/Systems/437XR1138R2/SimpleStorage/1 +GET /redfish/v1/UpdateService +GET /redfish/v1/UpdateService/FirmwareInventory +GET /redfish/v1/UpdateService/FirmwareInventory/BIOS +GET /redfish/v1/UpdateService/FirmwareInventory/BMC +GET /redfish/v1/UpdateService/FirmwareInventory/SS diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/AmbientTemp/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/AmbientTemp/index.json new file mode 100644 index 0000000..473a4d3 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/AmbientTemp/index.json @@ -0,0 +1,16 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "AmbientTemp", + "Name": "Ambient Temperature", + "PhysicalContext": "Room", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 22.5, + "ReadingUnits": "Cel", + "ReadingRangeMin": 0, + "ReadingRangeMax": 75, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/AmbientTemp", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1InputCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1InputCurrent/index.json new file mode 100644 index 0000000..5242fe4 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1InputCurrent/index.json @@ -0,0 +1,30 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "Battery1InputCurrent", + "Name": "Battery #1 Input Current", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ReadingType": "Current", + "Reading": 0, + "ReadingUnits": "A", + "ReadingRangeMin": 0, + "ReadingRangeMax": 75, + "PhysicalContext": "Battery", + "PhysicalSubContext": "Input", + "Thresholds": { + "UpperCritical": { + "Reading": 60, + "Activation": "Increasing", + "DwellTime": "PT1S" + }, + "UpperCaution": { + "Reading": 55, + "Activation": "Increasing", + "DwellTime": "PT1S" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1InputCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1InputVoltage/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1InputVoltage/index.json new file mode 100644 index 0000000..8f2441e --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1InputVoltage/index.json @@ -0,0 +1,30 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "Battery1InputVoltage", + "Name": "Battery #1 Input Voltage", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ReadingType": "Voltage", + "Reading": 12.22, + "ReadingUnits": "V", + "ReadingRangeMin": 0, + "ReadingRangeMax": 15, + "PhysicalContext": "Battery", + "PhysicalSubContext": "Input", + "Thresholds": { + "UpperCritical": { + "Reading": 14, + "Activation": "Increasing", + "DwellTime": "PT1S" + }, + "UpperCaution": { + "Reading": 13, + "Activation": "Increasing", + "DwellTime": "PT1S" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1InputVoltage", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1OutputCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1OutputCurrent/index.json new file mode 100644 index 0000000..d4cde44 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1OutputCurrent/index.json @@ -0,0 +1,30 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "Battery1OutputCurrent", + "Name": "Battery #1 Output Current", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ReadingType": "Current", + "Reading": 0, + "ReadingUnits": "A", + "ReadingRangeMin": 0, + "ReadingRangeMax": 15, + "PhysicalContext": "Battery", + "PhysicalSubContext": "Output", + "Thresholds": { + "UpperCritical": { + "Reading": 10, + "Activation": "Increasing", + "DwellTime": "PT1S" + }, + "UpperCaution": { + "Reading": 8, + "Activation": "Increasing", + "DwellTime": "PT1S" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1OutputCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1OutputVoltage/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1OutputVoltage/index.json new file mode 100644 index 0000000..02929b7 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1OutputVoltage/index.json @@ -0,0 +1,30 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "Battery1OutputVoltage", + "Name": "Battery #1 Output Voltage", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ReadingType": "Voltage", + "Reading": 12.22, + "ReadingUnits": "V", + "ReadingRangeMin": 0, + "ReadingRangeMax": 15, + "PhysicalContext": "Battery", + "PhysicalSubContext": "Output", + "Thresholds": { + "UpperCritical": { + "Reading": 14, + "Activation": "Increasing", + "DwellTime": "PT1S" + }, + "UpperCaution": { + "Reading": 13, + "Activation": "Increasing", + "DwellTime": "PT1S" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1OutputVoltage", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1StateOfHealth/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1StateOfHealth/index.json new file mode 100644 index 0000000..8a21e87 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1StateOfHealth/index.json @@ -0,0 +1,24 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "Battery1StateOfHealth", + "Name": "Battery #1 State of Health", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ReadingType": "Percent", + "Reading": 91, + "ReadingUnits": "%", + "ReadingRangeMin": 0, + "ReadingRangeMax": 100, + "PhysicalContext": "Battery", + "Thresholds": { + "LowerCritical": { + "Reading": 30, + "Activation": "Decreasing", + "DwellTime": "PT1S" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1StateOfHealth", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1Temp/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1Temp/index.json new file mode 100644 index 0000000..308c21b --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/Battery1Temp/index.json @@ -0,0 +1,29 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "Battery1Temp", + "Name": "Battery #1 Temperature", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ReadingType": "Temperature", + "Reading": 33, + "ReadingUnits": "Cel", + "ReadingRangeMin": 0, + "ReadingRangeMax": 75, + "PhysicalContext": "Battery", + "Thresholds": { + "UpperCritical": { + "Reading": 60, + "DwellTime": "PT15S", + "Activation": "Increasing" + }, + "UpperCaution": { + "Reading": 50, + "Activation": "Increasing", + "DwellTime": "PT15S" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/Battery1Temp", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/CPU1Power/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/CPU1Power/index.json new file mode 100644 index 0000000..66aac52 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/CPU1Power/index.json @@ -0,0 +1,33 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "CPU1Power", + "Name": "Power reading for CPU #1", + "ReadingType": "Power", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 90, + "ReadingUnits": "W", + "Implementation": "Reported", + "ReadingTime": "2019-08-13T04:14:33+06:00", + "ReadingRangeMin": 0, + "ReadingRangeMax": 150, + "Accuracy": 0.2, + "Precision": 1, + "SensingInterval": "PT0.01S", + "PhysicalContext": "CPU", + "Thresholds": { + "UpperCriticalUser": { + "Reading": 115, + "Activation": "Increasing", + "DwellTime": "PT0.03S" + }, + "UpperCautionUser": { + "Reading": 82, + "DwellTime": "PT1S" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/CPU1Power", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/CPUFan2/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/CPUFan2/index.json new file mode 100644 index 0000000..3e47cf5 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/CPUFan2/index.json @@ -0,0 +1,36 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "CPUFan2", + "Name": "CPU #2 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/CPUFan2", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/DIMM1Temp/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/DIMM1Temp/index.json new file mode 100644 index 0000000..2f3c204 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/DIMM1Temp/index.json @@ -0,0 +1,71 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "DIMM1Temp", + "Name": "DIMM #1 Temperature", + "PhysicalContext": "Memory", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 44, + "ReadingUnits": "Cel", + "Thresholds": { + "UpperCaution": { + "Reading": 55, + "DwellTime": "PT5M", + "Activation": "Increasing", + "HysteresisReading": -2, + "HysteresisDuration": "PT1M", + "@Redfish.WriteableProperties": [] + }, + "UpperCautionUser": { + "Reading": 50, + "DwellTime": "PT5M", + "HysteresisReading": 0, + "HysteresisDuration": "PT10M", + "@Redfish.WriteableProperties": [ + "Reading", + "DwellTime", + "HysteresisReading", + "HysteresisDuration" + ] + }, + "UpperCritical": { + "Reading": 65, + "DwellTime": "PT5M", + "Activation": "Increasing", + "HysteresisReading": -2, + "HysteresisDuration": "PT1M", + "@Redfish.WriteableProperties": [] + }, + "UpperCriticalUser": { + "Reading": 60, + "DwellTime": "PT5M", + "HysteresisReading": -1, + "HysteresisDuration": "PT5M", + "@Redfish.WriteableProperties": [ + "Reading", + "DwellTime", + "HysteresisReading", + "HysteresisDuration" + ] + }, + "UpperFatal": { + "Reading": 75, + "DwellTime": "PT30S", + "Activation": "Increasing", + "HysteresisReading": -2, + "HysteresisDuration": "PT30S", + "@Redfish.WriteableProperties": [] + } + }, + "ReadingRangeMin": 0, + "ReadingRangeMax": 75, + "RelatedItem": [ + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/Memory/DIMM1" + } + ], + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/DIMM1Temp", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/DIMM2Temp/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/DIMM2Temp/index.json new file mode 100644 index 0000000..77e8028 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/DIMM2Temp/index.json @@ -0,0 +1,71 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "DIMM2Temp", + "Name": "DIMM #2 Temperature", + "PhysicalContext": "Memory", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 43, + "ReadingUnits": "Cel", + "Thresholds": { + "UpperCaution": { + "Reading": 55, + "DwellTime": "PT5M", + "Activation": "Increasing", + "HysteresisReading": -2, + "HysteresisDuration": "PT1M", + "@Redfish.WriteableProperties": [] + }, + "UpperCautionUser": { + "Reading": 50, + "DwellTime": "PT5M", + "HysteresisReading": 0, + "HysteresisDuration": "PT10M", + "@Redfish.WriteableProperties": [ + "Reading", + "DwellTime", + "HysteresisReading", + "HysteresisDuration" + ] + }, + "UpperCritical": { + "Reading": 65, + "DwellTime": "PT5M", + "Activation": "Increasing", + "HysteresisReading": -2, + "HysteresisDuration": "PT1M", + "@Redfish.WriteableProperties": [] + }, + "UpperCriticalUser": { + "Reading": 60, + "DwellTime": "PT5M", + "HysteresisReading": -1, + "HysteresisDuration": "PT5M", + "@Redfish.WriteableProperties": [ + "Reading", + "DwellTime", + "HysteresisReading", + "HysteresisDuration" + ] + }, + "UpperFatal": { + "Reading": 75, + "DwellTime": "PT30S", + "Activation": "Increasing", + "HysteresisReading": -2, + "HysteresisDuration": "PT30S", + "@Redfish.WriteableProperties": [] + } + }, + "ReadingRangeMin": 0, + "ReadingRangeMax": 75, + "RelatedItem": [ + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/Memory/DIMM2" + } + ], + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/DIMM2Temp", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/DIMM3Temp/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/DIMM3Temp/index.json new file mode 100644 index 0000000..dc21944 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/DIMM3Temp/index.json @@ -0,0 +1,71 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "DIMM3Temp", + "Name": "DIMM #3 Temperature", + "PhysicalContext": "Memory", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 45, + "ReadingUnits": "Cel", + "Thresholds": { + "UpperCaution": { + "Reading": 55, + "DwellTime": "PT5M", + "Activation": "Increasing", + "HysteresisReading": -2, + "HysteresisDuration": "PT1M", + "@Redfish.WriteableProperties": [] + }, + "UpperCautionUser": { + "Reading": 50, + "DwellTime": "PT5M", + "HysteresisReading": 0, + "HysteresisDuration": "PT10M", + "@Redfish.WriteableProperties": [ + "Reading", + "DwellTime", + "HysteresisReading", + "HysteresisDuration" + ] + }, + "UpperCritical": { + "Reading": 65, + "DwellTime": "PT5M", + "Activation": "Increasing", + "HysteresisReading": -2, + "HysteresisDuration": "PT1M", + "@Redfish.WriteableProperties": [] + }, + "UpperCriticalUser": { + "Reading": 60, + "DwellTime": "PT5M", + "HysteresisReading": -1, + "HysteresisDuration": "PT5M", + "@Redfish.WriteableProperties": [ + "Reading", + "DwellTime", + "HysteresisReading", + "HysteresisDuration" + ] + }, + "UpperFatal": { + "Reading": 75, + "DwellTime": "PT30S", + "Activation": "Increasing", + "HysteresisReading": -2, + "HysteresisDuration": "PT30S", + "@Redfish.WriteableProperties": [] + } + }, + "ReadingRangeMin": 0, + "ReadingRangeMax": 75, + "RelatedItem": [ + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/Memory/DIMM3" + } + ], + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/DIMM3Temp", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/ExhaustTemp/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/ExhaustTemp/index.json new file mode 100644 index 0000000..48af526 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/ExhaustTemp/index.json @@ -0,0 +1,16 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "ExhaustTemp", + "Name": "Fan Bay #1 Exhaust Temperature", + "PhysicalContext": "Exhaust", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 40.5, + "ReadingUnits": "Cel", + "ReadingRangeMin": 0, + "ReadingRangeMax": 75, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/ExhaustTemp", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/FanBay1/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/FanBay1/index.json new file mode 100644 index 0000000..2badaa5 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/FanBay1/index.json @@ -0,0 +1,26 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "FanBay1", + "Name": "Chassis Fan #1", + "PhysicalContext": "Chassis", + "Reading": 45, + "SpeedRPM": 1900, + "ReadingRangeMax": 100, + "ReadingRangeMin": 0, + "ReadingType": "Percent", + "ReadingUnits": "%", + "Status": { + "Health": "OK", + "State": "Enabled" + }, + "Thresholds": { + "LowerCaution": { + "Reading": 5 + }, + "LowerCritical": { + "Reading": 0 + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/FanBay1", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/FanBay2/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/FanBay2/index.json new file mode 100644 index 0000000..268ae84 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/FanBay2/index.json @@ -0,0 +1,26 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "FanBay2", + "Name": "Chassis Fan #2", + "PhysicalContext": "Chassis", + "Reading": 45, + "SpeedRPM": 2100, + "ReadingRangeMax": 100, + "ReadingRangeMin": 0, + "ReadingType": "Percent", + "ReadingUnits": "%", + "Status": { + "Health": "OK", + "State": "Enabled" + }, + "Thresholds": { + "LowerCaution": { + "Reading": 5 + }, + "LowerCritical": { + "Reading": 0 + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/FanBay2", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Energy/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Energy/index.json new file mode 100644 index 0000000..1079697 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Energy/index.json @@ -0,0 +1,21 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1Energy", + "Name": "Power Supply #1 Energy", + "ReadingType": "EnergykWh", + "ElectricalContext": "Total", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 7855, + "ReadingUnits": "kW.h", + "PhysicalContext": "PowerSupply", + "Actions": { + "#Sensor.ResetMetrics": { + "target": "/redfish/v1/Chassis/1U/Sensors/PS1Energy/Actions/Sensor.ResetMetrics" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Energy", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Frequency/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Frequency/index.json new file mode 100644 index 0000000..773b3dd --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Frequency/index.json @@ -0,0 +1,40 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1Frequency", + "Name": "Power Supply #1 Frequency", + "ReadingType": "Frequency", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 60.1, + "ReadingUnits": "Hz", + "ReadingRangeMin": 0, + "ReadingRangeMax": 160, + "Accuracy": 0.02, + "Precision": 2, + "SensingInterval": "PT0.125S", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Input", + "Thresholds": { + "UpperCritical": { + "Reading": 60.37, + "Activation": "Increasing", + "DwellTime": "PT1M" + }, + "UpperCaution": { + "Reading": 60.2, + "DwellTime": "PT10M" + }, + "LowerCaution": { + "Reading": 59.5, + "DwellTime": "PT5M" + }, + "LowerCritical": { + "Reading": 58.75, + "DwellTime": "PT1M" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Frequency", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1InputCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1InputCurrent/index.json new file mode 100644 index 0000000..ab8a388 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1InputCurrent/index.json @@ -0,0 +1,34 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1InputCurrent", + "Name": "Power Supply #1 Input Current", + "ReadingType": "Current", + "ElectricalContext": "Total", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 8.92, + "ReadingUnits": "A", + "ReadingRangeMin": 0, + "ReadingRangeMax": 40, + "Accuracy": 0.05, + "Precision": 2, + "SensingInterval": "PT0.1S", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Input", + "Thresholds": { + "UpperCritical": { + "Reading": 10, + "Activation": "Increasing", + "DwellTime": "PT1M" + }, + "UpperCaution": { + "Reading": 9, + "Activation": "Increasing", + "DwellTime": "PT10M" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1InputCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1InputPower/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1InputPower/index.json new file mode 100644 index 0000000..aa6a006 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1InputPower/index.json @@ -0,0 +1,36 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1InputPower", + "Name": "Power Supply #1 Input Power", + "ReadingType": "Power", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ElectricalContext": "Total", + "Reading": 374, + "ReadingUnits": "W", + "ReadingRangeMin": 0, + "ReadingRangeMax": 500, + "ApparentVA": 350, + "ReactiveVAR": 29, + "PowerFactor": 0.83, + "Accuracy": 1, + "Precision": 1, + "SensingInterval": "PT0.1S", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Input", + "Thresholds": { + "UpperCritical": { + "Reading": 525, + "Activation": "Increasing", + "DwellTime": "PT1M" + }, + "UpperCaution": { + "Reading": 510, + "DwellTime": "PT10M" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1InputPower", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out12V/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out12V/index.json new file mode 100644 index 0000000..4b6f68a --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out12V/index.json @@ -0,0 +1,41 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1Out12V", + "Name": "Power Supply #1 12V Output Voltage", + "ReadingType": "Voltage", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ElectricalContext": "Total", + "Reading": 12.08, + "ReadingUnits": "V", + "ReadingRangeMin": 0, + "ReadingRangeMax": 15, + "Accuracy": 0.02, + "Precision": 2, + "SensingInterval": "PT0.125S", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Output", + "Thresholds": { + "UpperCritical": { + "Reading": 12.5, + "Activation": "Increasing", + "DwellTime": "PT1M" + }, + "UpperCaution": { + "Reading": 12.35, + "DwellTime": "PT10M" + }, + "LowerCaution": { + "Reading": 11.85, + "DwellTime": "PT5M" + }, + "LowerCritical": { + "Reading": 11.5, + "DwellTime": "PT1M" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out12V", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out12VCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out12VCurrent/index.json new file mode 100644 index 0000000..8bd2ff7 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out12VCurrent/index.json @@ -0,0 +1,33 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1Out12VCurrent", + "Name": "Power Supply #1 12V Output Current", + "ReadingType": "Current", + "ElectricalContext": "Total", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 2.79, + "ReadingUnits": "A", + "ReadingRangeMin": 0, + "ReadingRangeMax": 40, + "Accuracy": 0.05, + "Precision": 2, + "SensingInterval": "PT0.1S", + "PhysicalContext": "Chassis", + "Thresholds": { + "UpperCritical": { + "Reading": 7, + "Activation": "Increasing", + "DwellTime": "PT1M" + }, + "UpperCaution": { + "Reading": 6, + "Activation": "Increasing", + "DwellTime": "PT10M" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out12VCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out3V/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out3V/index.json new file mode 100644 index 0000000..f99f4a5 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out3V/index.json @@ -0,0 +1,41 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1Out3V", + "Name": "Power Supply #1 3V Output Voltage", + "ReadingType": "Voltage", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ElectricalContext": "Total", + "Reading": 3.32, + "ReadingUnits": "V", + "ReadingRangeMin": 0, + "ReadingRangeMax": 5, + "Accuracy": 0.02, + "Precision": 2, + "SensingInterval": "PT0.125S", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Output", + "Thresholds": { + "UpperCritical": { + "Reading": 3.5, + "Activation": "Increasing", + "DwellTime": "PT1M" + }, + "UpperCaution": { + "Reading": 3.35, + "DwellTime": "PT10M" + }, + "LowerCaution": { + "Reading": 3.25, + "DwellTime": "PT5M" + }, + "LowerCritical": { + "Reading": 3.1, + "DwellTime": "PT1M" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out3V", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out3VCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out3VCurrent/index.json new file mode 100644 index 0000000..499c19e --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out3VCurrent/index.json @@ -0,0 +1,34 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1Out3VCurrent", + "Name": "Power Supply #1 3V Output Current", + "ReadingType": "Current", + "ElectricalContext": "Total", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 8.92, + "ReadingUnits": "A", + "ReadingRangeMin": 0, + "ReadingRangeMax": 40, + "Accuracy": 0.05, + "Precision": 2, + "SensingInterval": "PT0.1S", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Output", + "Thresholds": { + "UpperCritical": { + "Reading": 25, + "Activation": "Increasing", + "DwellTime": "PT1M" + }, + "UpperCaution": { + "Reading": 20, + "Activation": "Increasing", + "DwellTime": "PT10M" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out3VCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out5V/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out5V/index.json new file mode 100644 index 0000000..3f70c05 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out5V/index.json @@ -0,0 +1,41 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1Out5V", + "Name": "Power Supply #1 5V Output Voltage", + "ReadingType": "Voltage", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "ElectricalContext": "Total", + "Reading": 5.04, + "ReadingUnits": "V", + "ReadingRangeMin": 0, + "ReadingRangeMax": 10, + "Accuracy": 0.02, + "Precision": 2, + "SensingInterval": "PT0.125S", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Output", + "Thresholds": { + "UpperCritical": { + "Reading": 5.5, + "Activation": "Increasing", + "DwellTime": "PT1M" + }, + "UpperCaution": { + "Reading": 5.35, + "DwellTime": "PT10M" + }, + "LowerCaution": { + "Reading": 4.9, + "DwellTime": "PT5M" + }, + "LowerCritical": { + "Reading": 4.5, + "DwellTime": "PT1M" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out5V", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out5VCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out5VCurrent/index.json new file mode 100644 index 0000000..d2c5ccd --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS1Out5VCurrent/index.json @@ -0,0 +1,33 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS1Out5VCurrent", + "Name": "Power Supply #1 5V Output Current", + "ReadingType": "Current", + "ElectricalContext": "Total", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 3.41, + "ReadingUnits": "A", + "ReadingRangeMin": 0, + "ReadingRangeMax": 10, + "Accuracy": 0.05, + "Precision": 2, + "SensingInterval": "PT0.1S", + "PhysicalContext": "PowerSupply", + "Thresholds": { + "UpperCritical": { + "Reading": 8, + "Activation": "Increasing", + "DwellTime": "PT1M" + }, + "UpperCaution": { + "Reading": 5, + "Activation": "Increasing", + "DwellTime": "PT10M" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS1Out5VCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Energy/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Energy/index.json new file mode 100644 index 0000000..f6cea81 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Energy/index.json @@ -0,0 +1,18 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2Energy", + "Name": "Power Supply #2 Energy", + "ReadingType": "EnergykWh", + "ElectricalContext": "Total", + "Status": { + "State": "Absent" + }, + "PhysicalContext": "PowerSupply", + "Actions": { + "#Sensor.ResetMetrics": { + "target": "/redfish/v1/Chassis/1U/Sensors/PS2Energy/Actions/Sensor.ResetMetrics" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Energy", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Frequency/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Frequency/index.json new file mode 100644 index 0000000..b098664 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Frequency/index.json @@ -0,0 +1,13 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2Frequency", + "Name": "Power Supply #2 Frequency", + "ReadingType": "Frequency", + "Status": { + "State": "Absent" + }, + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Input", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Frequency", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2InputCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2InputCurrent/index.json new file mode 100644 index 0000000..ce670bf --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2InputCurrent/index.json @@ -0,0 +1,14 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2InputCurrent", + "Name": "Power Supply #2 Input Current", + "ReadingType": "Current", + "ElectricalContext": "Total", + "Status": { + "State": "Absent" + }, + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Input", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2InputCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2InputPower/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2InputPower/index.json new file mode 100644 index 0000000..150218b --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2InputPower/index.json @@ -0,0 +1,14 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2InputPower", + "Name": "Power Supply #2 Input Power", + "ReadingType": "Power", + "Status": { + "State": "Absent" + }, + "ElectricalContext": "Total", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Input", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2InputPower", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2InputVoltage/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2InputVoltage/index.json new file mode 100644 index 0000000..cf7b742 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2InputVoltage/index.json @@ -0,0 +1,14 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2InputVoltage", + "Name": "Power Supply #2 Input Voltage", + "ReadingType": "Voltage", + "Status": { + "State": "Absent" + }, + "ElectricalContext": "Total", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Input", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2InputVoltage", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out12V/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out12V/index.json new file mode 100644 index 0000000..25345ab --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out12V/index.json @@ -0,0 +1,14 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2Out12V", + "Name": "Power Supply #2 12V Output Voltage", + "ReadingType": "Voltage", + "Status": { + "State": "Absent" + }, + "ElectricalContext": "Total", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Output", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out12V", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out12VCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out12VCurrent/index.json new file mode 100644 index 0000000..3a5397a --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out12VCurrent/index.json @@ -0,0 +1,13 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2Out12VCurrent", + "Name": "Power Supply #2 12V Output Current", + "ReadingType": "Current", + "ElectricalContext": "Total", + "Status": { + "State": "Absent" + }, + "PhysicalContext": "PowerSupply", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out12VCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out3V/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out3V/index.json new file mode 100644 index 0000000..ec1763c --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out3V/index.json @@ -0,0 +1,14 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2Out3V", + "Name": "Power Supply #2 3V Output Voltage", + "ReadingType": "Voltage", + "Status": { + "State": "Absent" + }, + "ElectricalContext": "Total", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Output", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out3V", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out3VCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out3VCurrent/index.json new file mode 100644 index 0000000..9c1e555 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out3VCurrent/index.json @@ -0,0 +1,13 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2Out3VCurrent", + "Name": "Power Supply #2 3V Output Current", + "ReadingType": "Current", + "ElectricalContext": "Total", + "Status": { + "State": "Absent" + }, + "PhysicalContext": "PowerSupply", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out3VCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out5V/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out5V/index.json new file mode 100644 index 0000000..39ebca0 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out5V/index.json @@ -0,0 +1,14 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2Out5V", + "Name": "Power Supply #2 5V Output Voltage", + "ReadingType": "Voltage", + "Status": { + "State": "Absent" + }, + "ElectricalContext": "Total", + "PhysicalContext": "PowerSupply", + "PhysicalSubContext": "Output", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out5V", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out5VCurrent/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out5VCurrent/index.json new file mode 100644 index 0000000..16b75e5 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/PS2Out5VCurrent/index.json @@ -0,0 +1,13 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "PS2Out5VCurrent", + "Name": "Power Supply #2 5V Output Current", + "ReadingType": "Current", + "ElectricalContext": "Total", + "Status": { + "State": "Absent" + }, + "PhysicalContext": "PowerSupply", + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/PS2Out5VCurrent", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/TotalEnergy/index.json b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/TotalEnergy/index.json new file mode 100644 index 0000000..49ebac6 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Chassis/1U/Sensors/TotalEnergy/index.json @@ -0,0 +1,20 @@ +{ + "@odata.type": "#Sensor.v1_14_0.Sensor", + "Id": "TotalEnergy", + "Name": "Total Energy", + "ReadingType": "EnergykWh", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "Reading": 325675, + "ReadingUnits": "kW.h", + "PhysicalContext": "Chassis", + "Actions": { + "#Sensor.ResetMetrics": { + "target": "/redfish/v1/Chassis/1U/Sensors/TotalEnergy/Actions/Sensor.ResetMetrics" + } + }, + "@odata.id": "/redfish/v1/Chassis/1U/Sensors/TotalEnergy", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411/index.json b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411/index.json new file mode 100644 index 0000000..1fa2e05 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411/index.json @@ -0,0 +1,48 @@ +{ + "@odata.type": "#EthernetInterface.v1_12_6.EthernetInterface", + "Id": "12446A3B0411", + "Name": "Ethernet Interface", + "Description": "System NIC 1", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "EthernetInterfaceType": "Physical", + "LinkStatus": "LinkUp", + "PermanentMACAddress": "12:44:6A:3B:04:11", + "MACAddress": "12:44:6A:3B:04:11", + "SpeedMbps": 1000, + "FullDuplex": true, + "HostName": "web483", + "FQDN": "web483.contoso.com", + "IPv6DefaultGateway": "fe80::3ed9:2bff:fe34:600", + "NameServers": [ + "names.contoso.com" + ], + "IPv4Addresses": [ + { + "Address": "192.168.0.10", + "SubnetMask": "255.255.252.0", + "AddressOrigin": "Static", + "Gateway": "192.168.0.1" + } + ], + "IPv6Addresses": [ + { + "Address": "fe80::1ec1:deff:fe6f:1e24", + "PrefixLength": 64, + "AddressOrigin": "Static", + "AddressState": "Preferred" + } + ], + "TeamMode": "None", + "Links": { + "AffiliatedInterfaces": [ + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/VLAN1" + } + ] + }, + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/12446A3B8890/index.json b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/12446A3B8890/index.json new file mode 100644 index 0000000..89fff15 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/12446A3B8890/index.json @@ -0,0 +1,45 @@ +{ + "@odata.type": "#EthernetInterface.v1_12_6.EthernetInterface", + "Id": "12446A3B8890", + "Name": "Ethernet Interface", + "Description": "System NIC 2", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "EthernetInterfaceType": "Physical", + "LinkStatus": "LinkUp", + "PermanentMACAddress": "12:44:6A:3B:88:90", + "MACAddress": "AA:BB:CC:DD:EE:00", + "SpeedMbps": 1000, + "FullDuplex": true, + "HostName": "backup-web483", + "FQDN": "backup-web483.contoso.com", + "IPv6DefaultGateway": "fe80::3ed9:2bff:fe34:600", + "NameServers": [ + "names.contoso.com" + ], + "IPv4Addresses": [ + { + "Address": "192.168.0.11", + "SubnetMask": "255.255.255.0", + "AddressOrigin": "Static", + "Gateway": "192.168.0.1" + } + ], + "IPv6Addresses": [ + { + "Address": "fe80::1ec1:deff:fe6f:1e33", + "PrefixLength": 64, + "AddressOrigin": "Static", + "AddressState": "Preferred" + } + ], + "VLAN": { + "VLANEnable": true, + "VLANId": 101 + }, + "TeamMode": "None", + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B8890", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/ToManager/index.json b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/ToManager/index.json new file mode 100644 index 0000000..7638f53 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/ToManager/index.json @@ -0,0 +1,55 @@ +{ + "@odata.type": "#EthernetInterface.v1_12_6.EthernetInterface", + "Id": "ToManager", + "Name": "Host Ethernet Interface", + "Description": "Host Network Interface", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "InterfaceEnabled": true, + "PermanentMACAddress": "AA:BB:CC:DD:EE:FE", + "MACAddress": "AA:BB:CC:DD:EE:FE", + "SpeedMbps": 100, + "AutoNeg": true, + "FullDuplex": true, + "MTUSize": 1500, + "MaxIPv6StaticAddresses": 1, + "IPv4Addresses": [ + { + "Address": "192.168.20.56", + "SubnetMask": "255.255.255.0", + "AddressOrigin": "Static", + "Gateway": "192.168.20.1" + } + ], + "IPv6AddressPolicyTable": [ + { + "Prefix": "::1/128", + "Precedence": 50, + "Label": 0 + } + ], + "IPv6StaticAddresses": [ + { + "Address": "fe80::1ec1:deff:fe6f:1e25", + "PrefixLength": 64 + } + ], + "IPv6DefaultGateway": "fe80::1ec1:deff:fe6f:1e24", + "IPv6Addresses": [ + { + "Address": "fe80::1ec1:deff:fe6f:1e25", + "PrefixLength": 64, + "AddressOrigin": "Static", + "AddressState": "Preferred" + } + ], + "Links": { + "HostInterface": { + "@odata.id": "/redfish/v1/Managers/BMC/HostInterfaces/1" + } + }, + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/ToManager", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/VLAN1/index.json b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/VLAN1/index.json new file mode 100644 index 0000000..473450c --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/VLAN1/index.json @@ -0,0 +1,52 @@ +{ + "@odata.type": "#EthernetInterface.v1_12_6.EthernetInterface", + "Id": "VLAN1", + "Name": "Ethernet Interface", + "Description": "VLAN from System NIC 1", + "Status": { + "State": "Enabled", + "Health": "OK" + }, + "EthernetInterfaceType": "Virtual", + "LinkStatus": "LinkUp", + "PermanentMACAddress": "12:44:6A:3B:04:11", + "MACAddress": "12:44:6A:3B:04:11", + "SpeedMbps": 1000, + "FullDuplex": true, + "HostName": "web483", + "FQDN": "web483.contoso.com", + "IPv6DefaultGateway": "fe80::3ed9:2bff:fe34:600", + "NameServers": [ + "names.contoso.com" + ], + "IPv4Addresses": [ + { + "Address": "192.168.150.236", + "SubnetMask": "255.255.252.0", + "AddressOrigin": "Static", + "Gateway": "192.168.150.1" + } + ], + "IPv6Addresses": [ + { + "Address": "fe80::1ec1:deff:fe6f:1e24", + "PrefixLength": 64, + "AddressOrigin": "Static", + "AddressState": "Preferred" + } + ], + "VLAN": { + "VLANEnable": true, + "VLANId": 1000 + }, + "TeamMode": "None", + "Links": { + "RelatedInterfaces": [ + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411" + } + ] + }, + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/VLAN1", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/index.json b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/index.json new file mode 100644 index 0000000..ccf3551 --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/Systems/437XR1138R2/EthernetInterfaces/index.json @@ -0,0 +1,22 @@ +{ + "@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection", + "Name": "Ethernet Interface Collection", + "Description": "System NICs on Contoso Servers", + "Members@odata.count": 4, + "Members": [ + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411" + }, + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B8890" + }, + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/VLAN1" + }, + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/ToManager" + } + ], + "@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file diff --git a/tests/fixtures/dmtf-public-rackmount1/UpdateService/index.json b/tests/fixtures/dmtf-public-rackmount1/UpdateService/index.json new file mode 100644 index 0000000..bce6f0c --- /dev/null +++ b/tests/fixtures/dmtf-public-rackmount1/UpdateService/index.json @@ -0,0 +1,45 @@ +{ + "@odata.type": "#UpdateService.v1_17_1.UpdateService", + "Id": "UpdateService", + "Name": "Update service", + "Status": { + "State": "Enabled", + "Health": "OK", + "HealthRollup": "OK" + }, + "ServiceEnabled": true, + "HttpPushUri": "/FWUpdate", + "HttpPushUriOptions": { + "HttpPushUriApplyTime": { + "ApplyTime": "Immediate", + "ApplyTime@Redfish.AllowableValues": [ + "Immediate", + "OnReset", + "AtMaintenanceWindowStart", + "InMaintenanceWindowOnReset" + ], + "MaintenanceWindowStartTime": "2018-12-01T03:00:00+06:00", + "MaintenanceWindowDurationInSeconds": 600 + } + }, + "HttpPushUriOptionsBusy": false, + "FirmwareInventory": { + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory" + }, + "LocalImageStoreAvailableCapacityBytes": 16106127360, + "LocalImageStoreTotalCapacityBytes": 21474836480, + "LocalImageStore": { + "@odata.id": "/redfish/v1/UpdateService/LocalImageStore" + }, + "ClientCertificates": { + "@odata.id": "/redfish/v1/UpdateService/ClientCertificates" + }, + "Actions": { + "#UpdateService.SimpleUpdate": { + "target": "/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate", + "@Redfish.ActionInfo": "/redfish/v1/UpdateService/SimpleUpdateActionInfo" + } + }, + "@odata.id": "/redfish/v1/UpdateService", + "@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." +} \ No newline at end of file