GET – PowerSubsystem 属性
使用 GET 方法检索服务器的 PowerSubsystem 中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PowerSubsystem
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Id | 字符串 | “PowerSubsystem” | |||
Name | 字符串 | “Power Subsystem” | |||
Description | 字符串 | “This resource shall represent a power subsystem for a Redfish implementation.” | |||
Allocation | 对象 | 已展开 | |||
AllocatedWatts | 数字 | 分配的功率。 | |||
RequestedWatts | 数字 | 请求的功率。 | |||
CapacityWatts | 数字 | 功率容量瓦数 | |||
PowerSupplies | 链接 | {SR}/Chassis/1/PowerSubsystem/PowerSupplies | |||
PowerSupplyRedundancy | 数组 | 项:对象 项数:1 | |||
PowerSupplyRedundancy[N] | 对象 | 已展开 | |||
Status | 对象 | 已展开 | |||
State | 字符串 | “Enabled”、“Disabled” | |||
Health | 电源系统的运行状况。 | ||||
MaxSupportedInGroup | 整数 | 2 或 4。 | |||
MinNeededInGroup | 整数 | 2 | |||
RedundancyType | 字符串 | “NPlusM”或“NotRedundant”。 | |||
RedundancyGroup | 数组 | 项:对象 项数:2 或 4 | |||
RedundancyGroup[N] | 链接 | /Chassis/1/PowerSubsystem/PowerSupplies/PSU{N} | |||
Status | 对象 | 已展开 | |||
State | 字符串 | “Enabled” | |||
Health | 字符串 | “OK”、“Warning”或“Critical”。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@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"
}
提供反馈