ipmcset -t precisealarm -d mock
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t precisealarm -d mock
命令功能
精准告警模拟测试
命令格式
text
ipmcset -t precisealarm -d mock -v <eventcode/stopall> [subjectindex] [assert/deassert/stop]参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
value1 | ReqBody | - | 否 | - | - | - |
value2 | ReqBody | - | 否 | - | - | - |
value3 | ReqBody | - | 否 | - | - | - |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
value2 | RspBody | - | 否 | - | - | - |
GetParamsArrayCount | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Method | /bmc/kepler/Systems/1/Events | bmc.kepler.Systems.Events | MockEvent | - | - |
使用示例
text
ipmcset -t precisealarm -d mock -v <eventcode/stopall> [subjectindex] [assert/deassert/stop]输出样例
| Scenario | Output | Source |
|---|---|---|
| 成功 | Precise alarm mock successfully. | interface_config/cli/echoes/ipmcset/precisealarm_mock |
| 失败 | Invalid subject index. | interface_config/cli/echoes/ipmcset/precisealarm_mock |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | precisealarm |
| dataitem | mock |
| URI | /cli/v1/precisealarm/mock |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/precisealarm.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |