GET – 服务器固件清单集合
使用 GET 方法检索服务器上的固件信息列表。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/UpdateService/FirmwareInventory
响应正文
字段 | 类型 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|
Members | 数组 | 项:Firmware 元素的引用链接。 | ||||||
Name | 字符串 | SoftwareInventoryCollection | ||||||
Description | 字符串 | Firmware Inventory Collection |
注
“FirmwareInventory”会描述多种设备的固件信息,包括 BMC(主)、UEFI、LXPM、LXPM Windows/Linux 驱动程序和固件(适用于支持 PLDM 或无代理管理的板载和附加适配器、由 RAID 控制器管理的硬盘)。
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@odata.context": "/redfish/v1/$metadata#SoftwareInventoryCollection.SoftwareInventoryCollection",
"@odata.etag": "\"96C54918\"",
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory",
"@odata.type": "#SoftwareInventoryCollection.SoftwareInventoryCollection",
"Description": "Firmware Inventory Collection.",
"Members": [
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BMC-Primary"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BMC-Primary-Pending"
},
...
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/PCIeDevice_slot5_0x460000.Bundle"
}
],
"Members@odata.count": 28,
"Name": "Software Inventory Collection"
}
提供反馈