Skip to main content

GET – Systems PowerLimit properties

Use the GET method to retrieve properties in PowerLimit resource for Redfish service.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/Controls/PowerLimit

Request body

None

Response body

Field

Type

Description

Id

String

“PowerLimit”

Name

String

“System Power Limit”

Description

String

This resource shall represent system power limit of a chassis for a Redfish implementation.

AllowableMax

Integer

The maximum possible setting for this control.

AllowableMin

Integer

The minimum possible setting for this control.

ControlMode

String

“Disabled” or “Manual”.

ControlType

String

“Power”

Implementation

String

“Programmable”

Increment

Number

1

PhysicalContext

String

“Chassis”

RelatedItem

Array

An array of links to resources that this control services.

RelatedItem[N]

Link

{SR}/Chassis/1

{SR}/Chassis/1/PowerSubsystem

Sensor

Object

Expanded

 

DataSourceUri

String

Redfish path of sensor “Sys Power”.

 

Reading

Number

Reading of sensor “Sys Power”.

SetPoint

Number

The desired set point of the control.

SetPointType

String

“Single”

SetPointUnits

String

“Watt”

Status

Object

Expanded

 

State

String

“Enabled”

 

Health

String

“OK”

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example is PATCH body

{
"AllowableMin": 0,
"Name": "System Power Limit",
"@odata.context": "/redfish/v1/$metadata#Control.Control",
"@odata.id": "/redfish/v1/Chassis/1/Controls/PowerLimit",
"SetPointUnits": "Watt",
"Sensor": {
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/161L0",
"Reading": 20
},
"Increment": 1,
"SetPoint": null,
"Status": {
"Health": "OK",
"State": "Enabled"
},
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Chassis/1"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem"
}
],
"@odata.etag": "\"7dc0a8359d12266f6b2\"",
"AllowableMax": 1800,
"PhysicalContext": "Chassis",
"Implementation": "Programmable",
"Id": "PowerLimit",
"SetPointType": "Single",
"Oem": {
"Lenovo": {
"LimitMode": "AC",
"@odata.type": "#LenovoControl.v1_0_0.LenovoControl",
"GuaranteedInWatts": 65535,
"CapacityMinAC": null,
"CapacityMaxAC": null,
"CapacityMinDC": null,
"CapacityMaxDC": null
}
},
"@odata.type": "#Control.v1_1_0.Control",
"Description": "This resource shall represent system power limit of a chassis for a Redfish implementation.",
"ControlType": "Power",
"ControlMode": "Disabled"
}