Get Power Capping Configuration
更新时间: 2025/06/26
在Gitcode上查看源码14h-获取功率封顶参数(Get-Power-Capping-Configuration)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取功率封顶参数。
权限
ReadOnly
适用机型
三大洋不支持
天工HPC计算刀片
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 4 | Sub command,子命令=14h |
| 5 | Power Capping Parameter,见 表1 。 |
| 6 | Read Offset,读取的数据偏移,从0开始。 |
| 7 | Length,读取长度 |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 5 | End of List,表示当前数据是否结束。当参数数据比较长的时候,可能需要分多次读取,通过此字段可以判断数据是否读完。 [7:1]-reserved [0]:End of list 0=last data 1=middle data |
| 6:N | Data,实际返回的数据可能小于等于Read length |
命令样例
查询功率封顶模式
请求:
ipmitool raw 0x30 0x93 0xdb 0x07 0x00 0x14 0x07 0x00 0x01响应:
db 07 00 00 01附表1 功率封顶参数
| Parameter | Parameter Data | # (Decimal Format) |
|---|---|---|
| Enable State | data1- Get/Set Dsable/Enable Power Capping 0-disable 1- enable and custom mode 2-enable and safe mode, but power budget is not allowed to modify. | 1 |
| Power Budget | data1:2 Get/Set Power Budget LS-byte first | 2 |
| Power Capping Failed Action | data1-Get/Set Alert 0-disable 1-enable data2-Get/Set Fail Action 0-NoAction 1-PowerOff 2-Reset 3-LogEventOnly:仅记录事件 注意:- data1 is 0, data2 should be 0;data1 is 1, data2 can be 1, 2, or 3. | 3 |
| Get Power Capping Minimum Value | data1:2-Get Power Capping Minimum Value LS-byte first | 4 |
| Chassis Power Capping Active | data1-Set Chassis Power Capping Active Status 0-deactive,整框功耗封顶禁用时发送 1-active,整框功耗封顶使能时默认发送,BMC 检测超时是30s,MM板的发送周期是5s。 | 5 |
| Set Node Power | data1:2-Set Node Power,设置节点功率, LS-byte first | 6 |
| Mode | data1-Get/Set Mode 查询与设置功耗封顶模式,仅适用与天工HPC计算刀片场景 0-Equal 1-Proportion | 7 |