【已撤销】Redfish接口Drive资源新增属性

背景

客户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) "
}

评审结论

遗留问题

关联的issue请补充

已补充

1、新增的AssociatedRaid不是标准资源,无法直接新增,请提前说明为什么需要新增,而且当前要新增到标准资源下面不合理;

经过讨论,该资源我们选择做到定制化仓,该评审取消