Skip to main content

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.

PowerSupplies

Link

/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies

PowerSupplyRedundancy

Array

Items: object

Item count: 1

 

PowerSupplyRedundancy[1]

Object

Expanded.

  

MaxSupportedInGroup

Number

2 or 4.

  

MinNeededInGroup

Number

2

  

RedundancyType

String

NPlusM or NotRedundant.

  

Status

Object

Expanded.

   

Health

String

The Health of the power system.

   

State

String

Enabled or Disabled

Status

Object

Expanded.

 

State

String

Enabled

 

Health

String

OK, Warning or Critical.

Actions

Object

Expanded.

 

#LenovoPowerSubsystem.GetPowerPolicy

Object

Expanded.

  

title

String

GetPowerPolicy

  

target

Link

The link of this action.

 

#LenovoPowerSubsystem.SetPowerPolicy

Object

Expanded.

  

title

String

SetPowerPolicy

  

target

Link

The link of this action.

  

PowerRestorePolicy

String

The same as “Oem/Lenovo/PowerRestorePolicy”

  

RandomDelay

Boolean

The same as “Oem/Lenovo/RandomDelay”

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"@odata.context": "/redfish/v1/$metadata#PowerSubsystem.PowerSubsystem",
"@odata.etag": "\"0C23798E\"",
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem",
"@odata.type": "#PowerSubsystem.v1_1_0.PowerSubsystem",
"Actions": {
"Oem": {
...
}
}
},
"CapacityWatts": 2000,
"Description": "This resource shall represent a power subsystem for a Redfish implementation.",
"Id": "PowerSubsystem",
"Name": "Power Subsystem",
"Oem": {
...
}
},
"PowerSupplies": {
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies"
},
"PowerSupplyRedundancy": [
{
"MaxSupportedInGroup": 2,
"MinNeededInGroup": 2,
"Oem": {
...
}
},
"RedundancyGroup": [
{
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU1"
}
],
"RedundancyType": "NPlusM",
"Status": {
"Health": "OK",
"State": "Enabled"
}
}
],
"Status": {
"Health": "OK",
"State": "Enabled"
}
}