【已评审】支持新增redfish标准ComputerSystem资源

背景

当前redfish标准接口存在缺失,需要评审新增redfish标准接口以及资源协作接口属性。

关联ISSUE

[需求]: 支持ComputerSystem接口(升级)

评审点

新增redfish标准接口属性
Systems接口下新增TrustedComponents属性

详细描述

场景:
URI:/redfish/v1/Systems/{ComputerSystemId}

变化类型:新增属性
操作类型:GET
应用场景:支持标准redfish获取TrustedComponent资源。
详细描述:

一级属性 二级属性 取值类型 操作权限 说明
TrustedComponents @data.id string ReadOnly 受信用设备资源集合链接

TrustedComponents 定义,查看ComputerSystem.v1_25_0.json

  "TrustedComponents": {
    "description": "An array of links to the trusted components for this system.",
    "items": {
        "$ref": "http://redfish.dmtf.org/schemas/v1/TrustedComponent.json#/definitions/TrustedComponent"
    },
    "longDescription": "This property shall contain an array of links to resources of type `TrustedComponent`.",
    "readonly": true,
    "type": "array",
    "versionAdded": "v1_19_0"
  },

RspBody响应体结构:

{
    "TrustedComponents": [
        {
            "@odata.id": "/redfish/v1/Chassis/${Uri/systemid}/TrustedComponents"
        }
}

评审结论

同意URI: **/redfish/v1/Systems/{ComputerSystemId}**下新增标准属性TrustedComponents,类型为string,只支持GET操作

遗留问题

规范上看,Systems资源下面没有TrustedComponents的URL,增加这个资源还有啥其他背景吗?

协议里面这样写的 链接在另外一个帖子有写

https://discuss.openubmc.cn/t/topic/3677这个里面写了

可以吧协议的原文发一下吗?

好的 已经回复