ipmcset -t sensor -d test
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t sensor -d test
命令功能
传感器测试
命令格式
text
ipmcset -t sensor -d test -v <sensorname/stopall> [value/stop]参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
Command | ReqBody | string | 是 | - | [{"Type": "Script", "Formula": "sensor_test.lua"}] | sensorname sensor name for test stopall stop all sensor test |
Parameter | ReqBody | string | 否 | - | - | value start test and set the current value stop stop sensor test |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
Enabled | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Method | /bmc/kepler/Chassis/1/Sensors | bmc.kepler.Chassis.Sensors | MockSensor | - | - |
| 2 | Method | /bmc/kepler/Chassis/1/Sensors | bmc.kepler.Chassis.Sensors | MockSensor | - | - |
使用示例
text
ipmcset -t sensor -d test -v <sensorname/stopall> [value/stop]输出样例
输出样例来源: interface_config/cli/echoes/ipmcset/sensor_test, interface_config/cli/echoes/
无
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | sensor |
| dataitem | test |
| URI | /cli/v1/sensor/test |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/sensor.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |