背景
当前redfish标准接口Processor资源存在缺失,需要评审资源协作接口属性和redfish接口,支持查询ProcessorMemory属性。
关联ISSUE
整体方案
新增资源协作接口属性和redfish接口查询ProcessorMemory属性
评审点
评审点1:新增资源协作接口 bmc.kepler.Systems.Processor.Memory
评审点2:/redfish/v1/Systems/{SystemId}/Processors/{ProcessorId} 下新增属性 ProcessorMemory
详细描述
评审点1:新增资源协作接口 bmc.kepler.Systems.Processor.Memory
接口描述 :
直接连接在处理器上或集成在处理器内部的内存。
新增属性
| 属性名称 | 签名 | 只读 | 变化通知 | 属性描述 | 访问权限 | 属性来源 | 持久化类型 | 易变属性 |
|---|---|---|---|---|---|---|---|---|
CapacityMiB |
u |
true |
false |
内存容量(单位:MiB) |
Read: ReadOnly |
csr |
false |
false |
IntegratedMemory |
b |
true |
false |
内存是否集成在处理器内部 |
Read: ReadOnly |
csr |
false |
false |
MemoryType |
s |
true |
false |
内存类型 |
Read: ReadOnly |
csr |
false |
false |
OperatingSpeedMhz |
u |
true |
false |
内存的运行速度(单位:MHz) |
Read: ReadOnly |
带内获取 |
false |
true |
评审点2 :Processors资源新增属性
资源URI :/redfish/v1/Systems/{SystemId}/Processors/{ProcessorId} (已有)
资源版本:#Processor.v1_17_0
属性列表:
| 属性名 | 类型 | 示例/默认值/取值约束 | readonly | 易变属性 | 实现PATCH | 操作权限 | 描述 |
|---|---|---|---|---|---|---|---|
| ProcessorMemory | array | / | true | / | / | ReadOnly | 直接连接在处理器上或集成在处理器内部的内存。 |
| CapacityMiB | integer,null | 默认值null | true | 否 | 否 | ReadOnly | 内存容量(单位:MiB) |
| IntegratedMemory | boolean,null | 默认值null | true | 否 | 否 | ReadOnly | 内存是否集成在处理器内部。 |
| MemoryType | string,null | 默认值null,目前可取值:“Cache”, “L1Cache”, “L2Cache”, “L3Cache”, “L4Cache”, “L5Cache”, “L6Cache”, “L7Cache”, “HBM1”, “HBM2”, “HBM2E”, “HBM3”, “SGRAM”, “GDDR”, “GDDR2”, “GDDR3”, “GDDR4”, “GDDR5”, “GDDR5X”, “GDDR6”, “GDDR7”, “DDR”, “DDR2”, “DDR3”, “DDR4”, “DDR5”, “SDRAM”, “SRAM”, “Flash”, “OEM” | true | 否 | 否 | ReadOnly | 内存类型 |
| SpeedMHz | integer,null | 默认值null | true | 否 | 否 | ReadOnly | 内存的运行速度(单位:MHz) |