blob: fb5bd804b5cbf7b759fe3a0751ddfeb2457f5b74 [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 Walshffbc3d12017-03-31 09:32:00 -0500316 # Run a "reboot" on the OBMC while host is off.
317 "OBMC Reboot (off)": {
318 "start": {
319 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500320 "chassis": "^Off$"
321 },
322 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500323 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500324 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500325 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500326 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500327 "host": "^Off$"
328 },
329 "bmc_reboot": 1,
330 "method_type": "keyword",
Michael Walshe53e47a2017-06-30 17:03:24 -0500331 "method": "BMC Execute Command /sbin/reboot fork=${1}"
Michael Walsh10e7eb32017-03-21 11:25:58 -0500332 },
Michael Walsh569141d2017-09-08 14:47:23 -0500333 # Run a "reboot" on the OBMC while host is off.
334 "REST OBMC Reboot (off)": {
335 "start": {
336 "rest": "^1$",
337 "chassis": "^Off$"
338 },
339 "end": {
340 "rest": "^1$",
341 "chassis": "^Off$",
342 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500343 "operating_system": "^Inactive$",
Michael Walsh569141d2017-09-08 14:47:23 -0500344 "host": "^Off$"
345 },
346 "bmc_reboot": 1,
347 "method_type": "keyword",
348 "method": "Initiate BMC Reboot wait=${0}",
349 "lib_file_path": "state_manager.robot"
350 },
Michael Walshffbc3d12017-03-31 09:32:00 -0500351 # Cycle AC via the PDU while host is off.
352 "PDU AC Cycle (run)": {
Michael Walsh10e7eb32017-03-21 11:25:58 -0500353 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500354 "rest": "^1$",
355 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500356 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500357 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500358 "host": "^Running$",
359 "os_ping": "^1$",
360 "os_login": "^1$",
361 "os_run_cmd": "^1$"
362 },
363 "end": {
364 "rest": "^1$",
365 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500366 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500367 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500368 "host": "^Running$",
369 "os_ping": "^1$",
370 "os_login": "^1$",
371 "os_run_cmd": "^1$"
372 },
373 "bmc_reboot": 1,
374 "method_type": "keyword",
375 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
376 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
377 },
378 # Cycle AC via the PDU while host is off.
379 "PDU AC Cycle (off)": {
380 "start": {
381 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500382 "chassis": "^Off$"
383 },
384 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500385 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500386 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500387 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500388 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500389 "host": "^Off$"
390 },
391 "bmc_reboot": 1,
392 "method_type": "keyword",
393 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
394 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
395 },
Michael Walshffbc3d12017-03-31 09:32:00 -0500396 # Initiate an mc reset warm using the IPMI interface while chassis is
397 # powered on.
398 "IPMI MC Reset Warm (run)": {
Michael Walsh10e7eb32017-03-21 11:25:58 -0500399 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500400 "rest": "^1$",
401 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500402 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500403 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500404 "host": "^Running$",
405 "os_ping": "^1$",
406 "os_login": "^1$",
407 "os_run_cmd": "^1$"
408 },
409 "end": {
410 "rest": "^1$",
411 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500412 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500413 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500414 "host": "^Running$",
415 "os_ping": "^1$",
416 "os_login": "^1$",
417 "os_run_cmd": "^1$"
418 },
419 "bmc_reboot": 1,
420 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600421 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
Michael Walshffbc3d12017-03-31 09:32:00 -0500422 "lib_file_path": "ipmi_client.robot:gen_print.py"
423 },
424 # Initiate an mc reset warm using the IPMI interface while chassis is
425 # powered off.
426 "IPMI MC Reset Warm (off)": {
427 "start": {
428 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500429 "chassis": "^Off$"
430 },
431 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500432 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500433 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500434 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500435 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500436 "host": "^Off$"
437 },
438 "bmc_reboot": 1,
439 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600440 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500441 "lib_file_path": "ipmi_client.robot:gen_print.py"
442 },
Michael Walsh55b5c642018-03-16 14:21:13 -0500443 # Initiate an mc reset cold using the IPMI interface while chassis is
444 # powered on.
445 "IPMI MC Reset Cold (run)": {
446 "start": {
447 "rest": "^1$",
448 "chassis": "^On$",
449 "boot_progress": "^FW Progress, Starting OS|OSStart$",
450 "operating_system": "^BootComplete$",
451 "host": "^Running$",
452 "os_ping": "^1$",
453 "os_login": "^1$",
454 "os_run_cmd": "^1$"
455 },
456 "end": {
457 "rest": "^1$",
458 "chassis": "^On$",
459 "boot_progress": "^FW Progress, Starting OS|OSStart$",
460 "operating_system": "^BootComplete$",
461 "host": "^Running$",
462 "os_ping": "^1$",
463 "os_login": "^1$",
464 "os_run_cmd": "^1$"
465 },
466 "bmc_reboot": 1,
467 "method_type": "keyword",
468 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
469 "lib_file_path": "ipmi_client.robot:gen_print.py"
470 },
471 # Initiate an mc reset cold using the IPMI interface while chassis is
472 # powered off.
473 "IPMI MC Reset Cold (off)": {
474 "start": {
475 "rest": "^1$",
476 "chassis": "^Off$"
477 },
478 "end": {
479 "rest": "^1$",
480 "chassis": "^Off$",
481 "boot_progress": "^Off|Unspecified$",
482 "operating_system": "^Inactive$",
483 "host": "^Off$"
484 },
485 "bmc_reboot": 1,
486 "method_type": "keyword",
487 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
488 "lib_file_path": "ipmi_client.robot:gen_print.py"
489 },
490 # Initiate an mc reset warm using the IPMI standard interface while chassis
491 # is powered on.
492 "IPMI Std MC Reset Warm (run)": {
493 "start": {
494 "rest": "^1$",
495 "chassis": "^On$",
496 "boot_progress": "^FW Progress, Starting OS|OSStart$",
497 "operating_system": "^BootComplete$",
498 "host": "^Running$",
499 "os_ping": "^1$",
500 "os_login": "^1$",
501 "os_run_cmd": "^1$"
502 },
503 "end": {
504 "rest": "^1$",
505 "chassis": "^On$",
506 "boot_progress": "^FW Progress, Starting OS|OSStart$",
507 "operating_system": "^BootComplete$",
508 "host": "^Running$",
509 "os_ping": "^1$",
510 "os_login": "^1$",
511 "os_run_cmd": "^1$"
512 },
513 "bmc_reboot": 1,
514 "method_type": "keyword",
515 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
516 "lib_file_path": "ipmi_client.robot:gen_print.py"
517 },
518 # Initiate an mc reset warm using the IPMI standard interface while chassis
519 # is powered off.
520 "IPMI Std MC Reset Warm (off)": {
521 "start": {
522 "rest": "^1$",
523 "chassis": "^Off$"
524 },
525 "end": {
526 "rest": "^1$",
527 "chassis": "^Off$",
528 "boot_progress": "^Off|Unspecified$",
529 "operating_system": "^Inactive$",
530 "host": "^Off$"
531 },
532 "bmc_reboot": 1,
533 "method_type": "keyword",
534 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
535 "lib_file_path": "ipmi_client.robot:gen_print.py"
536 },
537 # Initiate an mc reset cold using the IPMI standard interface while chassis
538 # is powered on.
539 "IPMI Std MC Reset Cold (run)": {
540 "start": {
541 "rest": "^1$",
542 "chassis": "^On$",
543 "boot_progress": "^FW Progress, Starting OS|OSStart$",
544 "operating_system": "^BootComplete$",
545 "host": "^Running$",
546 "os_ping": "^1$",
547 "os_login": "^1$",
548 "os_run_cmd": "^1$"
549 },
550 "end": {
551 "rest": "^1$",
552 "chassis": "^On$",
553 "boot_progress": "^FW Progress, Starting OS|OSStart$",
554 "operating_system": "^BootComplete$",
555 "host": "^Running$",
556 "os_ping": "^1$",
557 "os_login": "^1$",
558 "os_run_cmd": "^1$"
559 },
560 "bmc_reboot": 1,
561 "method_type": "keyword",
562 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
563 "lib_file_path": "ipmi_client.robot:gen_print.py"
564 },
565 # Initiate an mc reset cold using the IPMI standard interface while chassis
566 # is powered off.
567 "IPMI Std MC Reset Cold (off)": {
568 "start": {
569 "rest": "^1$",
570 "chassis": "^Off$"
571 },
572 "end": {
573 "rest": "^1$",
574 "chassis": "^Off$",
575 "boot_progress": "^Off|Unspecified$",
576 "operating_system": "^Inactive$",
577 "host": "^Off$"
578 },
579 "bmc_reboot": 1,
580 "method_type": "keyword",
581 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
582 "lib_file_path": "ipmi_client.robot:gen_print.py"
583 },
Michael Walsh10e7eb32017-03-21 11:25:58 -0500584
585 # Host OS re-boot boot types:
586
587 # Initiate a power cycle using the IPMI interface (equivalent to off/on).
588 "IPMI Power Cycle": {
589 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500590 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500591 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500592 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500593 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500594 "host": "^Running$",
595 "os_ping": "^1$",
596 "os_login": "^1$",
597 "os_run_cmd": "^1$"
598 },
599 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500600 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500601 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500602 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500603 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500604 "host": "^Running$",
605 "os_ping": "^1$",
606 "os_login": "^1$",
607 "os_run_cmd": "^1$"
608 },
609 "bmc_reboot": 0,
610 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600611 "method": "Run External IPMI Standard Command power cycle -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500612 "lib_file_path": "ipmi_client.robot"
613 },
614 # Initiate a power reset using the IPMI interface (equivalent to off/on).
615 # Functionally equivalent to "IPMI Power Cycle".
616 "IPMI Power Reset": {
617 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500618 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500619 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500620 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500621 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500622 "host": "^Running$",
623 "os_ping": "^1$",
624 "os_login": "^1$",
625 "os_run_cmd": "^1$"
626 },
627 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500628 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500629 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500630 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500631 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500632 "host": "^Running$",
633 "os_ping": "^1$",
634 "os_login": "^1$",
635 "os_run_cmd": "^1$"
636 },
637 "bmc_reboot": 0,
638 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600639 "method": "Run External IPMI Standard Command power reset -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500640 "lib_file_path": "ipmi_client.robot"
641 },
Michael Walsh4aa82202017-03-02 14:45:49 -0600642 # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state.
643 "Auto Reboot": {
644 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500645 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600646 "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 Walsh4aa82202017-03-02 14:45:49 -0600649 "host": "^Running$",
650 "os_ping": "^1$",
651 "os_login": "^1$",
652 "os_run_cmd": "^1$"
653 },
654 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500655 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600656 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500657 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500658 "operating_system": "^BootComplete$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600659 "host": "^Running$",
660 "os_ping": "^1$",
661 "os_login": "^1$",
662 "os_run_cmd": "^1$"
663 },
664 "bmc_reboot": 0,
665 "method_type": "keyword",
Michael Walsh4ffd1a12018-03-14 10:35:44 -0500666 "method": "utils.Initiate Auto Reboot 1000",
Michael Walsh4aa82202017-03-02 14:45:49 -0600667 "lib_file_path": "utils.robot"
Michael Walsh10e7eb32017-03-21 11:25:58 -0500668 },
669 # Run a "reboot" command on the OS_HOST.
670 "Host Reboot": {
671 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500672 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500673 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500674 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500675 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500676 "host": "^Running$",
677 "os_ping": "^1$",
678 "os_login": "^1$",
679 "os_run_cmd": "^1$"
680 },
681 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500682 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500683 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500684 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500685 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500686 "host": "^Running$",
687 "os_ping": "^1$",
688 "os_login": "^1$",
689 "os_run_cmd": "^1$"
690 },
691 "bmc_reboot": 0,
692 "method_type": "keyword",
693 "method": "utils.Initiate OS Host Reboot",
694 "lib_file_path": "utils.robot"
Michael Walsh287a0032019-02-14 18:00:20 -0600695 },
696 # Initiate host reboot using the Redfish API interface (GracefulRestart).
697 "Redfish Host Reboot": {
698 "start": {
699 "rest": "^1$",
700 "chassis": "^On$",
701 "boot_progress": "^FW Progress, Starting OS|OSStart$",
702 "operating_system": "^BootComplete$",
703 "host": "^Running$",
704 "os_ping": "^1$",
705 "os_login": "^1$",
706 "os_run_cmd": "^1$"
707 },
708 "end": {
709 "rest": "^1$",
710 "chassis": "^On$",
711 "boot_progress": "^FW Progress, Starting OS|OSStart$",
712 "operating_system": "^BootComplete$",
713 "host": "^Running$",
714 "os_ping": "^1$",
715 "os_login": "^1$",
716 "os_run_cmd": "^1$"
717 },
718 "bmc_reboot": 0,
719 "method_type": "keyword",
720 "method": "Redfish Power Operation GracefulRestart",
721 "lib_file_path": "bmc_redfish_utils.robot"
Michael Walshda2d43c2017-02-20 16:04:59 -0600722 }
723}