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