GET – 固件清单属性
使用 GET 方法检索每个固件信息。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/UpdateService/FirmwareInventory/{Id}
响应正文
| 字段 | 类型 | 描述 | ||||||
|---|---|---|---|---|---|---|---|---|
| Id | 字符串 | Id 属性用于唯一标识此固件。 | ||||||
| Description | 字符串 | 固件的描述。 | ||||||
| LowestSupportedVersion | 字符串 | 表示此软件支持的最低版本的字符串。 | ||||||
| Name | 字符串 | 此固件的名称。 | ||||||
| RelatedItem | 数组 | 与此软件清单项关联的资源的 URI。 | ||||||
| RelatedItem[N] | 对象 | 管理器资源的链接。 | ||||||
| SoftwareId | 字符串 | 用于标识此固件的特定 ID。 | ||||||
| Manufacturer | 字符串 | 表示此固件的制造商/生产商的字符串。 | ||||||
| ReleaseDate | 字符串 | 此固件的发布日期。 注 如果是 PMem 固件信息,则此对象将被隐藏。 | ||||||
| Status | 对象 | 已展开。 | ||||||
| HealthRollup | 字符串 | “OK”。 | ||||||
| Health | 字符串 | “OK” | ||||||
| State | 字符串 | 固件清单状态,如“Enabled”、“Disabled”、“StandbySpare”。 | ||||||
| Updateable | 布尔 | 指示 Redfish 是否可以更新固件。 | ||||||
| Version | 字符串 | 固件版本号。 为了便于由管理软件进行识别,Version 属性值可以不同于 Web 或旧版 CLI 中显示的版本字符串。 | ||||||
| WriteProtected | 布尔 | true | ||||||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
示例
以下示例 JSON 响应描述了 BMC(主)固件信息。
{
    "SoftwareId": "BMC-CDI3-10",
    "Updateable": true,
    "Name": "Firmware:BMC",
    "@odata.etag": "\"0d057295e35b9b29dda4595a90d7ac3f\"",
    "Version": "40M-3.00",
    "RelatedItem@odata.count": 1,
    "LowestSupportedVersion": null,
    "@odata.type": "#SoftwareInventory.v1_2_2.SoftwareInventory",
    "WriteProtected": true,
    "Id": "BMC-Primary",
    "RelatedItem": [
        {
            "@odata.id": "/redfish/v1/Managers/1"
        }
    ],
    "Status": {
        "Health": "OK",
        "HealthRollup": "OK",
        "State": "Enabled"
    },
    "ReleaseDate": "2019-09-25T00:00:00Z",
    "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/BMC-Primary",
    "Manufacturer": "Lenovo",
    "Description": "The information of BMC (Primary) firmware."
}
以下示例 JSON 响应描述了 RAID 适配器的固件信息。
{
    "SoftwareId": "DEVICE-1D490500-13",
    "Updateable": true,
    "Name": "Firmware:DEVICE-ThinkSystem RAID 530-8i PCIe 12Gb Adapter",
    "@odata.etag": "\"dffae54e34119fe6bb7ce896633c58ae\"",
    "Version": "50.5.0-1510",
    "RelatedItem@odata.count": 1,
    "LowestSupportedVersion": null,
    "@odata.type": "#SoftwareInventory.v1_2_2.SoftwareInventory",
    "Id": "Slot_7.Bundle",
    "RelatedItem": [
        {
            "@odata.id": "/redfish/v1/Systems/1/PCIeDevices/slot_7"
        }
    ],
    "Status": {
        "Health": "OK",
        "HealthRollup": "OK",
        "State": "Enabled"
    },
    "ReleaseDate": "2018-06-25T00:00:00Z",
    "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Slot_7.Bundle",
    "Manufacturer": "AVAGO Technologies",
    "Description": "The information of ThinkSystem RAID 530-8i PCIe 12Gb Adapter firmware."
}
提供反馈