mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
137 lines
3.7 KiB
Plaintext
137 lines
3.7 KiB
Plaintext
start:rvitals_h
|
|
description:get rvitals's usage
|
|
label:mn_only,hctrl_general
|
|
cmd:rvitals -h
|
|
check:rc==0
|
|
check:output=~Usage:
|
|
check:output=~rvitals
|
|
end
|
|
|
|
start:rvitals_v
|
|
description:get rvitals's version
|
|
label:mn_only,hctrl_general
|
|
cmd:rvitals -v
|
|
check:rc==0
|
|
check:output=~Version
|
|
end
|
|
|
|
start:rvitals_temp
|
|
description:Retrieves temperatures
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
label:cn_bmc_ready,hctrl_general
|
|
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rvitals/openbmctest.sh rvitals $$CN temp
|
|
check:rc==0
|
|
end
|
|
|
|
start:rvitals_disktemp
|
|
description:Retrieves disk temperatures
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
arch:ppc64le
|
|
hcp:ipmi
|
|
label:cn_bmc_ready,hctrl_openpower_ipmi
|
|
cmd:rvitals $$CN disktemp
|
|
check:rc==0
|
|
check:output=~Ambient Temp
|
|
end
|
|
|
|
start:rvitals_cputemp
|
|
description:Retrieves cpu temperatures
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
arch:ppc64le
|
|
hcp:ipmi
|
|
label:cn_bmc_ready,hctrl_openpower_ipmi
|
|
cmd:rvitals $$CN cputemp
|
|
check:rc==0
|
|
check:output=~Ambient Temp
|
|
end
|
|
|
|
start:rvitals_voltage
|
|
description:Retrieves power supply and VRM voltage readings
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
label:cn_bmc_ready,hctrl_general
|
|
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rvitals/openbmctest.sh rvitals $$CN voltage
|
|
check:rc==0
|
|
end
|
|
|
|
start:rvitals_power
|
|
description:Retrieves power status
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
label:cn_bmc_ready,hctrl_bmc_ipmi,hctrl_openpower_ipmi,hctrl_openbmc
|
|
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rvitals/openbmctest.sh rvitals $$CN power
|
|
check:rc==0
|
|
end
|
|
|
|
start:rvitals_state
|
|
description:Retrieves the system state.
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
label:cn_bmc_ready
|
|
cmd:rvitals $$CN state
|
|
check:rc==0
|
|
check:output=~System State:
|
|
end
|
|
|
|
start:rvitals_lcds
|
|
description:Retrieves LCDs status
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
hcp:hmc,ivm,fsp,ipmi
|
|
label:cn_bmc_ready,hctrl_fsp
|
|
cmd:rvitals $$CN lcds
|
|
check:rc==0
|
|
check:output=~Current LCD
|
|
end
|
|
|
|
start:rvitals_all
|
|
description:Retrieves all status
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
label:cn_bmc_ready,hctrl_general
|
|
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rvitals/openbmctest.sh rvitals $$CN all
|
|
check:rc==0
|
|
end
|
|
|
|
start:rvitals_leds
|
|
description:Retrieves leds status
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
label:cn_bmc_ready,hctrl_bmc_ipmi,hctrl_openpower_ipmi,hctrl_openbmc
|
|
cmd:rvitals $$CN leds
|
|
check:rc==0
|
|
check:output=~LED
|
|
end
|
|
|
|
start:rvitals_fanspeed
|
|
description:Retrieves fan speeds.
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
label:cn_bmc_ready,hctrl_bmc_ipmi,hctrl_openpower_ipmi,hctrl_openbmc
|
|
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rvitals/openbmctest.sh rvitals $$CN fanspeed
|
|
check:rc==0
|
|
end
|
|
|
|
start:rvitals_wattage
|
|
description:Retrieves wattage readings.
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
label:cn_bmc_ready,hctrl_bmc_ipmi,hctrl_openpower_ipmi,hctrl_openbmc
|
|
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rvitals/openbmctest.sh rvitals $$CN wattage
|
|
check:rc==0
|
|
end
|
|
|
|
start:rvitals_altitude
|
|
description:Retrieves altitude readings.
|
|
Attribute: $$CN-The operation object of rvitals command
|
|
label:cn_bmc_ready,hctrl_openbmc
|
|
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rvitals/openbmctest.sh rvitals $$CN altitude
|
|
check:rc==0
|
|
end
|
|
|
|
start:rvitals_noderange_err
|
|
description:using not defined node
|
|
label:mn_only,hctrl_general
|
|
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rvitals/openbmctest.sh rvitals testnode
|
|
check:rc!=0
|
|
end
|
|
|
|
start:rvitals_errorcommand
|
|
description:using wrong command
|
|
label:cn_bmc_ready,hctrl_general
|
|
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rvitals/openbmctest.sh rvitals $$CN errorcommand
|
|
check:rc!=0
|
|
end
|