GET – PowerSubsystem properties
Use the GET method to retrieve properties in PowerSubsystem for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PowerSubsystem
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | “PowerSubsystem” | |||
Name | String | “Power Subsystem” | |||
Description | String | This resource shall represent a power subsystem for a Redfish implementation. | |||
Allocation | Object | Expanded | |||
AllocatedWatts | Number | Allocated power. | |||
RequestedWatts | Number | Requested power. | |||
CapacityWatts | Number | Power capacity watts | |||
PowerSupplies | Link | {SR}/Chassis/1/PowerSubsystem/PowerSupplies | |||
PowerSupplyRedundancy | Array | Items: object Item count: 1 | |||
PowerSupplyRedundancy[N] | Object | Expanded | |||
Status | Object | Expanded | |||
State | String | “Enabled”, “Disabled” | |||
Health | The Health of the power system. | ||||
MaxSupportedInGroup | Integer | 2 or 4. | |||
MinNeededInGroup | Integer | 2 | |||
RedundancyType | String | “NPlusM” or “NotRedundant”. | |||
RedundancyGroup | Array | Items: object Item count: 2 or 4 | |||
RedundancyGroup[N] | Link | /Chassis/1/PowerSubsystem/PowerSupplies/PSU{N} | |||
Status | Object | Expanded | |||
State | String | “Enabled” | |||
Health | String | “OK”, “Warning” or “Critical”. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.etag": "\"9223ec65811e34a974e12\"",
"Id": "PowerSubsystem",
"Name": "Power Subsystem",
"@odata.type": "#PowerSubsystem.v1_1_0.PowerSubsystem",
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem",
"Allocation": {
"AllocatedWatts": 542,
"RequestedWatts": 542
},
"Status": {
"State": "Enabled",
"Health": "OK"
},
"CapacityWatts": 1100,
"PowerSupplies": {
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies"
},
"Description": "This resource shall represent a power subsystem for a Redfish implementation.",
"Oem": {
"Lenovo": {
"PowerRestorePolicy": "Restore",
"WakeOnLANEnabled": true,
"LocalPowerControlEnabled": true,
"PowerOnPermissionEnabled": true,
"@odata.type": "#LenovoPowerSubsystem.v1_0_0.LenovoPowerSubsystem"
}
},
"PowerSupplyRedundancy": [
{
"MaxSupportedInGroup": 2,
"Status": {
"State": "Enabled",
"Health": "OK"
},
"RedundancyType": "NPlusM",
"RedundancyGroup": [
{
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU1"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU2"
}
],
"Oem": {
"Lenovo": {
"PowerRedundancySettings": {
"MaxPowerLimitWatts": 1100,
"PowerRedundancyPolicy": "RedundantWithThrottling",
"EstimatedUsage": "46.09%",
"PowerFailureLimit": 0
},
"@odata.type": "#LenovoRedundancy.v1_0_0.LenovoRedundancy",
"NonRedundantAvailablePower": 1100
}
},
"MinNeededInGroup": 2
}
],
"@odata.context": "/redfish/v1/$metadata#PowerSubsystem.PowerSubsystem"
}