【已评审】新增LeakDetector相关属性资源协作接口

背景

新需求:支持升级redfish标准LeakDetector资源
当前差距:
支持查询redfish资源LeakDetector下的LeakDetectorType、Manufacturer、Model、PartNumber、PhysicalContext、SerialNumber、ServiceLabel 、LocationReference ,当前没有支持这些资源的接口,需要新增对应的资源协作接口;

关联ISSUE

[需求]: 支持升级redfish标准LeakDetectors资源 - openUBMC/rackmount - GitCode

评审点

1、bmc.kepler.Chassis.LeakDetection.LeakDetector接口下新增LeakDetectorType、Manufacturer、Model、PartNumber、PhysicalContext、SerialNumber、ServiceLabel 、LocationReference 属性

详细描述

评审点1、资源协作接口新增属性LeakDetectorType、Manufacturer、Model、PartNumber、PhysicalContext、SerialNumber、ServiceLabel 、LocationReference

资源path(已有):/bmc/kepler/Chassis/:ChassisId/ThermalSubsystem/LeakDetection/LeakDetectors/:Id
资源interface(已有):bmc.kepler.Chassis.LeakDetection.LeakDetector
新增属性:LeakDetectorType、Manufacturer、Model、PartNumber、PhysicalContext、SerialNumber、ServiceLabel 、LocationReference

属性名称 变化类型 签名 访问权限 持久化 变化通知 属性值来源 说明 约束
LeakDetectorType 新增属性 s 只读,读:ReadOnly 不持久化 false CSR 泄露检测传感器类型,取值范围:[“FloatSwitch”, “Moisture”, “”],默认值为""
Manufacturer 新增属性 s 只读,读:ReadOnly 不持久化 false CSR 泄露检测器的厂商,默认值为""
Model 新增属性 s 只读,读:ReadOnly 不持久化 false CSR 泄露检测器的型号,默认值为""
PartNumber 新增属性 s 只读,读:ReadOnly 不持久化 false CSR 泄露检测器的部件编码,默认值为""
PhysicalContext 新增属性 s 只读,读:ReadOnly 不持久化 false CSR 泄露检测器适用的区域或设备,取值范围:[“CPU”,“CPUSubsystem”,“Chassis”,“GPU”,“GPUSubsystem”,“”],默认值为""
SerialNumber 新增属性 s 只读,读:ReadOnly 不持久化 false CSR 泄露检测器的序列号,默认值为""
ServiceLabel 新增属性 s 只读,读:ReadOnly 不持久化 false CSR 泄露检测器的位置标签,如丝印名称或印刷标签,默认值为""
LocationReference 新增属性 s 只读,读:ReadOnly 不持久化 false CSR 泄露检测器的位置参考,取值范围:[“Bottom”,“Front”,“Left”,“Middle”,“Rear”,“Right”,“Top”,“”],默认值为""

评审结论

通过,同意在资源协作接口 bmc.kepler.Chassis.LeakDetection.LeakDetector 接口下新增LeakDetectorType、Manufacturer、Model、PartNumber、PhysicalContext、SerialNumber、ServiceLabel 、LocationReference 属性,依次表示泄露检测的传感器类型、厂商、型号、部件编码、适用的区域或设备、序列号、位置标签、位置参考(参见评审点描述)

遗留问题