blob: 3b049f8392ca956a6ada3dd6de9eae493214452a [file] [log] [blame]
Michael Walshda2d43c2017-02-20 16:04:59 -06001{
Michael Walsh10e7eb32017-03-21 11:25:58 -05002 # Power on boot types:
3
Michael Walsh4aa82202017-03-02 14:45:49 -06004 # Initiate a power on using the REST API interface.
5 "REST Power On": {
Michael Walshda2d43c2017-02-20 16:04:59 -06006 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -05007 "rest": "^1$",
Michael Walshda2d43c2017-02-20 16:04:59 -06008 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -05009 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -050010 "operating_system": "^Inactive$",
Michael Walshda2d43c2017-02-20 16:04:59 -060011 "host": "^Off$"
12 },
13 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -050014 "rest": "^1$",
Michael Walshda2d43c2017-02-20 16:04:59 -060015 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -050016 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -050017 "operating_system": "^BootComplete$",
Michael Walshda2d43c2017-02-20 16:04:59 -060018 "host": "^Running$",
19 "os_ping": "^1$",
20 "os_login": "^1$",
21 "os_run_cmd": "^1$"
22 },
23 "bmc_reboot": 0,
24 "method_type": "keyword",
Michael Walshb099e622017-03-21 14:51:47 -050025 "method": "Initiate Host Boot wait=${0}",
26 "lib_file_path": "state_manager.robot"
Michael Walshda2d43c2017-02-20 16:04:59 -060027 },
Michael Walsh287a0032019-02-14 18:00:20 -060028 # Initiate a power on using the Redfish API interface.
29 "Redfish Power On": {
30 "start": {
31 "rest": "^1$",
32 "chassis": "^Off$",
33 "boot_progress": "^Off|Unspecified$",
34 "operating_system": "^Inactive$",
35 "host": "^Off$"
36 },
37 "end": {
38 "rest": "^1$",
39 "chassis": "^On$",
40 "boot_progress": "^FW Progress, Starting OS|OSStart$",
41 "operating_system": "^BootComplete$",
42 "host": "^Running$",
43 "os_ping": "^1$",
44 "os_login": "^1$",
45 "os_run_cmd": "^1$"
46 },
47 "bmc_reboot": 0,
48 "method_type": "keyword",
49 "method": "Redfish Power Operation On",
50 "lib_file_path": "bmc_redfish_utils.robot"
51 },
Michael Walsh10e7eb32017-03-21 11:25:58 -050052 # Initiate a power on using the IPMI interface.
53 "IPMI Power On": {
54 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -050055 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -050056 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -050057 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -050058 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -050059 "host": "^Off$"
60 },
61 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -050062 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -050063 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -050064 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -050065 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -050066 "host": "^Running$",
67 "os_ping": "^1$",
68 "os_login": "^1$",
69 "os_run_cmd": "^1$"
70 },
71 "bmc_reboot": 0,
72 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -060073 "method": "Run External IPMI Standard Command power on -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -050074 "lib_file_path": "ipmi_client.robot"
75 },
76
77 # Power off boot types:
78
Michael Walsh4aa82202017-03-02 14:45:49 -060079 # Initiate a power off using the REST API interface.
80 "REST Power Off": {
Michael Walshda2d43c2017-02-20 16:04:59 -060081 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -050082 "rest": "^1$",
Michael Walshc213aa92017-04-12 16:00:33 -050083 "chassis": "^On$"
Michael Walshda2d43c2017-02-20 16:04:59 -060084 },
85 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -050086 "rest": "^1$",
Michael Walshda2d43c2017-02-20 16:04:59 -060087 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -050088 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -050089 "operating_system": "^Inactive$",
Michael Walshda2d43c2017-02-20 16:04:59 -060090 "host": "^Off$",
91 "os_ping": "^0$",
92 "os_login": "^0$",
93 "os_run_cmd": "^0$"
94 },
95 "bmc_reboot": 0,
96 "method_type": "keyword",
Michael Walshb099e622017-03-21 14:51:47 -050097 "method": "Initiate Host PowerOff wait=${0}",
98 "lib_file_path": "state_manager.robot"
Michael Walshda2d43c2017-02-20 16:04:59 -060099 },
Michael Walsh287a0032019-02-14 18:00:20 -0600100 # Initiate a power off using the Redfish API interface.
101 "Redfish Power Off": {
102 "start": {
103 "rest": "^1$",
104 "chassis": "^On$"
105 },
106 "end": {
107 "rest": "^1$",
108 "chassis": "^Off$",
109 "boot_progress": "^Off|Unspecified$",
110 "operating_system": "^Inactive$",
111 "host": "^Off$",
112 "os_ping": "^0$",
113 "os_login": "^0$",
114 "os_run_cmd": "^0$"
115 },
116 "bmc_reboot": 0,
117 "method_type": "keyword",
118 "method": "Redfish Power Operation GracefulShutdown",
119 "lib_file_path": "bmc_redfish_utils.robot"
120 },
Michael Walsh245db7c2017-09-05 15:45:03 -0500121 # Initiate a hard power off using the REST API interface.
122 "REST Hard Power Off": {
123 "start": {
124 "rest": "^1$",
125 "chassis": "^On$"
126 },
127 "end": {
128 "rest": "^1$",
129 "chassis": "^Off$",
130 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500131 "operating_system": "^Inactive$",
Michael Walsh245db7c2017-09-05 15:45:03 -0500132 "host": "^Off$",
133 "os_ping": "^0$",
134 "os_login": "^0$",
135 "os_run_cmd": "^0$"
136 },
137 "bmc_reboot": 0,
138 "method_type": "keyword",
139 "method": "Hard Power Off wait=${0}",
140 "lib_file_path": "state_manager.robot"
141 },
Michael Walsh287a0032019-02-14 18:00:20 -0600142 # Initiate a hard power off using the Redfish API interface.
143 "Redfish Hard Power Off": {
144 "start": {
145 "rest": "^1$",
146 "chassis": "^On$"
147 },
148 "end": {
149 "rest": "^1$",
150 "chassis": "^Off$",
151 "boot_progress": "^Off|Unspecified$",
152 "operating_system": "^Inactive$",
153 "host": "^Off$",
154 "os_ping": "^0$",
155 "os_login": "^0$",
156 "os_run_cmd": "^0$"
157 },
158 "bmc_reboot": 0,
159 "method_type": "keyword",
160 "method": "Redfish Power Operation ForceOff",
161 "lib_file_path": "bmc_redfish_utils.robot"
162 },
Michael Walsh10e7eb32017-03-21 11:25:58 -0500163 # Initiate a power off using the IPMI interface.
164 "IPMI Power Off": {
Michael Walshda2d43c2017-02-20 16:04:59 -0600165 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500166 "rest": "^1$",
Michael Walshc213aa92017-04-12 16:00:33 -0500167 "chassis": "^On$"
Michael Walshda2d43c2017-02-20 16:04:59 -0600168 },
169 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500170 "rest": "^1$",
Michael Walshda2d43c2017-02-20 16:04:59 -0600171 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500172 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500173 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500174 "host": "^Off$",
175 "os_ping": "^0$",
176 "os_login": "^0$",
177 "os_run_cmd": "^0$"
Michael Walsh4aa82202017-03-02 14:45:49 -0600178 },
179 "bmc_reboot": 0,
180 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600181 "method": "Run External IPMI Standard Command power off -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500182 "lib_file_path": "ipmi_client.robot"
183 },
184 # Initiate a power soft using the IPMI interface.
185 "IPMI Power Soft": {
186 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500187 "rest": "^1$",
Michael Walshc213aa92017-04-12 16:00:33 -0500188 "chassis": "^On$"
Michael Walsh10e7eb32017-03-21 11:25:58 -0500189 },
190 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500191 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500192 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500193 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500194 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500195 "host": "^Off$",
196 "os_ping": "^0$",
197 "os_login": "^0$",
198 "os_run_cmd": "^0$"
199 },
200 "bmc_reboot": 0,
201 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600202 "method": "Run External IPMI Standard Command power soft -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500203 "lib_file_path": "ipmi_client.robot"
Michael Walsh4aa82202017-03-02 14:45:49 -0600204 },
205 # Run a "shutdown" command on the OS_HOST.
206 "Host Power Off": {
207 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500208 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600209 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500210 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500211 "operating_system": "^BootComplete$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600212 "host": "^Running$",
213 "os_ping": "^1$",
214 "os_login": "^1$",
215 "os_run_cmd": "^1$"
216 },
217 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500218 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600219 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500220 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500221 "operating_system": "^Inactive$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600222 "host": "^Off$",
223 "os_ping": "^0$",
224 "os_login": "^0$",
225 "os_run_cmd": "^0$"
226 },
227 "bmc_reboot": 0,
228 "method_type": "keyword",
229 "method": "utils.Initiate OS Host Power Off",
230 "lib_file_path": "utils.robot"
231 },
Michael Walsh10e7eb32017-03-21 11:25:58 -0500232
233 # OBMC re-boot boot types:
234
Michael Walshffbc3d12017-03-31 09:32:00 -0500235 # APOR - Auto Power On Restart - Note that this is functionally equivalent
236 # to 'PDU AC Cycle (run)'.
237 "APOR": {
Michael Walsh10e7eb32017-03-21 11:25:58 -0500238 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500239 "rest": "^1$",
240 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500241 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500242 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500243 "host": "^Running$",
244 "os_ping": "^1$",
245 "os_login": "^1$",
246 "os_run_cmd": "^1$"
247 },
248 "end": {
249 "rest": "^1$",
250 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500251 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500252 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500253 "host": "^Running$",
254 "os_ping": "^1$",
255 "os_login": "^1$",
256 "os_run_cmd": "^1$"
257 },
258 "bmc_reboot": 1,
259 "method_type": "keyword",
260 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
261 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
262 },
263 # Run a "reboot" on the OBMC while host is running.
264 "OBMC Reboot (run)": {
265 "start": {
266 "rest": "^1$",
267 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500268 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500269 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500270 "host": "^Running$",
271 "os_ping": "^1$",
272 "os_login": "^1$",
273 "os_run_cmd": "^1$"
274 },
275 "end": {
276 "rest": "^1$",
277 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500278 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500279 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500280 "host": "^Running$",
281 "os_ping": "^1$",
282 "os_login": "^1$",
283 "os_run_cmd": "^1$"
284 },
285 "bmc_reboot": 1,
286 "method_type": "keyword",
Michael Walshe53e47a2017-06-30 17:03:24 -0500287 "method": "BMC Execute Command /sbin/reboot fork=${1}"
Michael Walshffbc3d12017-03-31 09:32:00 -0500288 },
Michael Walsh569141d2017-09-08 14:47:23 -0500289 # Run a REST "reboot" on the OBMC while host is running.
290 "REST OBMC Reboot (run)": {
291 "start": {
292 "rest": "^1$",
293 "chassis": "^On$",
294 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500295 "operating_system": "^BootComplete$",
Michael Walsh569141d2017-09-08 14:47:23 -0500296 "host": "^Running$",
297 "os_ping": "^1$",
298 "os_login": "^1$",
299 "os_run_cmd": "^1$"
300 },
301 "end": {
302 "rest": "^1$",
303 "chassis": "^On$",
304 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500305 "operating_system": "^BootComplete$",
Michael Walsh569141d2017-09-08 14:47:23 -0500306 "host": "^Running$",
307 "os_ping": "^1$",
308 "os_login": "^1$",
309 "os_run_cmd": "^1$"
310 },
311 "bmc_reboot": 1,
312 "method_type": "keyword",
313 "method": "Initiate BMC Reboot wait=${0}",
314 "lib_file_path": "state_manager.robot"
315 },
Michael Walsh64a9aa62019-03-08 14:46:52 -0600316 # Run a Redfish "reboot" on the OBMC while host is running.
317 "Redfish OBMC Reboot (run)": {
318 "start": {
319 "rest": "^1$",
320 "chassis": "^On$",
321 "boot_progress": "^FW Progress, Starting OS|OSStart$",
322 "operating_system": "^BootComplete$",
323 "host": "^Running$",
324 "os_ping": "^1$",
325 "os_login": "^1$",
326 "os_run_cmd": "^1$"
327 },
328 "end": {
329 "rest": "^1$",
330 "chassis": "^On$",
331 "boot_progress": "^FW Progress, Starting OS|OSStart$",
332 "operating_system": "^BootComplete$",
333 "host": "^Running$",
334 "os_ping": "^1$",
335 "os_login": "^1$",
336 "os_run_cmd": "^1$"
337 },
338 "bmc_reboot": 1,
339 "method_type": "keyword",
340 "method": "Redfish BMC Reset Operation",
341 "lib_file_path": "bmc_redfish_utils.robot"
342 },
Michael Walshffbc3d12017-03-31 09:32:00 -0500343 # Run a "reboot" on the OBMC while host is off.
344 "OBMC Reboot (off)": {
345 "start": {
346 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500347 "chassis": "^Off$"
348 },
349 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500350 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500351 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500352 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500353 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500354 "host": "^Off$"
355 },
356 "bmc_reboot": 1,
357 "method_type": "keyword",
Michael Walshe53e47a2017-06-30 17:03:24 -0500358 "method": "BMC Execute Command /sbin/reboot fork=${1}"
Michael Walsh10e7eb32017-03-21 11:25:58 -0500359 },
Michael Walsh569141d2017-09-08 14:47:23 -0500360 # Run a "reboot" on the OBMC while host is off.
361 "REST OBMC Reboot (off)": {
362 "start": {
363 "rest": "^1$",
364 "chassis": "^Off$"
365 },
366 "end": {
367 "rest": "^1$",
368 "chassis": "^Off$",
369 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500370 "operating_system": "^Inactive$",
Michael Walsh569141d2017-09-08 14:47:23 -0500371 "host": "^Off$"
372 },
373 "bmc_reboot": 1,
374 "method_type": "keyword",
375 "method": "Initiate BMC Reboot wait=${0}",
376 "lib_file_path": "state_manager.robot"
377 },
Michael Walsh64a9aa62019-03-08 14:46:52 -0600378 # Run a "reboot" on the OBMC while host is off.
379 "Redfish OBMC Reboot (off)": {
380 "start": {
381 "rest": "^1$",
382 "chassis": "^Off$"
383 },
384 "end": {
385 "rest": "^1$",
386 "chassis": "^Off$",
387 "boot_progress": "^Off|Unspecified$",
388 "operating_system": "^Inactive$",
389 "host": "^Off$"
390 },
391 "bmc_reboot": 1,
392 "method_type": "keyword",
393 "method": "Redfish BMC Reset Operation",
394 "lib_file_path": "bmc_redfish_utils.robot"
395 },
Michael Walshffbc3d12017-03-31 09:32:00 -0500396 # Cycle AC via the PDU while host is off.
397 "PDU AC Cycle (run)": {
Michael Walsh10e7eb32017-03-21 11:25:58 -0500398 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500399 "rest": "^1$",
400 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500401 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500402 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500403 "host": "^Running$",
404 "os_ping": "^1$",
405 "os_login": "^1$",
406 "os_run_cmd": "^1$"
407 },
408 "end": {
409 "rest": "^1$",
410 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500411 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500412 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500413 "host": "^Running$",
414 "os_ping": "^1$",
415 "os_login": "^1$",
416 "os_run_cmd": "^1$"
417 },
418 "bmc_reboot": 1,
419 "method_type": "keyword",
420 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
421 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
422 },
423 # Cycle AC via the PDU while host is off.
424 "PDU AC Cycle (off)": {
425 "start": {
426 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500427 "chassis": "^Off$"
428 },
429 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500430 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500431 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500432 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500433 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500434 "host": "^Off$"
435 },
436 "bmc_reboot": 1,
437 "method_type": "keyword",
438 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
439 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
440 },
Michael Walshffbc3d12017-03-31 09:32:00 -0500441 # Initiate an mc reset warm using the IPMI interface while chassis is
442 # powered on.
443 "IPMI MC Reset Warm (run)": {
Michael Walsh10e7eb32017-03-21 11:25:58 -0500444 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500445 "rest": "^1$",
446 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500447 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500448 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500449 "host": "^Running$",
450 "os_ping": "^1$",
451 "os_login": "^1$",
452 "os_run_cmd": "^1$"
453 },
454 "end": {
455 "rest": "^1$",
456 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500457 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500458 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500459 "host": "^Running$",
460 "os_ping": "^1$",
461 "os_login": "^1$",
462 "os_run_cmd": "^1$"
463 },
464 "bmc_reboot": 1,
465 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600466 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
Michael Walshffbc3d12017-03-31 09:32:00 -0500467 "lib_file_path": "ipmi_client.robot:gen_print.py"
468 },
469 # Initiate an mc reset warm using the IPMI interface while chassis is
470 # powered off.
471 "IPMI MC Reset Warm (off)": {
472 "start": {
473 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500474 "chassis": "^Off$"
475 },
476 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500477 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500478 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500479 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500480 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500481 "host": "^Off$"
482 },
483 "bmc_reboot": 1,
484 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600485 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500486 "lib_file_path": "ipmi_client.robot:gen_print.py"
487 },
Michael Walsh55b5c642018-03-16 14:21:13 -0500488 # Initiate an mc reset cold using the IPMI interface while chassis is
489 # powered on.
490 "IPMI MC Reset Cold (run)": {
491 "start": {
492 "rest": "^1$",
493 "chassis": "^On$",
494 "boot_progress": "^FW Progress, Starting OS|OSStart$",
495 "operating_system": "^BootComplete$",
496 "host": "^Running$",
497 "os_ping": "^1$",
498 "os_login": "^1$",
499 "os_run_cmd": "^1$"
500 },
501 "end": {
502 "rest": "^1$",
503 "chassis": "^On$",
504 "boot_progress": "^FW Progress, Starting OS|OSStart$",
505 "operating_system": "^BootComplete$",
506 "host": "^Running$",
507 "os_ping": "^1$",
508 "os_login": "^1$",
509 "os_run_cmd": "^1$"
510 },
511 "bmc_reboot": 1,
512 "method_type": "keyword",
513 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
514 "lib_file_path": "ipmi_client.robot:gen_print.py"
515 },
516 # Initiate an mc reset cold using the IPMI interface while chassis is
517 # powered off.
518 "IPMI MC Reset Cold (off)": {
519 "start": {
520 "rest": "^1$",
521 "chassis": "^Off$"
522 },
523 "end": {
524 "rest": "^1$",
525 "chassis": "^Off$",
526 "boot_progress": "^Off|Unspecified$",
527 "operating_system": "^Inactive$",
528 "host": "^Off$"
529 },
530 "bmc_reboot": 1,
531 "method_type": "keyword",
532 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
533 "lib_file_path": "ipmi_client.robot:gen_print.py"
534 },
535 # Initiate an mc reset warm using the IPMI standard interface while chassis
536 # is powered on.
537 "IPMI Std MC Reset Warm (run)": {
538 "start": {
539 "rest": "^1$",
540 "chassis": "^On$",
541 "boot_progress": "^FW Progress, Starting OS|OSStart$",
542 "operating_system": "^BootComplete$",
543 "host": "^Running$",
544 "os_ping": "^1$",
545 "os_login": "^1$",
546 "os_run_cmd": "^1$"
547 },
548 "end": {
549 "rest": "^1$",
550 "chassis": "^On$",
551 "boot_progress": "^FW Progress, Starting OS|OSStart$",
552 "operating_system": "^BootComplete$",
553 "host": "^Running$",
554 "os_ping": "^1$",
555 "os_login": "^1$",
556 "os_run_cmd": "^1$"
557 },
558 "bmc_reboot": 1,
559 "method_type": "keyword",
560 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
561 "lib_file_path": "ipmi_client.robot:gen_print.py"
562 },
563 # Initiate an mc reset warm using the IPMI standard interface while chassis
564 # is powered off.
565 "IPMI Std MC Reset Warm (off)": {
566 "start": {
567 "rest": "^1$",
568 "chassis": "^Off$"
569 },
570 "end": {
571 "rest": "^1$",
572 "chassis": "^Off$",
573 "boot_progress": "^Off|Unspecified$",
574 "operating_system": "^Inactive$",
575 "host": "^Off$"
576 },
577 "bmc_reboot": 1,
578 "method_type": "keyword",
579 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
580 "lib_file_path": "ipmi_client.robot:gen_print.py"
581 },
582 # Initiate an mc reset cold using the IPMI standard interface while chassis
583 # is powered on.
584 "IPMI Std MC Reset Cold (run)": {
585 "start": {
586 "rest": "^1$",
587 "chassis": "^On$",
588 "boot_progress": "^FW Progress, Starting OS|OSStart$",
589 "operating_system": "^BootComplete$",
590 "host": "^Running$",
591 "os_ping": "^1$",
592 "os_login": "^1$",
593 "os_run_cmd": "^1$"
594 },
595 "end": {
596 "rest": "^1$",
597 "chassis": "^On$",
598 "boot_progress": "^FW Progress, Starting OS|OSStart$",
599 "operating_system": "^BootComplete$",
600 "host": "^Running$",
601 "os_ping": "^1$",
602 "os_login": "^1$",
603 "os_run_cmd": "^1$"
604 },
605 "bmc_reboot": 1,
606 "method_type": "keyword",
607 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
608 "lib_file_path": "ipmi_client.robot:gen_print.py"
609 },
610 # Initiate an mc reset cold using the IPMI standard interface while chassis
611 # is powered off.
612 "IPMI Std MC Reset Cold (off)": {
613 "start": {
614 "rest": "^1$",
615 "chassis": "^Off$"
616 },
617 "end": {
618 "rest": "^1$",
619 "chassis": "^Off$",
620 "boot_progress": "^Off|Unspecified$",
621 "operating_system": "^Inactive$",
622 "host": "^Off$"
623 },
624 "bmc_reboot": 1,
625 "method_type": "keyword",
626 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
627 "lib_file_path": "ipmi_client.robot:gen_print.py"
628 },
Michael Walsh10e7eb32017-03-21 11:25:58 -0500629
630 # Host OS re-boot boot types:
631
632 # Initiate a power cycle using the IPMI interface (equivalent to off/on).
633 "IPMI Power Cycle": {
634 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500635 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500636 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500637 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500638 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500639 "host": "^Running$",
640 "os_ping": "^1$",
641 "os_login": "^1$",
642 "os_run_cmd": "^1$"
643 },
644 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500645 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500646 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500647 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500648 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500649 "host": "^Running$",
650 "os_ping": "^1$",
651 "os_login": "^1$",
652 "os_run_cmd": "^1$"
653 },
654 "bmc_reboot": 0,
655 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600656 "method": "Run External IPMI Standard Command power cycle -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500657 "lib_file_path": "ipmi_client.robot"
658 },
659 # Initiate a power reset using the IPMI interface (equivalent to off/on).
660 # Functionally equivalent to "IPMI Power Cycle".
661 "IPMI Power Reset": {
662 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500663 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500664 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500665 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500666 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500667 "host": "^Running$",
668 "os_ping": "^1$",
669 "os_login": "^1$",
670 "os_run_cmd": "^1$"
671 },
672 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500673 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500674 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500675 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500676 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500677 "host": "^Running$",
678 "os_ping": "^1$",
679 "os_login": "^1$",
680 "os_run_cmd": "^1$"
681 },
682 "bmc_reboot": 0,
683 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600684 "method": "Run External IPMI Standard Command power reset -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500685 "lib_file_path": "ipmi_client.robot"
686 },
Michael Walsh4aa82202017-03-02 14:45:49 -0600687 # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state.
688 "Auto Reboot": {
689 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500690 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600691 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500692 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500693 "operating_system": "^BootComplete$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600694 "host": "^Running$",
695 "os_ping": "^1$",
696 "os_login": "^1$",
697 "os_run_cmd": "^1$"
698 },
699 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500700 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600701 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500702 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500703 "operating_system": "^BootComplete$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600704 "host": "^Running$",
705 "os_ping": "^1$",
706 "os_login": "^1$",
707 "os_run_cmd": "^1$"
708 },
709 "bmc_reboot": 0,
710 "method_type": "keyword",
Michael Walsh4ffd1a12018-03-14 10:35:44 -0500711 "method": "utils.Initiate Auto Reboot 1000",
Michael Walsh4aa82202017-03-02 14:45:49 -0600712 "lib_file_path": "utils.robot"
Michael Walsh10e7eb32017-03-21 11:25:58 -0500713 },
714 # Run a "reboot" command on the OS_HOST.
715 "Host Reboot": {
716 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500717 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500718 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500719 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500720 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500721 "host": "^Running$",
722 "os_ping": "^1$",
723 "os_login": "^1$",
724 "os_run_cmd": "^1$"
725 },
726 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500727 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500728 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500729 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500730 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500731 "host": "^Running$",
732 "os_ping": "^1$",
733 "os_login": "^1$",
734 "os_run_cmd": "^1$"
735 },
736 "bmc_reboot": 0,
737 "method_type": "keyword",
738 "method": "utils.Initiate OS Host Reboot",
739 "lib_file_path": "utils.robot"
Michael Walsh287a0032019-02-14 18:00:20 -0600740 },
741 # Initiate host reboot using the Redfish API interface (GracefulRestart).
742 "Redfish Host Reboot": {
743 "start": {
744 "rest": "^1$",
745 "chassis": "^On$",
746 "boot_progress": "^FW Progress, Starting OS|OSStart$",
747 "operating_system": "^BootComplete$",
748 "host": "^Running$",
749 "os_ping": "^1$",
750 "os_login": "^1$",
751 "os_run_cmd": "^1$"
752 },
753 "end": {
754 "rest": "^1$",
755 "chassis": "^On$",
756 "boot_progress": "^FW Progress, Starting OS|OSStart$",
757 "operating_system": "^BootComplete$",
758 "host": "^Running$",
759 "os_ping": "^1$",
760 "os_login": "^1$",
761 "os_run_cmd": "^1$"
762 },
763 "bmc_reboot": 0,
764 "method_type": "keyword",
765 "method": "Redfish Power Operation GracefulRestart",
766 "lib_file_path": "bmc_redfish_utils.robot"
George Keishing5b2a6132020-03-03 07:54:32 -0600767 },
768 # Initiate host reboot using the Redfish API interface (ForceRestart).
769 "RF SYS ForceRestart": {
770 "start": {
771 "rest": "^1$",
772 "chassis": "^On$",
773 "boot_progress": "^FW Progress, Starting OS|OSStart$",
774 "operating_system": "^BootComplete$",
775 "host": "^Running$",
776 "os_ping": "^1$",
777 "os_login": "^1$",
778 "os_run_cmd": "^1$"
779 },
780 "end": {
781 "rest": "^1$",
782 "chassis": "^On$",
783 "boot_progress": "^FW Progress, Starting OS|OSStart$",
784 "operating_system": "^BootComplete$",
785 "host": "^Running$",
786 "os_ping": "^1$",
787 "os_login": "^1$",
788 "os_run_cmd": "^1$"
789 },
790 "bmc_reboot": 0,
791 "method_type": "keyword",
792 "method": "Redfish Power Operation ForceRestart",
793 "lib_file_path": "bmc_redfish_utils.robot"
Michael Walshda2d43c2017-02-20 16:04:59 -0600794 }
795}