背景
ComputerSystem资源升级,补齐相关Redfish标准属性
关联ISSUE
评审点
评审点1:新增GraphicsControllers集合资源
资源URI:/redfish/v1/Systems/{ComputerSystemId}/GraphicsControllers
资源版本:GraphicsControllerCollection
Required属性:“Members”、“Members@odata.count”、“@odata.id”、“@odata.type”、“Name”
嵌套资源: 本资源嵌套于 ComputerSystem资源的 GraphicsControllers属性中
属性列表:
| 属性名 | 类型 | 示例 | readonly | 易变属性 | 实现PATCH | 操作权限 | 描述 |
|---|---|---|---|---|---|---|---|
| @odata.context | string | /redfish/v1/$metadata#GraphicsControllerCollection.GraphicsControllerCollection | true | 否 | / | ReadOnly | 图形控制器集合资源的OData描述信息 |
| @odata.id | string | /redfish/v1/Systems/1/GraphicsControllers | true | 否 | / | ReadOnly | 图形控制器集合资源的访问路径 |
| @odata.type | string | #GraphicsControllerCollection.GraphicsControllerCollection | true | 否 | / | ReadOnly | 图形控制器集合资源的类型 |
| Name | string | Graphics Controller Collection | true | 否 | / | ReadOnly | 图形控制器集合资源的名称 |
| Members@odata.count | integer | 1 | true | 否 | / | ReadOnly | 图形控制器资源的数量 |
| Members[{ | array | / | / | / | / | / | 图形控制器资源的访问列表 |
| @odata.id | string | /redfish/v1/Systems/1/GraphicsControllers/Gpu1 | true | 否 | / | ReadOnly | 图形控制器资源的访问路径 |
| }] |
评审点2:新增GraphicsController标准资源
资源URI:/redfish/v1/Systems/{ComputerSystemId}/GraphicsControllers/{GraphicsControllerId}
资源版本:GraphicsController.v1_0_2
Required属性:“@odata.id”、“@odata.type”、“Id”、“Name”
嵌套资源:本资源嵌套于 GraphicsControllers资源的 members属性中
Link资源:“PCIeDevice”、“Processors”
属性列表:
| 属性名 | 类型 | 示例 | readonly | 易变属性 | 实现PATCH | 操作权限 | 描述 |
|---|---|---|---|---|---|---|---|
| @odata.context | string | /redfish/v1/$metadata#GraphicsController.GraphicsController | true | 否 | / | ReadOnly | 图形控制器资源的OData描述信息 |
| @odata.id | string | /redfish/v1/Systems/1/GraphicsControllers/Gpu1 | true | 否 | / | ReadOnly | 图形控制器资源的访问路径 |
| @odata.type | string | #GraphicsController.v1_0_2.GraphicsController | true | 否 | / | ReadOnly | 图形控制器资源的类型 |
| Id | string | GPU1 | true | 否 | / | ReadOnly | 图形控制器资源的Id |
| Name | string | Graphics Controller 1 | true | 否 | / | ReadOnly | 图形控制器资源的名称 |
| Manufacturer | string,null | / | true | 否 | / | ReadOnly | 图形控制器的制造商 |
| Model | string,null | / | true | 否 | / | ReadOnly | 图形控制器的型号 |
| PartNumber | string,null | / | true | 否 | / | ReadOnly | 图形控制器的部件编码 |
| SerialNumber | string,null | / | true | 否 | / | ReadOnly | 图形控制器的序列号 |
| Status{ | object | / | / | / | / | / | 图形控制器的状态 |
| Health | string,null | 枚举值:OK、Warning、Critical | true | 否 | / | ReadOnly | 图形控制器的健康状态 |
| } | |||||||
| Links{ | object | / | / | / | / | / | 与该资源相关的其它资源的链接 |
| PCIeDevice { | object | / | / | / | / | / | 指向代表此图形控制器的PCIe设备的链接 |
| @odata.id | string | /redfish/v1/Chassis/1/PCIeDevices/PCIeCard1 | true | 否 | / | ReadOnly | 代表此图形控制器的PCIe设备资源的链接 |
| } | |||||||
| Processors[{ | array | / | / | / | / | / | 指向此图形控制器所包含的处理器资源的访问列表 |
| @odata.id | string | /redfish/v1/Systems/1/Processors/Gpu1 | true | 否 | / | ReadOnly | 此图形控制器所包含的处理器资源的访问链接 |
| }] | |||||||
| } | |||||||
| Location{ | object | / | / | / | / | / | 图形控制器的位置信息 |
| PartLocation{ | object | / | / | / | / | / | 图形控制器的部件位置 |
| ServiceLabel | string,null | Slot 1 | true | 否 | / | ReadOnly | 部件位置的标签 |
| LocationOrdinalValue | integer,null | 1 | true | 否 | / | ReadOnly | 部件位置的序号 |
| LocationType | string,null | Slot | true | 否 | / | ReadOnly | 部件位置的类型 |
| } | |||||||
| } |
评审点3:Processor资源新增属性
资源URI:/redfish/v1/Systems/{ComputerSystemId}/Processors/{ProcessorId}
资源版本:Processor.v1_17_0
属性列表:
| 属性名 | 类型 | 示例 | readonly | 易变属性 | 实现PATCH | 操作权限 | 描述 |
|---|---|---|---|---|---|---|---|
| Links | object | / | / | / | / | / | 与此资源相关的其他资源链接 |
| GraphicsController { | object, null | / | / | / | / | / | 与当前处理器关联的图形控制器资源 |
| @odata.id | string | /redfish/v1/Systems/1/GraphicsControllers/Gpu1 | true | 否 | 否 | ReadOnly | 与当前处理器关联的图形控制器资源链接 |
| } |
评审点4:ComputerSystem资源新增属性
资源URI:/redfish/v1/Systems/{ComputerSystemId}
资源版本:ComputerSystem.v1_23_0
属性列表:
| 属性名 | 类型 | 示例 | readonly | 易变属性 | 实现PATCH | 操作权限 | 描述 |
|---|---|---|---|---|---|---|---|
| HostingRoles | array | 枚举值:Switch、ApplicationServer | true | 否 | / | ReadOnly | 此计算机系统支持的宿主角色 |
| ProcessorSummary{ | object | / | / | / | / | / | 该系统的中央处理器总体情况 |
| CoreCount | integer,null | / | true | 否 | / | ReadOnly | 系统中处理器的核心数量 |
| } | |||||||
| GraphicsControllers{ | object | / | / | / | / | / | 指向可以为此系统输出视频的图形控制器集合资源 |
| @odata.id | string | /redfish/v1/Systems/1/GraphicsControllers | true | 否 | / | ReadOnly | 指向可以为此系统输出视频的图形控制器集合资源的链接 |
| } | |||||||
| Links{ | object | / | / | / | / | / | 与该资源相关的其它资源的链接 |
| ManagedBy[{ | array | / | / | / | / | / | 指向此系统管理者的资源列表 |
| @odata.id | string | /redfish/v1/Managers/1 | true | 否 | / | ReadOnly | 指向此系统管理者的资源链接 |
| }] | |||||||
| } |
评审结论
1.同意新增GraphicsControllers集合资源,资源 URI 为 /redfish/v1/Systems/{ComputerSystemId}/GraphicsControllers;资源操作类型为 GET,操作权限为 ReadOnly;资源支持的属性和属性详细说明见评审点1。
2.同意新增GraphicsController标准资源;资源操作类型为 GET,操作权限为 ReadOnly;资源支持的属性和属性详细说明见评审点2。
3.同意Processor资源下新增属性Links.GraphicsController,用于表示与当前处理器关联的图形控制器资源链接;属性操作类型为 GET,操作权限为 ReadOnly。
4.同意ComputerSystem资源下新增属性HostingRoles、ProcessorSummary.CoreCount、GraphicsControllers、Links.ManagedBy,属性操作类型为 GET,操作权限为 ReadOnly;属性详细说明见评审点4。
遗留问题
1、GraphicsController资源是否可以支持Location
结论:标准定义中GraphicsController资源包含Location,可以实现,已增加