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]

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
CommandReqBodystring-[{"Type": "Script", "Formula": "sensor_test.lua"}]sensorname sensor name for test stopall stop all sensor test
ParameterReqBodystring--value start test and set the current value stop stop sensor test

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
EnabledRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1Method/bmc/kepler/Chassis/1/Sensorsbmc.kepler.Chassis.SensorsMockSensor--
2Method/bmc/kepler/Chassis/1/Sensorsbmc.kepler.Chassis.SensorsMockSensor--

使用示例

text
ipmcset -t sensor -d test -v <sensorname/stopall> [value/stop]

输出样例

输出样例来源: interface_config/cli/echoes/ipmcset/sensor_test, interface_config/cli/echoes/

来源信息

ItemValue
命令类型ipmcset
targetsensor
dataitemtest
URI/cli/v1/sensor/test
Interface TypePatch
配置来源interface_config/cli/ipmcset/sensor.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37