跳到主要内容

GET – GPU 属性

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

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Processors/GPU{1-N}

请求正文

响应正文

字段类型描述

Description

字符串

“This resource is used to represent a processor for a Redfish implementation.”

Id

字符串

GPU{N},N 是此处理器的索引

Manufacturer

字符串

处理器制造商。

Name

字符串

“Processor {N}”,N 是此处理器的插槽编号

SerialNumber

字符串

此处理器的序列号。

PartNumber

字符串

此处理器的部件号。

FirmwareVersion

字符串

此 GPU 的固件版本。

ProcessorId

对象

已展开

 

VendorId

字符串

此处理器的供应商标识。

ProcessorType

字符串

“GPU”

Links

对象

展开

 

Chassis

链接

/redfish/v1/Chassis/1/

 

PCIeDevice

链接

此 GPU PCIeDevice 的链接

 

PCIeFunctions

链接

此 GPU PCIeFunction 的链接

状态代码

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

示例

返回以下示例 JSON 响应:

{
"SerialNumber": "0320117104864",
"FirmwareVersion": "86.04.55.00.01",
"Id": "GPU1",
"ProcessorType": "GPU",
"Name": "GPU 1",
"ProcessorId": {
"VendorId": "0x10de"
},
"Manufacturer": "NVIDIA Corporation",
"@odata.type": "#Processor.v1_8_0.Processor",
"@odata.id": "/redfish/v1/Systems/1/Processors/GPU1",
"PartNumber": "1BB3-895-A1",
"@odata.etag": "\"4770b092045628a9743\"",
"Links": {
"PCIeDevice": {
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_1"
},
"Chassis": {
"@odata.id": "/redfish/v1/Chassis/1"
},
"PCIeFunctions": [
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_1/PCIeFunctions/slot_1.00"
}
],
"PCIeFunctions@odata.count": 1
},
"Description": "This resource is used to represent a processor for a Redfish implementation."
}