背景
客户Redfish规范要求Raid卡管理的硬盘需要显示资源归属于具体哪张Raid卡,当前BMC不支持Disk关联的Raid卡信息显示
关联ISSUE
[需求]: Redfish支持新增Driver资源归属AssociatedRaid字段 - openUBMC/rackmount - AtomGit | GitCode
整体方案
评审点
redfish接口Drive资源新增属性AssociatedRaid
详细描述
支持redfish接口获取FormFactor
uri: /redfish/v1/Chassis/{ChassisId}/Drives/{DriveId}(已有)
变化类型:新增属性
操作类型:Get
| 属性名称 | 取值类型 | 操作权限 | 默认值 | 取值范围 | 说明 | 约束 |
|---|---|---|---|---|---|---|
| AssociatedRaid | string,null | ReadOnly | null | 硬盘关联的Raid卡 |
schema说明
"AssociatedRaid": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "This is the name of the associated raid card for this drive.",
"longDescription": "The value of this property shall be the associated raid card name for this drive."
}
示例:
uri: /redfish/v1/Chassis/1/Drives/1
{
"AssociatedRaid":"PCIe Card 3 (9560-16i) "
}
