【待评审】Power资源支持查询NPU总功耗

背景

当前redfish标准接口Power资源无法查询NPU总功耗,需要评审新增Oem属性CurrentNPUPowerWatts。

关联ISSUE

整体方案

Power资源新增Oem属性CurrentNPUPowerWatts

评审点

评审点1:/redfish/v1/Chassis/{ChassisId}/Power 接口的PowerControl/Oem/public/PowerMetricsExtended资源下新增属性 CurrentNPUPowerWatts

详细描述

评审点1 :Power资源新增属性

资源URI : /redfish/v1/Chassis/{ChassisId}/Power (已有)
资源版本:#Power.v1_2_1.Power
变化类型:PowerControl/Oem/public/PowerMetricsExtended资源下新增属性
属性列表:

属性名 类型 示例/默认值/取值约束 readonly 易变属性 实现PATCH 操作权限 描述
CurrentNPUPowerWatts integer,null null true ReadOnly 当前的 NPU 总功率

Schema定义

"CurrentNPUPowerWatts": {
    "type": [
        "number",
        "null"
    ],
    "units": "W",
    "minimum": 0,
    "readonly": true,
    "description": "The value of this property shall represent the current NPU Power.",
    "longDescription": "The value of this property shall represent the current NPU Power."
}

评审结论

遗留问题