Pumps
更新时间: 2026/06/26
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Chassis/chassis_id/ThermalSubsystem/Pumps/pump_id
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.type | string | true | - | 泵的资源类型 |
| @odata.context | string | true | - | 泵资源模型OData描述信息 |
| @odata.id | string | true | - | 泵资源访问路径 |
| Id | string | true | - | 泵Id |
| PumpType | string | true | - | 泵类型 |
| Name | string | true | - | 泵名称 |
| Manufacturer | string | true | - | 制造商 |
| Model | string | true | - | 型号 |
| SerialNumber | string | true | - | 序列号 |
| PartNumber | string | true | - | 部件编码 |
| PhysicalContext | string | true | - | 泵适用的区域或设备 |
| ProductionDate | string | true | - | 制造日期 |
| Location | object | true | - | 泵位置信息,包括: ● PartLocation:部件位置 ● Reference:位置参考 |
| Status | object | true | - | 泵的健康状况,包括: ● State:泵的状态 ● Health:泵的健康状态 |
| PumpSpeedPercent | object | true | - | 泵的转速,包括: ● Reading:泵的速率比,单位百分比 ● SpeedRPM:泵传感器的当前读数 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询泵单个资源信息
命令格式
URL: https://device_ip/redfish/v1/Chassis/chassis_id/ThermalSubsystem/Pumps/pump_id
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| chassis_id | 机箱资源的ID | ● 针对机架服务器,取值为1 ● 针对高密服务器,取值为BladeN(N 表示节点槽位号),例如“Blade1” ● 针对刀片服务器,取值可以为BladeN (N表示计算节点槽位号)或SwiN (N表示交换模块槽位号),例如 “Swi1” ● 针对X6800 V5,X6000 V5,G5500, XA320 V2服务器,取值还可以为 Enc,表示计算节点所在的机框资源 ● 针对设备U位信息,取值可以为UN(N 表示设备U位号),例如"U1" ● 针对机柜资源,取值为Rack |
| auth_value | 执行该GET请求时,必须在 “Headers”中携带“X- Auth-Token”值用于鉴权 | 可通过/redfish/v1/SessionService/ Sessions创建会话时获得 |
| pump_id | 泵资源的ID | 在查询泵列表的返回信息中包含各泵Id |
使用指南
无
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/Chassis/1/ThermalSubsystem/Pumps/1请求头:
X-Auth-Token: 123456789***********************请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#Pump.Pump",
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Pumps/1",
"@odata.type": "#Pump.v1_2_0.Pump",
"Id": "1",
"PumpType": null,
"Name": "Pump 1",
"Manufacturer": null,
"Model": null,
"SerialNumber": null,
"PartNumber": "32060009",
"PhysicalContext": null,
"ProductionDate": null,
"Location": {
"PartLocation": {
"Reference": null
}
},
"Status": {
"State": "Enabled",
"Health": "OK"
},
"PumpSpeedPercent": {
"Reading": 62,
"SpeedRPM": 1800
}
}响应码:200