Lines Matching full:command

4 ...             command. IPMI raw command will use dbus-send command
31 Run IPMI Command
32 [Documentation] Run the raw IPMI command.
33 [Arguments] ${command} ${fail_on_err}=${1} &{options}
36 # command The IPMI command string to be executed
38 # fail_on_err Fail if the IPMI command execution fails.
39 # options Additional ipmitool command options (e.g.
44 ... Run External IPMI Raw Command ${command} ${fail_on_err} &{options}
46 ... Run Inband IPMI Raw Command ${command}
48 ... Run Dbus IPMI RAW Command ${command}
49 ... ELSE Fail msg=Invalid IPMI Command type provided: ${IPMI_COMMAND}
53 Run IPMI Standard Command
54 [Documentation] Run the standard IPMI command.
55 [Arguments] ${command} ${fail_on_err}=${1} ${expected_rc}=${0} &{options}
58 # command The IPMI command string to be executed
60 # fail_on_err Fail if the IPMI command execution fails.
62 # command (e.g. ${0}, ${1}, etc.).
63 # options Additional ipmitool command options (e.g.
68 … ... Run External IPMI Standard Command ${command} ${fail_on_err} ${expected_rc} &{options}
70 ... Run Inband IPMI Standard Command ${command} ${fail_on_err}
72 ... Run Dbus IPMI Standard Command ${command}
73 ... ELSE Fail msg=Invalid IPMI Command type provided : ${IPMI_COMMAND}
77 Run Dbus IPMI RAW Command
78 [Documentation] Run the raw IPMI command through dbus.
79 [Arguments] ${command}
80 ${valueinBytes}= Byte Conversion ${command}
83 ${output} ${stderr}= Execute Command ${cmd} return_stderr=True
88 Run Dbus IPMI Standard Command
89 [Documentation] Run the standard IPMI command through dbus.
90 [Arguments] ${command}
92 ${stdout} ${stderr} ${output}= Execute Command
93 ... ${IPMITOOL_PATH} -I dbus ${command} return_stdout=True
99 Run Inband IPMI Raw Command
100 [Documentation] Run the raw IPMI command in-band.
101 … [Arguments] ${command} ${fail_on_err}=${1} ${os_host}=${OS_HOST} ${os_username}=${OS_USERNAME}
105 # command The IPMI command string to be executed
114 ${ipmi_cmd}= Catenate ${IPMI_INBAND_CMD} ${RAW} ${command}
116 ${stdout} ${stderr}= Execute Command ${ipmi_cmd} return_stderr=True
122 Run Inband IPMI Standard Command
123 [Documentation] Run the standard IPMI command in-band.
124 [Arguments] ${command} ${fail_on_err}=${1} ${os_host}=${OS_HOST}
129 # command The IPMI command string to be executed
140 ${ipmi_cmd}= Catenate ${IPMI_INBAND_CMD} ${command}
142 ${stdout} ${stderr}= Execute Command ${ipmi_cmd} return_stderr=True
148 Run External IPMI Standard Command
149 [Documentation] Run the external IPMI standard command.
150 [Arguments] ${command} ${fail_on_err}=${1} ${expected_rc}=${0} &{options}
153 # command The IPMI command string to be executed
157 # command string.
158 # fail_on_err Fail if the IPMI command execution fails.
160 # command (e.g. ${0}, ${1}, etc.).
161 # options Additional ipmitool command options (e.g.
164 ${command_string}= Process IPMI User Options ${command}
165 ${ipmi_cmd}= Create IPMI Ext Command String ${command_string} &{options}
173 Run External IPMI Raw Command
174 [Documentation] Run the external IPMI raw command.
175 [Arguments] ${command} ${fail_on_err}=${1} &{options}
177 # This keyword is a wrapper for 'Run External IPMI Standard Command'. See
179 # the word "raw" plus a space to command prior to calling 'Run External
180 # IPMI Standard Command'.
182 ${output}= Run External IPMI Standard Command
183 ... raw ${command} ${fail_on_err} &{options}
189 ${output}= Execute Command which ipmitool
203 ${ipmi_cmd}= Create IPMI Ext Command String sol activate usesolkeepalive
219 ${ipmi_cmd}= Create IPMI Ext Command String sol deactivate
240 ... IPMI RAW command format is as follows
242 ... This method converts IPMI command format into
243 ... dbus command format as follows
271 # Sample small IPMI raw command: Run IPMI command 0x06 0x36
274 # Equivalent dbus-send argument for smaller IPMI raw command:
288 [Documentation] Set the command byte.
308 ${response} ${stderr} ${rc}= BMC Execute Command
323 Execute Command chmod +x ${IPMITOOL_PATH}
334 ${output}= Run External IPMI Standard Command chassis power on
349 ${output}= Run External IPMI Standard Command chassis power off
357 [Documentation] Verify if the Host is off using IPMI command.
359 ${status}= Run External IPMI Standard Command chassis power status
366 ${output}= Run External IPMI Standard Command chassis power status
381 Run Inband IPMI Standard Command
384 Run Inband IPMI Standard Command
387 Run Inband IPMI Standard Command
392 [Documentation] Verify that user is able to run IPMI command
400 ${output}= Wait Until Keyword Succeeds 15 sec 5 sec Run External IPMI Standard Command
414 ${resp}= Run IPMI Standard Command ${ipmi_cmd}
426 Run IPMI Standard Command user enable ${userid}
447 ${access}= Run IPMI Standard Command channel getaccess ${CHANNEL_NUMBER} ${random_userid}
463 ${resp}= Run IPMI Standard Command user summary ${CHANNEL_NUMBER}
489 ${resp}= Run IPMI Standard Command user list
499 Run IPMI Standard Command user set name ${userid} ""
504 [Documentation] Verify that user is able to run IPMI command
510 # options Set channel command options (e.g.
517 Run IPMI Standard Command ${ipmi_cmd}
531 Run IPMI Standard Command user set name ${user_record['user_id']} ""
556 ${resp}= Run IPMI Command ${cmd}
570 ${resp}= Run IPMI Standard Command sensor
593 # obtained sensor name from - 'ipmitool sensor' command.
599 ${resp}= Run IPMI Standard Command sdr get "${sensor_name}"
613 # ${sensor_detail} Requested field and the value from the sdr get ipmi command.
625 [Documentation] Runs the date command from BMC and returns current date and time
632 ${date} ${stderr} ${rc}= BMC Execute Command date
647 [Documentation] Get the SEL Info via IPMI raw command
660 ${resp}= Run IPMI Command
667 Verify Invalid IPMI Command
668 [Documentation] Execute invalid IPMI command and verify with given response code.
675 ${resp}= Run IPMI Command ${ipmi_cmd} fail_on_err=0