blob: 3fa71e9347327a767b08360c600bc3a445a71974 [file] [log] [blame]
Michael Sheposc1b73de2020-10-07 10:52:15 -05001{
2 # Power on boot types:
3
4 # Initiate a power on using the Redfish API interface.
5 "Redfish Power On": {
6 "start": {
George Keishinge1879642020-12-09 13:20:15 -06007 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -05008 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -06009 "boot_progress": "^None$",
10 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -050011 },
12 "end": {
George Keishinge1879642020-12-09 13:20:15 -060013 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050014 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -060015 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
16 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050017 "os_ping": "^1$",
18 "os_login": "^1$",
19 "os_run_cmd": "^1$"
20 },
21 "bmc_reboot": 0,
22 "method_type": "keyword",
23 "method": "Redfish Power Operation On",
24 "lib_file_path": "bmc_redfish_utils.robot"
25 },
26 # Initiate a power on using the IPMI interface.
27 "IPMI Power On": {
28 "start": {
George Keishinge1879642020-12-09 13:20:15 -060029 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050030 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -060031 "boot_progress": "^None$",
32 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -050033 },
34 "end": {
George Keishinge1879642020-12-09 13:20:15 -060035 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050036 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -060037 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
38 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050039 "os_ping": "^1$",
40 "os_login": "^1$",
41 "os_run_cmd": "^1$"
42 },
43 "bmc_reboot": 0,
44 "method_type": "keyword",
45 "method": "Run External IPMI Standard Command power on -N 10 -R 1",
46 "lib_file_path": "ipmi_client.robot"
47 },
48
49 # Power off boot types:
50
51 # Initiate a power off using the Redfish API interface.
52 "Redfish Power Off": {
53 "start": {
George Keishinge1879642020-12-09 13:20:15 -060054 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050055 "chassis": "^On$"
56 },
57 "end": {
George Keishinge1879642020-12-09 13:20:15 -060058 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050059 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -060060 "boot_progress": "^None$",
61 "host": "^Disabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050062 "os_ping": "^0$",
63 "os_login": "^0$",
64 "os_run_cmd": "^0$"
65 },
66 "bmc_reboot": 0,
67 "method_type": "keyword",
68 "method": "Redfish Power Operation GracefulShutdown",
69 "lib_file_path": "bmc_redfish_utils.robot"
70 },
71 # Initiate a hard power off using the Redfish API interface.
72 "Redfish Hard Power Off": {
73 "start": {
George Keishinge1879642020-12-09 13:20:15 -060074 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050075 "chassis": "^On$"
76 },
77 "end": {
George Keishinge1879642020-12-09 13:20:15 -060078 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050079 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -060080 "boot_progress": "^None$",
81 "host": "^Disabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050082 "os_ping": "^0$",
83 "os_login": "^0$",
84 "os_run_cmd": "^0$"
85 },
86 "bmc_reboot": 0,
87 "method_type": "keyword",
88 "method": "Redfish Power Operation ForceOff",
89 "lib_file_path": "bmc_redfish_utils.robot"
90 },
91 # Initiate a power off using the IPMI interface.
92 "IPMI Power Off": {
93 "start": {
George Keishinge1879642020-12-09 13:20:15 -060094 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050095 "chassis": "^On$"
96 },
97 "end": {
George Keishinge1879642020-12-09 13:20:15 -060098 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -050099 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600100 "boot_progress": "^None$",
101 "host": "^Disabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500102 "os_ping": "^0$",
103 "os_login": "^0$",
104 "os_run_cmd": "^0$"
105 },
106 "bmc_reboot": 0,
107 "method_type": "keyword",
108 "method": "Run External IPMI Standard Command power off -N 10 -R 1",
109 "lib_file_path": "ipmi_client.robot"
110 },
111 # Initiate a power soft using the IPMI interface.
112 "IPMI Power Soft": {
113 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600114 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500115 "chassis": "^On$"
116 },
117 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600118 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500119 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600120 "boot_progress": "^None$",
121 "host": "^Disabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500122 "os_ping": "^0$",
123 "os_login": "^0$",
124 "os_run_cmd": "^0$"
125 },
126 "bmc_reboot": 0,
127 "method_type": "keyword",
128 "method": "Run External IPMI Standard Command power soft -N 10 -R 1",
129 "lib_file_path": "ipmi_client.robot"
130 },
131 # Run a "shutdown" command on the OS_HOST.
132 "Host Power Off": {
133 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600134 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500135 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600136 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
137 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500138 "os_ping": "^1$",
139 "os_login": "^1$",
140 "os_run_cmd": "^1$"
141 },
142 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600143 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500144 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600145 "boot_progress": "^None$",
146 "host": "^Disabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500147 "os_ping": "^0$",
148 "os_login": "^0$",
149 "os_run_cmd": "^0$"
150 },
151 "bmc_reboot": 0,
152 "method_type": "keyword",
153 "method": "utils.Initiate OS Host Power Off",
154 "lib_file_path": "utils.robot"
155 },
156
157 # OBMC re-boot boot types:
158
159 # APOR - Auto Power On Restart - Note that this is functionally equivalent
160 # to 'PDU AC Cycle (run)'.
161 "APOR": {
162 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600163 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500164 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600165 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
166 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500167 "os_ping": "^1$",
168 "os_login": "^1$",
169 "os_run_cmd": "^1$"
170 },
171 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600172 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500173 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600174 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
175 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500176 "os_ping": "^1$",
177 "os_login": "^1$",
178 "os_run_cmd": "^1$"
179 },
180 "bmc_reboot": 1,
181 "method_type": "keyword",
182 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
183 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
184 },
185 # Run a "reboot" on the OBMC while host is running.
186 "OBMC Reboot (run)": {
187 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600188 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500189 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600190 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
191 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500192 "os_ping": "^1$",
193 "os_login": "^1$",
194 "os_run_cmd": "^1$"
195 },
196 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600197 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500198 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600199 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
200 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500201 "os_ping": "^1$",
202 "os_login": "^1$",
203 "os_run_cmd": "^1$"
204 },
205 "bmc_reboot": 1,
206 "method_type": "keyword",
207 "method": "BMC Execute Command /sbin/reboot fork=${1}"
208 },
209 # Run a REST "reboot" on the OBMC while host is running.
210 "REST OBMC Reboot (run)": {
211 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600212 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500213 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600214 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
215 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500216 "os_ping": "^1$",
217 "os_login": "^1$",
218 "os_run_cmd": "^1$"
219 },
220 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600221 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500222 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600223 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
224 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500225 "os_ping": "^1$",
226 "os_login": "^1$",
227 "os_run_cmd": "^1$"
228 },
229 "bmc_reboot": 1,
230 "method_type": "keyword",
231 "method": "Initiate BMC Reboot wait=${0}",
232 "lib_file_path": "state_manager.robot"
233 },
234 # Run a Redfish "reboot" on the OBMC while host is running.
235 "Redfish OBMC Reboot (run)": {
236 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600237 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500238 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600239 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
240 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500241 "os_ping": "^1$",
242 "os_login": "^1$",
243 "os_run_cmd": "^1$"
244 },
245 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600246 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500247 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600248 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
249 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500250 "os_ping": "^1$",
251 "os_login": "^1$",
252 "os_run_cmd": "^1$"
253 },
254 "bmc_reboot": 1,
255 "method_type": "keyword",
256 "method": "Redfish BMC Reset Operation",
257 "lib_file_path": "bmc_redfish_utils.robot"
258 },
259 # Run a "reboot" on the OBMC while host is off.
260 "OBMC Reboot (off)": {
261 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600262 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500263 "chassis": "^Off$"
264 },
265 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600266 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500267 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600268 "boot_progress": "^None$",
269 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500270 },
271 "bmc_reboot": 1,
272 "method_type": "keyword",
273 "method": "BMC Execute Command /sbin/reboot fork=${1}"
274 },
275 # Run a "reboot" on the OBMC while host is off.
276 "Redfish OBMC Reboot (off)": {
277 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600278 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500279 "chassis": "^Off$"
280 },
281 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600282 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500283 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600284 "boot_progress": "^None$",
285 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500286 },
287 "bmc_reboot": 1,
288 "method_type": "keyword",
289 "method": "Redfish BMC Reset Operation",
290 "lib_file_path": "bmc_redfish_utils.robot"
291 },
292 # Cycle AC via the PDU while host is off.
293 "PDU AC Cycle (run)": {
294 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600295 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500296 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600297 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
298 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500299 "os_ping": "^1$",
300 "os_login": "^1$",
301 "os_run_cmd": "^1$"
302 },
303 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600304 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500305 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600306 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
307 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500308 "os_ping": "^1$",
309 "os_login": "^1$",
310 "os_run_cmd": "^1$"
311 },
312 "bmc_reboot": 1,
313 "method_type": "keyword",
314 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
315 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
316 },
317 # Cycle AC via the PDU while host is off.
318 "PDU AC Cycle (off)": {
319 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600320 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500321 "chassis": "^Off$"
322 },
323 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600324 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500325 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600326 "boot_progress": "^None$",
327 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500328 },
329 "bmc_reboot": 1,
330 "method_type": "keyword",
331 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
332 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
333 },
334 # Initiate an mc reset warm using the IPMI interface while chassis is
335 # powered on.
336 "IPMI MC Reset Warm (run)": {
337 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600338 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500339 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600340 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
341 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500342 "os_ping": "^1$",
343 "os_login": "^1$",
344 "os_run_cmd": "^1$"
345 },
346 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600347 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500348 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600349 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
350 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500351 "os_ping": "^1$",
352 "os_login": "^1$",
353 "os_run_cmd": "^1$"
354 },
355 "bmc_reboot": 1,
356 "method_type": "keyword",
357 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
358 "lib_file_path": "ipmi_client.robot:gen_print.py"
359 },
360 # Initiate an mc reset warm using the IPMI interface while chassis is
361 # powered off.
362 "IPMI MC Reset Warm (off)": {
363 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600364 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500365 "chassis": "^Off$"
366 },
367 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600368 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500369 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600370 "boot_progress": "^None$",
371 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500372 },
373 "bmc_reboot": 1,
374 "method_type": "keyword",
375 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
376 "lib_file_path": "ipmi_client.robot:gen_print.py"
377 },
378 # Initiate an mc reset cold using the IPMI interface while chassis is
379 # powered on.
380 "IPMI MC Reset Cold (run)": {
381 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600382 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500383 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600384 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
385 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500386 "os_ping": "^1$",
387 "os_login": "^1$",
388 "os_run_cmd": "^1$"
389 },
390 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600391 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500392 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600393 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
394 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500395 "os_ping": "^1$",
396 "os_login": "^1$",
397 "os_run_cmd": "^1$"
398 },
399 "bmc_reboot": 1,
400 "method_type": "keyword",
401 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
402 "lib_file_path": "ipmi_client.robot:gen_print.py"
403 },
404 # Initiate an mc reset cold using the IPMI interface while chassis is
405 # powered off.
406 "IPMI MC Reset Cold (off)": {
407 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600408 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500409 "chassis": "^Off$"
410 },
411 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600412 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500413 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600414 "boot_progress": "^None$",
415 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500416 },
417 "bmc_reboot": 1,
418 "method_type": "keyword",
419 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
420 "lib_file_path": "ipmi_client.robot:gen_print.py"
421 },
422 # Initiate an mc reset warm using the IPMI standard interface while chassis
423 # is powered on.
424 "IPMI Std MC Reset Warm (run)": {
425 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600426 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500427 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600428 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
429 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500430 "os_ping": "^1$",
431 "os_login": "^1$",
432 "os_run_cmd": "^1$"
433 },
434 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600435 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500436 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600437 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
438 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500439 "os_ping": "^1$",
440 "os_login": "^1$",
441 "os_run_cmd": "^1$"
442 },
443 "bmc_reboot": 1,
444 "method_type": "keyword",
445 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
446 "lib_file_path": "ipmi_client.robot:gen_print.py"
447 },
448 # Initiate an mc reset warm using the IPMI standard interface while chassis
449 # is powered off.
450 "IPMI Std MC Reset Warm (off)": {
451 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600452 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500453 "chassis": "^Off$"
454 },
455 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600456 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500457 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600458 "boot_progress": "^None$",
459 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500460 },
461 "bmc_reboot": 1,
462 "method_type": "keyword",
463 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
464 "lib_file_path": "ipmi_client.robot:gen_print.py"
465 },
466 # Initiate an mc reset cold using the IPMI standard interface while chassis
467 # is powered on.
468 "IPMI Std MC Reset Cold (run)": {
469 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600470 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500471 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600472 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
473 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500474 "os_ping": "^1$",
475 "os_login": "^1$",
476 "os_run_cmd": "^1$"
477 },
478 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600479 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500480 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600481 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
482 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500483 "os_ping": "^1$",
484 "os_login": "^1$",
485 "os_run_cmd": "^1$"
486 },
487 "bmc_reboot": 1,
488 "method_type": "keyword",
489 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
490 "lib_file_path": "ipmi_client.robot:gen_print.py"
491 },
492 # Initiate an mc reset cold using the IPMI standard interface while chassis
493 # is powered off.
494 "IPMI Std MC Reset Cold (off)": {
495 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600496 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500497 "chassis": "^Off$"
498 },
499 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600500 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500501 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600502 "boot_progress": "^None$",
503 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500504 },
505 "bmc_reboot": 1,
506 "method_type": "keyword",
507 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
508 "lib_file_path": "ipmi_client.robot:gen_print.py"
509 },
510
511 # Host OS re-boot boot types:
512
513 # Initiate a power cycle using the IPMI interface (equivalent to off/on).
514 "IPMI Power Cycle": {
515 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600516 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500517 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600518 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
519 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500520 "os_ping": "^1$",
521 "os_login": "^1$",
522 "os_run_cmd": "^1$"
523 },
524 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600525 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500526 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600527 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
528 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500529 "os_ping": "^1$",
530 "os_login": "^1$",
531 "os_run_cmd": "^1$"
532 },
533 "bmc_reboot": 0,
534 "method_type": "keyword",
535 "method": "Run External IPMI Standard Command power cycle -N 10 -R 1",
536 "lib_file_path": "ipmi_client.robot"
537 },
538 # Initiate a power reset using the IPMI interface (equivalent to off/on).
539 # Functionally equivalent to "IPMI Power Cycle".
540 "IPMI Power Reset": {
541 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600542 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500543 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600544 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
545 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500546 "os_ping": "^1$",
547 "os_login": "^1$",
548 "os_run_cmd": "^1$"
549 },
550 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600551 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500552 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600553 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
554 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500555 "os_ping": "^1$",
556 "os_login": "^1$",
557 "os_run_cmd": "^1$"
558 },
559 "bmc_reboot": 0,
560 "method_type": "keyword",
561 "method": "Run External IPMI Standard Command power reset -N 10 -R 1",
562 "lib_file_path": "ipmi_client.robot"
563 },
564 # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state.
565 "Auto Reboot": {
566 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600567 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500568 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600569 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
570 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500571 "os_ping": "^1$",
572 "os_login": "^1$",
573 "os_run_cmd": "^1$"
574 },
575 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600576 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500577 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600578 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
579 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500580 "os_ping": "^1$",
581 "os_login": "^1$",
582 "os_run_cmd": "^1$"
583 },
584 "bmc_reboot": 0,
585 "method_type": "keyword",
586 "method": "utils.Initiate Auto Reboot 1000",
587 "lib_file_path": "utils.robot"
588 },
589 # Run a "reboot" command on the OS_HOST.
590 "Host Reboot": {
591 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600592 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500593 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600594 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
595 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500596 "os_ping": "^1$",
597 "os_login": "^1$",
598 "os_run_cmd": "^1$"
599 },
600 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600601 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500602 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600603 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
604 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500605 "os_ping": "^1$",
606 "os_login": "^1$",
607 "os_run_cmd": "^1$"
608 },
609 "bmc_reboot": 0,
610 "method_type": "keyword",
611 "method": "utils.Initiate OS Host Reboot",
612 "lib_file_path": "utils.robot"
613 },
614 # Initiate host reboot using the Redfish API interface (GracefulRestart).
615 "RF SYS GracefulRestart": {
616 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600617 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500618 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600619 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
620 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500621 "os_ping": "^1$",
622 "os_login": "^1$",
623 "os_run_cmd": "^1$"
624 },
625 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600626 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500627 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600628 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
629 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500630 "os_ping": "^1$",
631 "os_login": "^1$",
632 "os_run_cmd": "^1$"
633 },
634 "bmc_reboot": 0,
635 "method_type": "keyword",
636 "method": "Redfish Power Operation GracefulRestart",
637 "lib_file_path": "bmc_redfish_utils.robot"
638 },
639 # Initiate host reboot using the Redfish API interface (ForceRestart).
640 "RF SYS ForceRestart": {
641 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600642 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500643 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600644 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
645 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500646 "os_ping": "^1$",
647 "os_login": "^1$",
648 "os_run_cmd": "^1$"
649 },
650 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600651 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500652 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600653 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
654 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500655 "os_ping": "^1$",
656 "os_login": "^1$",
657 "os_run_cmd": "^1$"
658 },
659 "bmc_reboot": 0,
660 "method_type": "keyword",
661 "method": "Redfish Power Operation ForceRestart",
662 "lib_file_path": "bmc_redfish_utils.robot"
663 },
664 # OPAL Terminate Immediate.
665 "OPAL TI": {
666 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600667 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500668 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600669 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
670 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500671 "os_ping": "^1$",
672 "os_login": "^1$",
673 "os_run_cmd": "^1$"
674 },
675 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600676 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500677 "chassis": "^On$",
George Keishinge1879642020-12-09 13:20:15 -0600678 "boot_progress": "^SystemHardwareInitializationComplete|OSRunning$",
679 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500680 "os_ping": "^1$",
681 "os_login": "^1$",
682 "os_run_cmd": "^1$"
683 },
684 "bmc_reboot": 0,
685 "method_type": "keyword",
686 "method": "Inject OPAL TI",
687 "lib_file_path": "open_power_utils.robot"
688 }
689}