跳到主要内容

GET – GPU PowerLimit 属性

使用 GET 方法检索 Redfish 服务的 GPU PowerLimit 资源中的属性。

请求 URL

在基于 AMD 的系统中,只有 NVIDIA GPU 支持此功能。
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/Controls/GPU{N}_PowerLimit

请求正文

响应正文

字段

类型

描述

Id

字符串

“GPU{N}_PowerLimit”

Name

字符串

“GPU Power Limit”

Description

字符串

“This resource shall represent GPU power limit of a chassis for a Redfish implementation.”

ControlMode

字符串

控件的当前运行模式。“Disabled”或“Manual”。

ControlType

字符串

“Power”

Implementation

字符串

“Programmable”

Increment

数字

1

PhysicalContext

字符串

“Controls”

RelatedItem

数组

项:此控制项适用的资源的链接。

 

RelatedItem[N]

链接

/redfish/v1/Chassis/1 /redfish/v1/System/1/Processor/GPU{N}

Sensor

对象

已展开

 

DataSourceUri

字符串

传感器“GPU{N}_Power”的 Redfish 路径

 

Reading

数字

传感器“GPU{N}_Power”的读数。

SetPoint

数字

所需的控件设定点。

SetPointType

字符串

“Single”

SetPointUnits

字符串

“Watt”

Status

对象

已展开

 

State

字符串

“Enabled”

 

Health

字符串

“OK”

未安装 XCC2 Platinum 许可证时,“SetPoint”和“ControlMode”属性将被隐藏。

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

返回以下示例 JSON 响应:

{
"Status": {
"Health": "OK",
"State": "Enabled"
},
"@odata.context": "/redfish/v1/$metadata#Control.Control",
"Id": "GPU1_PowerLimit",
"Name": "GPU Power Limit",
"@odata.type": "#Control.v1_1_0.Control",
"@odata.id": "/redfish/v1/Chassis/1/Controls/GPU1_PowerL{imit",
"SetPointType": "Single",
"SetPointUnits": "Watt",
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Chassis/1",
},
{
“@odata.id”: “/redfish/v1/System/1/Processor/GPU1”
}
],
"Increment": 1,
"PhysicalContext": "Controls",
"Sensor": {
"Reading": 20,
"DataSourceUri": "/redfish/v1/Chassis/1/Sensors/GPU1_Power"
},
"ControlType": "Power",
"Implementation": "Programmable",
"Description": "This resource shall represent gpu power limit of a chassis for a Redfish implementation.",
"@odata.etag": "\"79fb6c6b41bd242e8a2\"",
"ControlMode": "Manual",
"SetPoint": 5
}