blob: 48e28b560233e377795fbfed86bcb306a8d5d7f0 [file] [log] [blame]
George Keishing18f15dd2021-03-09 11:17:35 -06001{
2 # Power on boot types:
3
George Keishing18f15dd2021-03-09 11:17:35 -06004 # Initiate a power on using the Redfish API interface.
5 "Redfish Power On": {
6 "start": {
George Keishingb51d1502021-03-25 03:30:33 -05007 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -06008 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -05009 "host": "^Disabled$"
George Keishing18f15dd2021-03-09 11:17:35 -060010 },
11 "end": {
George Keishingb51d1502021-03-25 03:30:33 -050012 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -060013 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -050014 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -060015 "os_ping": "^1$",
16 "os_login": "^1$",
17 "os_run_cmd": "^1$"
18 },
19 "bmc_reboot": 0,
20 "method_type": "keyword",
21 "method": "Redfish Power Operation On",
22 "lib_file_path": "bmc_redfish_utils.robot"
23 },
24 # Initiate a power on using the IPMI interface.
25 "IPMI Power On": {
26 "start": {
George Keishingb51d1502021-03-25 03:30:33 -050027 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -060028 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -050029 "host": "^Disabled$"
George Keishing18f15dd2021-03-09 11:17:35 -060030 },
31 "end": {
George Keishingb51d1502021-03-25 03:30:33 -050032 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -060033 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -050034 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -060035 "os_ping": "^1$",
36 "os_login": "^1$",
37 "os_run_cmd": "^1$"
38 },
39 "bmc_reboot": 0,
40 "method_type": "keyword",
41 "method": "Run External IPMI Standard Command power on -N 10 -R 1",
42 "lib_file_path": "ipmi_client.robot"
43 },
44
45 # Power off boot types:
46
George Keishing18f15dd2021-03-09 11:17:35 -060047 # Initiate a power off using the Redfish API interface.
48 "Redfish Power Off": {
49 "start": {
George Keishingb51d1502021-03-25 03:30:33 -050050 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -060051 "chassis": "^On$"
52 },
53 "end": {
George Keishingb51d1502021-03-25 03:30:33 -050054 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -060055 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -050056 "host": "^Disabled$",
George Keishing18f15dd2021-03-09 11:17:35 -060057 "os_ping": "^0$",
58 "os_login": "^0$",
59 "os_run_cmd": "^0$"
60 },
61 "bmc_reboot": 0,
62 "method_type": "keyword",
63 "method": "Redfish Power Operation GracefulShutdown",
64 "lib_file_path": "bmc_redfish_utils.robot"
65 },
George Keishing18f15dd2021-03-09 11:17:35 -060066 # Initiate a hard power off using the Redfish API interface.
67 "Redfish Hard Power Off": {
68 "start": {
George Keishingb51d1502021-03-25 03:30:33 -050069 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -060070 "chassis": "^On$"
71 },
72 "end": {
George Keishingb51d1502021-03-25 03:30:33 -050073 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -060074 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -050075 "host": "^Disabled$",
George Keishing18f15dd2021-03-09 11:17:35 -060076 "os_ping": "^0$",
77 "os_login": "^0$",
78 "os_run_cmd": "^0$"
79 },
80 "bmc_reboot": 0,
81 "method_type": "keyword",
82 "method": "Redfish Power Operation ForceOff",
83 "lib_file_path": "bmc_redfish_utils.robot"
84 },
85 # Initiate a power off using the IPMI interface.
86 "IPMI Power Off": {
87 "start": {
George Keishingb51d1502021-03-25 03:30:33 -050088 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -060089 "chassis": "^On$"
90 },
91 "end": {
George Keishingb51d1502021-03-25 03:30:33 -050092 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -060093 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -050094 "host": "^Disabled$",
George Keishing18f15dd2021-03-09 11:17:35 -060095 "os_ping": "^0$",
96 "os_login": "^0$",
97 "os_run_cmd": "^0$"
98 },
99 "bmc_reboot": 0,
100 "method_type": "keyword",
101 "method": "Run External IPMI Standard Command power off -N 10 -R 1",
102 "lib_file_path": "ipmi_client.robot"
103 },
104 # Initiate a power soft using the IPMI interface.
105 "IPMI Power Soft": {
106 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500107 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600108 "chassis": "^On$"
109 },
110 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500111 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600112 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -0500113 "host": "^Disabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600114 "os_ping": "^0$",
115 "os_login": "^0$",
116 "os_run_cmd": "^0$"
117 },
118 "bmc_reboot": 0,
119 "method_type": "keyword",
120 "method": "Run External IPMI Standard Command power soft -N 10 -R 1",
121 "lib_file_path": "ipmi_client.robot"
122 },
123 # Run a "shutdown" command on the OS_HOST.
124 "Host Power Off": {
125 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500126 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600127 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500128 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600129 "os_ping": "^1$",
130 "os_login": "^1$",
131 "os_run_cmd": "^1$"
132 },
133 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500134 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600135 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -0500136 "host": "^Disabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600137 "os_ping": "^0$",
138 "os_login": "^0$",
139 "os_run_cmd": "^0$"
140 },
141 "bmc_reboot": 0,
142 "method_type": "keyword",
143 "method": "utils.Initiate OS Host Power Off",
144 "lib_file_path": "utils.robot"
145 },
146
147 # OBMC re-boot boot types:
148
149 # APOR - Auto Power On Restart - Note that this is functionally equivalent
150 # to 'PDU AC Cycle (run)'.
151 "APOR": {
152 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500153 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600154 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500155 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600156 "os_ping": "^1$",
157 "os_login": "^1$",
158 "os_run_cmd": "^1$"
159 },
160 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500161 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600162 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500163 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600164 "os_ping": "^1$",
165 "os_login": "^1$",
166 "os_run_cmd": "^1$"
167 },
168 "bmc_reboot": 1,
169 "method_type": "keyword",
170 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
171 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
172 },
173 # Run a "reboot" on the OBMC while host is running.
174 "OBMC Reboot (run)": {
175 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500176 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600177 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500178 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600179 "os_ping": "^1$",
180 "os_login": "^1$",
181 "os_run_cmd": "^1$"
182 },
183 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500184 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600185 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500186 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600187 "os_ping": "^1$",
188 "os_login": "^1$",
189 "os_run_cmd": "^1$"
190 },
191 "bmc_reboot": 1,
192 "method_type": "keyword",
193 "method": "BMC Execute Command /sbin/reboot fork=${1}"
194 },
George Keishing18f15dd2021-03-09 11:17:35 -0600195 # Run a Redfish "reboot" on the OBMC while host is running.
196 "Redfish OBMC Reboot (run)": {
197 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500198 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600199 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500200 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600201 "os_ping": "^1$",
202 "os_login": "^1$",
203 "os_run_cmd": "^1$"
204 },
205 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500206 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600207 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500208 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600209 "os_ping": "^1$",
210 "os_login": "^1$",
211 "os_run_cmd": "^1$"
212 },
213 "bmc_reboot": 1,
214 "method_type": "keyword",
215 "method": "Redfish BMC Reset Operation",
216 "lib_file_path": "bmc_redfish_utils.robot"
217 },
218 # Run a "reboot" on the OBMC while host is off.
219 "OBMC Reboot (off)": {
220 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500221 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600222 "chassis": "^Off$"
223 },
224 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500225 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600226 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -0500227 "host": "^Disabled$"
George Keishing18f15dd2021-03-09 11:17:35 -0600228 },
229 "bmc_reboot": 1,
230 "method_type": "keyword",
231 "method": "BMC Execute Command /sbin/reboot fork=${1}"
232 },
233 # Run a "reboot" on the OBMC while host is off.
George Keishing18f15dd2021-03-09 11:17:35 -0600234 "Redfish OBMC Reboot (off)": {
235 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500236 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600237 "chassis": "^Off$"
238 },
239 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500240 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600241 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -0500242 "host": "^Disabled$"
George Keishing18f15dd2021-03-09 11:17:35 -0600243 },
244 "bmc_reboot": 1,
245 "method_type": "keyword",
246 "method": "Redfish BMC Reset Operation",
247 "lib_file_path": "bmc_redfish_utils.robot"
248 },
249 # Cycle AC via the PDU while host is off.
250 "PDU AC Cycle (run)": {
251 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500252 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600253 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500254 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600255 "os_ping": "^1$",
256 "os_login": "^1$",
257 "os_run_cmd": "^1$"
258 },
259 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500260 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600261 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500262 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600263 "os_ping": "^1$",
264 "os_login": "^1$",
265 "os_run_cmd": "^1$"
266 },
267 "bmc_reboot": 1,
268 "method_type": "keyword",
269 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
270 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
271 },
272 # Cycle AC via the PDU while host is off.
273 "PDU AC Cycle (off)": {
274 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500275 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600276 "chassis": "^Off$"
277 },
278 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500279 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600280 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -0500281 "host": "^Disabled$"
George Keishing18f15dd2021-03-09 11:17:35 -0600282 },
283 "bmc_reboot": 1,
284 "method_type": "keyword",
285 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
286 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
287 },
288 # Initiate an mc reset warm using the IPMI interface while chassis is
289 # powered on.
290 "IPMI MC Reset Warm (run)": {
291 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500292 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600293 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500294 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600295 "os_ping": "^1$",
296 "os_login": "^1$",
297 "os_run_cmd": "^1$"
298 },
299 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500300 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600301 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500302 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600303 "os_ping": "^1$",
304 "os_login": "^1$",
305 "os_run_cmd": "^1$"
306 },
307 "bmc_reboot": 1,
308 "method_type": "keyword",
309 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
310 "lib_file_path": "ipmi_client.robot:gen_print.py"
311 },
312 # Initiate an mc reset warm using the IPMI interface while chassis is
313 # powered off.
314 "IPMI MC Reset Warm (off)": {
315 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500316 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600317 "chassis": "^Off$"
318 },
319 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500320 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600321 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -0500322 "host": "^Disabled$"
George Keishing18f15dd2021-03-09 11:17:35 -0600323 },
324 "bmc_reboot": 1,
325 "method_type": "keyword",
326 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
327 "lib_file_path": "ipmi_client.robot:gen_print.py"
328 },
329 # Initiate an mc reset cold using the IPMI interface while chassis is
330 # powered on.
331 "IPMI MC Reset Cold (run)": {
332 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500333 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600334 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500335 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600336 "os_ping": "^1$",
337 "os_login": "^1$",
338 "os_run_cmd": "^1$"
339 },
340 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500341 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600342 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500343 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600344 "os_ping": "^1$",
345 "os_login": "^1$",
346 "os_run_cmd": "^1$"
347 },
348 "bmc_reboot": 1,
349 "method_type": "keyword",
350 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
351 "lib_file_path": "ipmi_client.robot:gen_print.py"
352 },
353 # Initiate an mc reset cold using the IPMI interface while chassis is
354 # powered off.
355 "IPMI MC Reset Cold (off)": {
356 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500357 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600358 "chassis": "^Off$"
359 },
360 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500361 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600362 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -0500363 "host": "^Disabled$"
George Keishing18f15dd2021-03-09 11:17:35 -0600364 },
365 "bmc_reboot": 1,
366 "method_type": "keyword",
367 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
368 "lib_file_path": "ipmi_client.robot:gen_print.py"
369 },
370 # Initiate an mc reset warm using the IPMI standard interface while chassis
371 # is powered on.
372 "IPMI Std MC Reset Warm (run)": {
373 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500374 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600375 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500376 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600377 "os_ping": "^1$",
378 "os_login": "^1$",
379 "os_run_cmd": "^1$"
380 },
381 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500382 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600383 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500384 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600385 "os_ping": "^1$",
386 "os_login": "^1$",
387 "os_run_cmd": "^1$"
388 },
389 "bmc_reboot": 1,
390 "method_type": "keyword",
391 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
392 "lib_file_path": "ipmi_client.robot:gen_print.py"
393 },
394 # Initiate an mc reset warm using the IPMI standard interface while chassis
395 # is powered off.
396 "IPMI Std MC Reset Warm (off)": {
397 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500398 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600399 "chassis": "^Off$"
400 },
401 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500402 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600403 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -0500404 "host": "^Disabled$"
George Keishing18f15dd2021-03-09 11:17:35 -0600405 },
406 "bmc_reboot": 1,
407 "method_type": "keyword",
408 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
409 "lib_file_path": "ipmi_client.robot:gen_print.py"
410 },
411 # Initiate an mc reset cold using the IPMI standard interface while chassis
412 # is powered on.
413 "IPMI Std MC Reset Cold (run)": {
414 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500415 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600416 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500417 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600418 "os_ping": "^1$",
419 "os_login": "^1$",
420 "os_run_cmd": "^1$"
421 },
422 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500423 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600424 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500425 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600426 "os_ping": "^1$",
427 "os_login": "^1$",
428 "os_run_cmd": "^1$"
429 },
430 "bmc_reboot": 1,
431 "method_type": "keyword",
432 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
433 "lib_file_path": "ipmi_client.robot:gen_print.py"
434 },
435 # Initiate an mc reset cold using the IPMI standard interface while chassis
436 # is powered off.
437 "IPMI Std MC Reset Cold (off)": {
438 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500439 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600440 "chassis": "^Off$"
441 },
442 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500443 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600444 "chassis": "^Off$",
George Keishingb51d1502021-03-25 03:30:33 -0500445 "host": "^Disabled$"
George Keishing18f15dd2021-03-09 11:17:35 -0600446 },
447 "bmc_reboot": 1,
448 "method_type": "keyword",
449 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
450 "lib_file_path": "ipmi_client.robot:gen_print.py"
451 },
452
453 # Host OS re-boot boot types:
454
455 # Initiate a power cycle using the IPMI interface (equivalent to off/on).
456 "IPMI Power Cycle": {
457 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500458 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600459 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500460 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600461 "os_ping": "^1$",
462 "os_login": "^1$",
463 "os_run_cmd": "^1$"
464 },
465 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500466 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600467 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500468 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600469 "os_ping": "^1$",
470 "os_login": "^1$",
471 "os_run_cmd": "^1$"
472 },
473 "bmc_reboot": 0,
474 "method_type": "keyword",
475 "method": "Run External IPMI Standard Command power cycle -N 10 -R 1",
476 "lib_file_path": "ipmi_client.robot"
477 },
478 # Initiate a power reset using the IPMI interface (equivalent to off/on).
479 # Functionally equivalent to "IPMI Power Cycle".
480 "IPMI Power Reset": {
481 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500482 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600483 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500484 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600485 "os_ping": "^1$",
486 "os_login": "^1$",
487 "os_run_cmd": "^1$"
488 },
489 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500490 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600491 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500492 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600493 "os_ping": "^1$",
494 "os_login": "^1$",
495 "os_run_cmd": "^1$"
496 },
497 "bmc_reboot": 0,
498 "method_type": "keyword",
499 "method": "Run External IPMI Standard Command power reset -N 10 -R 1",
500 "lib_file_path": "ipmi_client.robot"
501 },
502 # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state.
503 "Auto Reboot": {
504 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500505 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600506 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500507 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600508 "os_ping": "^1$",
509 "os_login": "^1$",
510 "os_run_cmd": "^1$"
511 },
512 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500513 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600514 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500515 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600516 "os_ping": "^1$",
517 "os_login": "^1$",
518 "os_run_cmd": "^1$"
519 },
520 "bmc_reboot": 0,
521 "method_type": "keyword",
522 "method": "utils.Initiate Auto Reboot 1000",
523 "lib_file_path": "utils.robot"
524 },
525 # Run a "reboot" command on the OS_HOST.
526 "Host Reboot": {
527 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500528 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600529 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500530 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600531 "os_ping": "^1$",
532 "os_login": "^1$",
533 "os_run_cmd": "^1$"
534 },
535 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500536 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600537 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500538 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600539 "os_ping": "^1$",
540 "os_login": "^1$",
541 "os_run_cmd": "^1$"
542 },
543 "bmc_reboot": 0,
544 "method_type": "keyword",
545 "method": "utils.Initiate OS Host Reboot",
546 "lib_file_path": "utils.robot"
547 },
548 # Initiate host reboot using the Redfish API interface (GracefulRestart).
549 "RF SYS GracefulRestart": {
550 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500551 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600552 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500553 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600554 "os_ping": "^1$",
555 "os_login": "^1$",
556 "os_run_cmd": "^1$"
557 },
558 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500559 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600560 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500561 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600562 "os_ping": "^1$",
563 "os_login": "^1$",
564 "os_run_cmd": "^1$"
565 },
566 "bmc_reboot": 0,
567 "method_type": "keyword",
568 "method": "Redfish Power Operation GracefulRestart",
569 "lib_file_path": "bmc_redfish_utils.robot"
570 },
571 # Initiate host reboot using the Redfish API interface (ForceRestart).
572 "RF SYS ForceRestart": {
573 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500574 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600575 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500576 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600577 "os_ping": "^1$",
578 "os_login": "^1$",
579 "os_run_cmd": "^1$"
580 },
581 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500582 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600583 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500584 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600585 "os_ping": "^1$",
586 "os_login": "^1$",
587 "os_run_cmd": "^1$"
588 },
589 "bmc_reboot": 0,
590 "method_type": "keyword",
591 "method": "Redfish Power Operation ForceRestart",
592 "lib_file_path": "bmc_redfish_utils.robot"
593 },
594 # OPAL Terminate Immediate.
595 "OPAL TI": {
596 "start": {
George Keishingb51d1502021-03-25 03:30:33 -0500597 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600598 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500599 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600600 "os_ping": "^1$",
601 "os_login": "^1$",
602 "os_run_cmd": "^1$"
603 },
604 "end": {
George Keishingb51d1502021-03-25 03:30:33 -0500605 "redfish": "^1$",
George Keishing18f15dd2021-03-09 11:17:35 -0600606 "chassis": "^On$",
George Keishingb51d1502021-03-25 03:30:33 -0500607 "host": "^Enabled$",
George Keishing18f15dd2021-03-09 11:17:35 -0600608 "os_ping": "^1$",
609 "os_login": "^1$",
610 "os_run_cmd": "^1$"
611 },
612 "bmc_reboot": 0,
613 "method_type": "keyword",
614 "method": "Inject OPAL TI",
615 "lib_file_path": "open_power_utils.robot"
616 }
617}