背景
当前redfish标准接口存在缺失,需要评审新增redfish标准接口以及资源协作接口属性。
关联ISSUE
[需求]: 支持Redfish资源新增TrustedComponent资源集合
评审点
评审点1:
新增URI:/redfish/v1/Chassis/{ChassisId}/TrustedComponents
评审点2:
新增URI:/redfish/v1/Chassis/{ChassisId}/TrustedComponents/{TrustedComponentId}
评审点3:
新增接口属性查询启动选项资源链接
评审点4:
新增接口属性查询启动选项资源链接
详细描述
评审点1:
新增URI:/redfish/v1/Chassis/{ChassisId}/TrustedComponents
变化类型:新增URI
操作权限:ReadOnly
操作类型: GET
应用场景:
支持标准redfish获取TrustedComponent资源
| 一级属性 | 二级属性 | 取值类型 | 操作权限 | 属性说明 |
|---|---|---|---|---|
| @odata.context | string | ReadOnly | /redfish/v1/$metadata#TrustedComponentCollection.TrustedComponentCollection | |
| @odata.id | string | ReadOnly | /redfish/v1/Chassis/${Uri/chassisid}/TrustedComponents | |
| @odata.type | string | ReadOnly | #TrustedComponentCollection.TrustedComponentCollection | |
| Name | string | ReadOnly | Trusted Component Collection | |
| Member@odata.count | integer | ReadOnly | 选项成员数量 | |
| Members | @odata.id | string | ReadOnly | 选项成员链接 |
schema说明:
新增schema文件 trustedcomponent.json,trustedcomponentCollection.json
评审点2:
URI:/redfish/v1/Chassis/{ChassisId}/TrustedComponents/{TrustedComponentId}
变化类型:新增URI
操作类型: GET
应用场景:
支持标准redfish获取TrustedComponent资源。
| 一级属性 | 二级属性 | 类型 | 操作权限 | 属性说明 |
|---|---|---|---|---|
| @odata.context | string | ReadOnly | /redfish/v1/$metadata#TrustedComponent.TrustedComponent | |
| @odata.id | string | ReadOnly | /redfish/v1/Chassis/${Uri/chassisid}/TrustedComponents/${Uri/trustedcomponentid} | |
| @odata.type | string | ReadOnly | #TrustedComponent.v1_0_0.TrustedComponent | |
| FirmwareVersion | object | ReadOnly | 链接到TrustedComponent的集合 | |
| Manufacturer | object | ReadOnly | 链接到TrustedComponent的集合 | |
| Status | State | object | ReadOnly | 受信任设备的状态 |
| Status | Health | object | ReadOnly | 受信任设备的健康状况 |
schema说明:
新增schema文件 trustedcomponent.v1_0_0.json
评审点3:
请求URL:/redfish/v1/Chassis/{ChassisId}
变化类型:新增属性
操作类型:GET
应用场景:
支持标准redfish获取TrustedComponent资源。
| 一级属性 | 二级属性 | 取值类型 | 操作权限 | 说明 |
|---|---|---|---|---|
| TrustedComponents | @data.id | string | ReadOnly | 受信用设备资源集合链接 |
TrustedComponent 定义,查看Chassis.v1_15_7.json
"TrustedComponents": {
"$ref": "http://redfish.dmtf.org/schemas/v1/TrustedComponentCollection.json#/definitions/TrustedComponentCollection",
"description": "The link to the trusted components in this chassis.",
"longDescription": "This property shall contain a link to a resource collection of type `TrustedComponentCollection`.",
"readonly": true,
"versionAdded": "v1_21_0"
},
评审点4:
请求URL:/redfish/v1/Systems/{ComputerSystemId}
变化类型:新增属性
操作类型:GET
应用场景:
支持标准redfish获取TrustedComponent资源。
| 一级属性 | 二级属性 | 取值类型 | 操作权限 | 说明 |
|---|---|---|---|---|
| TrustedComponents | @data.id | string | ReadOnly | 受信用设备资源集合链接 |
TrustedComponent 定义,查看ComputerSystems.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"
},