FirmwareInventory
更新时间: 2026/06/26
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Sms/1/UpdateService/FirmwareInventory/{item}
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | - | 指定升级服务资源模型的OData描述信息 |
| @odata.id | string | true | - | 指定升级服务资源的访问路径 |
| @odata.type | string | true | - | 指定升级服务资源的类型 |
| Oem | object | true | - | 自定义属性 |
| Oem.Public | object | true | - | 自定义属性 |
| Oem.Public.BDFNumber | object | true | - | BDF编号 |
| Oem.Public.BDFNumber.RootBDF | string | true | - | RootBDF |
| Oem.Public.BDFNumber.BDF | string | true | - | BDF |
| Oem.Public.Model | string | true | - | 型号 |
| Oem.Public.VendorID | string | true | - | 厂商ID |
| Oem.Public.DeviceID | string | true | - | 设备ID |
| Oem.Public.SubsystemDeviceID | string | true | - | 子厂商ID |
| Oem.Public.SubsystemVendorID | string | true | - | 子设备ID |
| Id | string | true | - | 指定资源的ID |
| DeviceName | string | true | - | 设备名称 |
| DeviceSilkScreen | string | true | - | 设备丝印 |
| Status | string | true | - | 状态 |
| Version | string | true | - | 固件版本 |
| Description | string | true | - | 固件描述 |
| SoftwareId | string | true | - | 软件ID |
| Name | string | true | - | 固件名称 |
| DeviceLocation | string | true | - | 设备位置 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询指定带内升级固件资源信息
命令格式
URL: https://device_ip/redfish/v1/Sms/1/UpdateService/FirmwareInventory/{item}
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| auth_value | 请求消息的鉴权参数 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
| item | 软件资源ID | 字符串 |
使用指南
无
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/Sms/1/UpdateService/FirmwareInventory/Firmware_xxx请求头:
X-Auth-Token: 123456789***********************请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/Sms/1/UpdateService/FirmwareInventory/$entity",
"@odata.id": "/redfish/v1/Sms/1/UpdateService/FirmwareInventory/Firmware_xxx",
"@odata.type": "#SoftwareInventory.v1_0_0.FirmwareInventory",
"Oem": {
"Public": {
"BDFNumber": {
"RootBDF": null,
"BDF": null
},
"Model": null,
"VendorID": null,
"DeviceID": null,
"SubsystemDeviceID": null,
"SubsystemVendorID": null
}
},
"Id": "Software",
"Description": null,
"Name": null,
"Status": null,
"SoftwareId": null,
"Version": null,
"DeviceName": null,
"DeviceSilkScreen": null,
"DeviceLocation": null
}响应码:200