GET – 服务器固件清单集合
使用 GET 方法检索服务器上的固件信息列表。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/UpdateService/FirmwareInventory
响应正文
字段 | 类型 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|
Members | 数组 | 项:Firmware 元素的引用链接。 | ||||||
Name | 字符串 | “SoftwareInventoryCollection” | ||||||
Description | 字符串 | “Firmware Inventory Collection.” |
注
“FirmwareInventory”描述多种设备的固件信息,其中包括:
BMC(主)、BMC(备用)UEFI LXPM、LXPM Windows/Linux 驱动程序和固件,适用于:支持 PLDM 或无代理管理的板载和附加适配器、由 RAID 控制器管理的硬盘(在基于 AMD EPYC(第二代、第三代)的系统上不支持)、Intel® Optane™ Persistent Memory(在基于 AMD EPYC(第二代、第三代)的系统上不支持)、电源模块单元
对于每个返回结果,可以根据设备细节来部分实现这些属性。
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"Members": [
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BMC-Primary"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BMC-Backup"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/UEFI"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/LXPM"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/LXPMWindowsDriver"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/LXPMLinuxDriver"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Slot_7.Bundle"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Ob_1.Bundle"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Ob_1.1"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Ob_1.2"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Ob_3.1"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Ob_4.1"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Ob_5.1"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Slot_7.1"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/PSU1"
}
],
"Members@odata.count": 15,
"@odata.type": "#SoftwareInventoryCollection.SoftwareInventoryCollection",
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory",
"Members@odata.navigationLink": "/redfish/v1/UpdateService/FirmwareInventory/Members",
"@odata.etag": "\"2f84bcae162420f035fd84e6bb2d13a0\"",
"Name": "SoftwareInventoryCollection",
"Description": "Firmware Inventory Collection.",
"@odata.context": "/redfish/v1/$metadata#SoftwareInventoryCollection.SoftwareInventoryCollection"
}
提供反馈