blob: 485ff19e11076540857e4503d836a19c5f249a14 [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 Keishing89c98372021-08-13 08:15:10 -050015 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -060016 "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 Keishing89c98372021-08-13 08:15:10 -050037 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -060038 "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 Keishing89c98372021-08-13 08:15:10 -0500136 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600137 "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 Keishing89c98372021-08-13 08:15:10 -0500165 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600166 "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 Keishing89c98372021-08-13 08:15:10 -0500174 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600175 "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 Keishing89c98372021-08-13 08:15:10 -0500190 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600191 "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 Keishing89c98372021-08-13 08:15:10 -0500199 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600200 "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 },
Michael Sheposc1b73de2020-10-07 10:52:15 -0500209 # Run a Redfish "reboot" on the OBMC while host is running.
210 "Redfish 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 Keishing89c98372021-08-13 08:15:10 -0500214 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600215 "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 Keishing89c98372021-08-13 08:15:10 -0500223 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600224 "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": "Redfish BMC Reset Operation",
232 "lib_file_path": "bmc_redfish_utils.robot"
233 },
234 # Run a "reboot" on the OBMC while host is off.
235 "OBMC Reboot (off)": {
236 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600237 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500238 "chassis": "^Off$"
239 },
240 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600241 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500242 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600243 "boot_progress": "^None$",
244 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500245 },
246 "bmc_reboot": 1,
247 "method_type": "keyword",
248 "method": "BMC Execute Command /sbin/reboot fork=${1}"
249 },
250 # Run a "reboot" on the OBMC while host is off.
251 "Redfish OBMC Reboot (off)": {
252 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600253 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500254 "chassis": "^Off$"
255 },
256 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600257 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500258 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600259 "boot_progress": "^None$",
260 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500261 },
262 "bmc_reboot": 1,
263 "method_type": "keyword",
264 "method": "Redfish BMC Reset Operation",
265 "lib_file_path": "bmc_redfish_utils.robot"
266 },
267 # Cycle AC via the PDU while host is off.
268 "PDU AC Cycle (run)": {
269 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600270 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500271 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500272 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600273 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500274 "os_ping": "^1$",
275 "os_login": "^1$",
276 "os_run_cmd": "^1$"
277 },
278 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600279 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500280 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500281 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600282 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500283 "os_ping": "^1$",
284 "os_login": "^1$",
285 "os_run_cmd": "^1$"
286 },
287 "bmc_reboot": 1,
288 "method_type": "keyword",
289 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
290 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
291 },
292 # Cycle AC via the PDU while host is off.
293 "PDU AC Cycle (off)": {
294 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600295 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500296 "chassis": "^Off$"
297 },
298 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600299 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500300 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600301 "boot_progress": "^None$",
302 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500303 },
304 "bmc_reboot": 1,
305 "method_type": "keyword",
306 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
307 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
308 },
309 # Initiate an mc reset warm using the IPMI interface while chassis is
310 # powered on.
311 "IPMI MC Reset Warm (run)": {
312 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600313 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500314 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500315 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600316 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500317 "os_ping": "^1$",
318 "os_login": "^1$",
319 "os_run_cmd": "^1$"
320 },
321 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600322 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500323 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500324 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600325 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500326 "os_ping": "^1$",
327 "os_login": "^1$",
328 "os_run_cmd": "^1$"
329 },
330 "bmc_reboot": 1,
331 "method_type": "keyword",
332 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
333 "lib_file_path": "ipmi_client.robot:gen_print.py"
334 },
335 # Initiate an mc reset warm using the IPMI interface while chassis is
336 # powered off.
337 "IPMI MC Reset Warm (off)": {
338 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600339 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500340 "chassis": "^Off$"
341 },
342 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600343 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500344 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600345 "boot_progress": "^None$",
346 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500347 },
348 "bmc_reboot": 1,
349 "method_type": "keyword",
350 "method": "Run External IPMI Standard Command mc reset warm -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 on.
355 "IPMI MC Reset Cold (run)": {
356 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600357 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500358 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500359 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600360 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500361 "os_ping": "^1$",
362 "os_login": "^1$",
363 "os_run_cmd": "^1$"
364 },
365 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600366 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500367 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500368 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600369 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500370 "os_ping": "^1$",
371 "os_login": "^1$",
372 "os_run_cmd": "^1$"
373 },
374 "bmc_reboot": 1,
375 "method_type": "keyword",
376 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
377 "lib_file_path": "ipmi_client.robot:gen_print.py"
378 },
379 # Initiate an mc reset cold using the IPMI interface while chassis is
380 # powered off.
381 "IPMI MC Reset Cold (off)": {
382 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600383 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500384 "chassis": "^Off$"
385 },
386 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600387 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500388 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600389 "boot_progress": "^None$",
390 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500391 },
392 "bmc_reboot": 1,
393 "method_type": "keyword",
394 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
395 "lib_file_path": "ipmi_client.robot:gen_print.py"
396 },
397 # Initiate an mc reset warm using the IPMI standard interface while chassis
398 # is powered on.
399 "IPMI Std MC Reset Warm (run)": {
400 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600401 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500402 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500403 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600404 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500405 "os_ping": "^1$",
406 "os_login": "^1$",
407 "os_run_cmd": "^1$"
408 },
409 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600410 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500411 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500412 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600413 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500414 "os_ping": "^1$",
415 "os_login": "^1$",
416 "os_run_cmd": "^1$"
417 },
418 "bmc_reboot": 1,
419 "method_type": "keyword",
420 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
421 "lib_file_path": "ipmi_client.robot:gen_print.py"
422 },
423 # Initiate an mc reset warm using the IPMI standard interface while chassis
424 # is powered off.
425 "IPMI Std MC Reset Warm (off)": {
426 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600427 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500428 "chassis": "^Off$"
429 },
430 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600431 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500432 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600433 "boot_progress": "^None$",
434 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500435 },
436 "bmc_reboot": 1,
437 "method_type": "keyword",
438 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
439 "lib_file_path": "ipmi_client.robot:gen_print.py"
440 },
441 # Initiate an mc reset cold using the IPMI standard interface while chassis
442 # is powered on.
443 "IPMI Std MC Reset Cold (run)": {
444 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600445 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500446 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500447 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600448 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500449 "os_ping": "^1$",
450 "os_login": "^1$",
451 "os_run_cmd": "^1$"
452 },
453 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600454 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500455 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500456 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600457 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500458 "os_ping": "^1$",
459 "os_login": "^1$",
460 "os_run_cmd": "^1$"
461 },
462 "bmc_reboot": 1,
463 "method_type": "keyword",
464 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
465 "lib_file_path": "ipmi_client.robot:gen_print.py"
466 },
467 # Initiate an mc reset cold using the IPMI standard interface while chassis
468 # is powered off.
469 "IPMI Std MC Reset Cold (off)": {
470 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600471 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500472 "chassis": "^Off$"
473 },
474 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600475 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500476 "chassis": "^Off$",
George Keishinge1879642020-12-09 13:20:15 -0600477 "boot_progress": "^None$",
478 "host": "^Disabled$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500479 },
480 "bmc_reboot": 1,
481 "method_type": "keyword",
482 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
483 "lib_file_path": "ipmi_client.robot:gen_print.py"
484 },
485
486 # Host OS re-boot boot types:
487
488 # Initiate a power cycle using the IPMI interface (equivalent to off/on).
489 "IPMI Power Cycle": {
490 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600491 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500492 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500493 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600494 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500495 "os_ping": "^1$",
496 "os_login": "^1$",
497 "os_run_cmd": "^1$"
498 },
499 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600500 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500501 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500502 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600503 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500504 "os_ping": "^1$",
505 "os_login": "^1$",
506 "os_run_cmd": "^1$"
507 },
508 "bmc_reboot": 0,
509 "method_type": "keyword",
510 "method": "Run External IPMI Standard Command power cycle -N 10 -R 1",
511 "lib_file_path": "ipmi_client.robot"
512 },
513 # Initiate a power reset using the IPMI interface (equivalent to off/on).
514 # Functionally equivalent to "IPMI Power Cycle".
515 "IPMI Power Reset": {
516 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600517 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500518 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500519 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600520 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500521 "os_ping": "^1$",
522 "os_login": "^1$",
523 "os_run_cmd": "^1$"
524 },
525 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600526 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500527 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500528 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600529 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500530 "os_ping": "^1$",
531 "os_login": "^1$",
532 "os_run_cmd": "^1$"
533 },
534 "bmc_reboot": 0,
535 "method_type": "keyword",
536 "method": "Run External IPMI Standard Command power reset -N 10 -R 1",
537 "lib_file_path": "ipmi_client.robot"
538 },
539 # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state.
George Keishingc0701102021-09-30 12:12:04 -0500540 # Start of host state as off and "Redfish Initiate Auto Reboot" invoke poweron
541 # sleep 30 and then inject the auto reboot sequence.
Michael Sheposc1b73de2020-10-07 10:52:15 -0500542 "Auto Reboot": {
543 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600544 "redfish": "^1$",
George Keishingc0701102021-09-30 12:12:04 -0500545 "chassis": "^Off$",
546 "boot_progress": "^None$",
547 "host": "^Disabled$",
548 "os_ping": "^0$",
549 "os_login": "^0$",
550 "os_run_cmd": "^0$"
Michael Sheposc1b73de2020-10-07 10:52:15 -0500551 },
552 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600553 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500554 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500555 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600556 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500557 "os_ping": "^1$",
558 "os_login": "^1$",
559 "os_run_cmd": "^1$"
560 },
561 "bmc_reboot": 0,
562 "method_type": "keyword",
George Keishingc0701102021-09-30 12:12:04 -0500563 "method": "utils.Redfish Initiate Auto Reboot 1000",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500564 "lib_file_path": "utils.robot"
565 },
566 # Run a "reboot" command on the OS_HOST.
567 "Host Reboot": {
568 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600569 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500570 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500571 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600572 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500573 "os_ping": "^1$",
574 "os_login": "^1$",
575 "os_run_cmd": "^1$"
576 },
577 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600578 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500579 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500580 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600581 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500582 "os_ping": "^1$",
583 "os_login": "^1$",
584 "os_run_cmd": "^1$"
585 },
586 "bmc_reboot": 0,
587 "method_type": "keyword",
588 "method": "utils.Initiate OS Host Reboot",
589 "lib_file_path": "utils.robot"
590 },
591 # Initiate host reboot using the Redfish API interface (GracefulRestart).
592 "RF SYS GracefulRestart": {
593 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600594 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500595 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500596 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600597 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500598 "os_ping": "^1$",
599 "os_login": "^1$",
600 "os_run_cmd": "^1$"
601 },
602 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600603 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500604 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500605 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600606 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500607 "os_ping": "^1$",
608 "os_login": "^1$",
609 "os_run_cmd": "^1$"
610 },
611 "bmc_reboot": 0,
612 "method_type": "keyword",
613 "method": "Redfish Power Operation GracefulRestart",
614 "lib_file_path": "bmc_redfish_utils.robot"
615 },
616 # Initiate host reboot using the Redfish API interface (ForceRestart).
617 "RF SYS ForceRestart": {
618 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600619 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500620 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500621 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600622 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500623 "os_ping": "^1$",
624 "os_login": "^1$",
625 "os_run_cmd": "^1$"
626 },
627 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600628 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500629 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500630 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600631 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500632 "os_ping": "^1$",
633 "os_login": "^1$",
634 "os_run_cmd": "^1$"
635 },
636 "bmc_reboot": 0,
637 "method_type": "keyword",
638 "method": "Redfish Power Operation ForceRestart",
639 "lib_file_path": "bmc_redfish_utils.robot"
640 },
641 # OPAL Terminate Immediate.
642 "OPAL TI": {
643 "start": {
George Keishinge1879642020-12-09 13:20:15 -0600644 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500645 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500646 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600647 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500648 "os_ping": "^1$",
649 "os_login": "^1$",
650 "os_run_cmd": "^1$"
651 },
652 "end": {
George Keishinge1879642020-12-09 13:20:15 -0600653 "redfish": "^1$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500654 "chassis": "^On$",
George Keishing89c98372021-08-13 08:15:10 -0500655 "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
George Keishinge1879642020-12-09 13:20:15 -0600656 "host": "^Enabled$",
Michael Sheposc1b73de2020-10-07 10:52:15 -0500657 "os_ping": "^1$",
658 "os_login": "^1$",
659 "os_run_cmd": "^1$"
660 },
661 "bmc_reboot": 0,
662 "method_type": "keyword",
663 "method": "Inject OPAL TI",
664 "lib_file_path": "open_power_utils.robot"
665 }
666}