blob: 6a4fc335036c1d6a2794b051a6c488379dc56aa7 [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 Walsh10e7eb32017-03-21 11:25:58 -050028 # Initiate a power on using the IPMI interface.
29 "IPMI Power On": {
30 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -050031 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -050032 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -050033 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -050034 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -050035 "host": "^Off$"
36 },
37 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -050038 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -050039 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -050040 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -050041 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -050042 "host": "^Running$",
43 "os_ping": "^1$",
44 "os_login": "^1$",
45 "os_run_cmd": "^1$"
46 },
47 "bmc_reboot": 0,
48 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -060049 "method": "Run External IPMI Standard Command power on -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -050050 "lib_file_path": "ipmi_client.robot"
51 },
52
53 # Power off boot types:
54
Michael Walsh4aa82202017-03-02 14:45:49 -060055 # Initiate a power off using the REST API interface.
56 "REST Power Off": {
Michael Walshda2d43c2017-02-20 16:04:59 -060057 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -050058 "rest": "^1$",
Michael Walshc213aa92017-04-12 16:00:33 -050059 "chassis": "^On$"
Michael Walshda2d43c2017-02-20 16:04:59 -060060 },
61 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -050062 "rest": "^1$",
Michael Walshda2d43c2017-02-20 16:04:59 -060063 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -050064 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -050065 "operating_system": "^Inactive$",
Michael Walshda2d43c2017-02-20 16:04:59 -060066 "host": "^Off$",
67 "os_ping": "^0$",
68 "os_login": "^0$",
69 "os_run_cmd": "^0$"
70 },
71 "bmc_reboot": 0,
72 "method_type": "keyword",
Michael Walshb099e622017-03-21 14:51:47 -050073 "method": "Initiate Host PowerOff wait=${0}",
74 "lib_file_path": "state_manager.robot"
Michael Walshda2d43c2017-02-20 16:04:59 -060075 },
Michael Walsh245db7c2017-09-05 15:45:03 -050076 # Initiate a hard power off using the REST API interface.
77 "REST Hard Power Off": {
78 "start": {
79 "rest": "^1$",
80 "chassis": "^On$"
81 },
82 "end": {
83 "rest": "^1$",
84 "chassis": "^Off$",
85 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -050086 "operating_system": "^Inactive$",
Michael Walsh245db7c2017-09-05 15:45:03 -050087 "host": "^Off$",
88 "os_ping": "^0$",
89 "os_login": "^0$",
90 "os_run_cmd": "^0$"
91 },
92 "bmc_reboot": 0,
93 "method_type": "keyword",
94 "method": "Hard Power Off wait=${0}",
95 "lib_file_path": "state_manager.robot"
96 },
Michael Walsh10e7eb32017-03-21 11:25:58 -050097 # Initiate a power off using the IPMI interface.
98 "IPMI Power Off": {
Michael Walshda2d43c2017-02-20 16:04:59 -060099 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500100 "rest": "^1$",
Michael Walshc213aa92017-04-12 16:00:33 -0500101 "chassis": "^On$"
Michael Walshda2d43c2017-02-20 16:04:59 -0600102 },
103 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500104 "rest": "^1$",
Michael Walshda2d43c2017-02-20 16:04:59 -0600105 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500106 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500107 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500108 "host": "^Off$",
109 "os_ping": "^0$",
110 "os_login": "^0$",
111 "os_run_cmd": "^0$"
Michael Walsh4aa82202017-03-02 14:45:49 -0600112 },
113 "bmc_reboot": 0,
114 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600115 "method": "Run External IPMI Standard Command power off -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500116 "lib_file_path": "ipmi_client.robot"
117 },
118 # Initiate a power soft using the IPMI interface.
119 "IPMI Power Soft": {
120 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500121 "rest": "^1$",
Michael Walshc213aa92017-04-12 16:00:33 -0500122 "chassis": "^On$"
Michael Walsh10e7eb32017-03-21 11:25:58 -0500123 },
124 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500125 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500126 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500127 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500128 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500129 "host": "^Off$",
130 "os_ping": "^0$",
131 "os_login": "^0$",
132 "os_run_cmd": "^0$"
133 },
134 "bmc_reboot": 0,
135 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600136 "method": "Run External IPMI Standard Command power soft -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500137 "lib_file_path": "ipmi_client.robot"
Michael Walsh4aa82202017-03-02 14:45:49 -0600138 },
139 # Run a "shutdown" command on the OS_HOST.
140 "Host Power Off": {
141 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500142 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600143 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500144 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500145 "operating_system": "^BootComplete$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600146 "host": "^Running$",
147 "os_ping": "^1$",
148 "os_login": "^1$",
149 "os_run_cmd": "^1$"
150 },
151 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500152 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600153 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500154 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500155 "operating_system": "^Inactive$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600156 "host": "^Off$",
157 "os_ping": "^0$",
158 "os_login": "^0$",
159 "os_run_cmd": "^0$"
160 },
161 "bmc_reboot": 0,
162 "method_type": "keyword",
163 "method": "utils.Initiate OS Host Power Off",
164 "lib_file_path": "utils.robot"
165 },
Michael Walsh10e7eb32017-03-21 11:25:58 -0500166
167 # OBMC re-boot boot types:
168
Michael Walshffbc3d12017-03-31 09:32:00 -0500169 # APOR - Auto Power On Restart - Note that this is functionally equivalent
170 # to 'PDU AC Cycle (run)'.
171 "APOR": {
Michael Walsh10e7eb32017-03-21 11:25:58 -0500172 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500173 "rest": "^1$",
174 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500175 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500176 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500177 "host": "^Running$",
178 "os_ping": "^1$",
179 "os_login": "^1$",
180 "os_run_cmd": "^1$"
181 },
182 "end": {
183 "rest": "^1$",
184 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500185 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500186 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500187 "host": "^Running$",
188 "os_ping": "^1$",
189 "os_login": "^1$",
190 "os_run_cmd": "^1$"
191 },
192 "bmc_reboot": 1,
193 "method_type": "keyword",
194 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
195 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
196 },
197 # Run a "reboot" on the OBMC while host is running.
198 "OBMC Reboot (run)": {
199 "start": {
200 "rest": "^1$",
201 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500202 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500203 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500204 "host": "^Running$",
205 "os_ping": "^1$",
206 "os_login": "^1$",
207 "os_run_cmd": "^1$"
208 },
209 "end": {
210 "rest": "^1$",
211 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500212 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500213 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500214 "host": "^Running$",
215 "os_ping": "^1$",
216 "os_login": "^1$",
217 "os_run_cmd": "^1$"
218 },
219 "bmc_reboot": 1,
220 "method_type": "keyword",
Michael Walshe53e47a2017-06-30 17:03:24 -0500221 "method": "BMC Execute Command /sbin/reboot fork=${1}"
Michael Walshffbc3d12017-03-31 09:32:00 -0500222 },
Michael Walsh569141d2017-09-08 14:47:23 -0500223 # Run a REST "reboot" on the OBMC while host is running.
224 "REST OBMC Reboot (run)": {
225 "start": {
226 "rest": "^1$",
227 "chassis": "^On$",
228 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500229 "operating_system": "^BootComplete$",
Michael Walsh569141d2017-09-08 14:47:23 -0500230 "host": "^Running$",
231 "os_ping": "^1$",
232 "os_login": "^1$",
233 "os_run_cmd": "^1$"
234 },
235 "end": {
236 "rest": "^1$",
237 "chassis": "^On$",
238 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500239 "operating_system": "^BootComplete$",
Michael Walsh569141d2017-09-08 14:47:23 -0500240 "host": "^Running$",
241 "os_ping": "^1$",
242 "os_login": "^1$",
243 "os_run_cmd": "^1$"
244 },
245 "bmc_reboot": 1,
246 "method_type": "keyword",
247 "method": "Initiate BMC Reboot wait=${0}",
248 "lib_file_path": "state_manager.robot"
249 },
Michael Walshffbc3d12017-03-31 09:32:00 -0500250 # Run a "reboot" on the OBMC while host is off.
251 "OBMC Reboot (off)": {
252 "start": {
253 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500254 "chassis": "^Off$"
255 },
256 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500257 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500258 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500259 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500260 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500261 "host": "^Off$"
262 },
263 "bmc_reboot": 1,
264 "method_type": "keyword",
Michael Walshe53e47a2017-06-30 17:03:24 -0500265 "method": "BMC Execute Command /sbin/reboot fork=${1}"
Michael Walsh10e7eb32017-03-21 11:25:58 -0500266 },
Michael Walsh569141d2017-09-08 14:47:23 -0500267 # Run a "reboot" on the OBMC while host is off.
268 "REST OBMC Reboot (off)": {
269 "start": {
270 "rest": "^1$",
271 "chassis": "^Off$"
272 },
273 "end": {
274 "rest": "^1$",
275 "chassis": "^Off$",
276 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500277 "operating_system": "^Inactive$",
Michael Walsh569141d2017-09-08 14:47:23 -0500278 "host": "^Off$"
279 },
280 "bmc_reboot": 1,
281 "method_type": "keyword",
282 "method": "Initiate BMC Reboot wait=${0}",
283 "lib_file_path": "state_manager.robot"
284 },
Michael Walshffbc3d12017-03-31 09:32:00 -0500285 # Cycle AC via the PDU while host is off.
286 "PDU AC Cycle (run)": {
Michael Walsh10e7eb32017-03-21 11:25:58 -0500287 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500288 "rest": "^1$",
289 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500290 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500291 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500292 "host": "^Running$",
293 "os_ping": "^1$",
294 "os_login": "^1$",
295 "os_run_cmd": "^1$"
296 },
297 "end": {
298 "rest": "^1$",
299 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500300 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500301 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500302 "host": "^Running$",
303 "os_ping": "^1$",
304 "os_login": "^1$",
305 "os_run_cmd": "^1$"
306 },
307 "bmc_reboot": 1,
308 "method_type": "keyword",
309 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
310 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
311 },
312 # Cycle AC via the PDU while host is off.
313 "PDU AC Cycle (off)": {
314 "start": {
315 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500316 "chassis": "^Off$"
317 },
318 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500319 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500320 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500321 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500322 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500323 "host": "^Off$"
324 },
325 "bmc_reboot": 1,
326 "method_type": "keyword",
327 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
328 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
329 },
Michael Walshffbc3d12017-03-31 09:32:00 -0500330 # Initiate an mc reset warm using the IPMI interface while chassis is
331 # powered on.
332 "IPMI MC Reset Warm (run)": {
Michael Walsh10e7eb32017-03-21 11:25:58 -0500333 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500334 "rest": "^1$",
335 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500336 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500337 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500338 "host": "^Running$",
339 "os_ping": "^1$",
340 "os_login": "^1$",
341 "os_run_cmd": "^1$"
342 },
343 "end": {
344 "rest": "^1$",
345 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500346 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500347 "operating_system": "^BootComplete$",
Michael Walshffbc3d12017-03-31 09:32:00 -0500348 "host": "^Running$",
349 "os_ping": "^1$",
350 "os_login": "^1$",
351 "os_run_cmd": "^1$"
352 },
353 "bmc_reboot": 1,
354 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600355 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
Michael Walshffbc3d12017-03-31 09:32:00 -0500356 "lib_file_path": "ipmi_client.robot:gen_print.py"
357 },
358 # Initiate an mc reset warm using the IPMI interface while chassis is
359 # powered off.
360 "IPMI MC Reset Warm (off)": {
361 "start": {
362 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500363 "chassis": "^Off$"
364 },
365 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500366 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500367 "chassis": "^Off$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500368 "boot_progress": "^Off|Unspecified$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500369 "operating_system": "^Inactive$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500370 "host": "^Off$"
371 },
372 "bmc_reboot": 1,
373 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600374 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500375 "lib_file_path": "ipmi_client.robot:gen_print.py"
376 },
Michael Walsh55b5c642018-03-16 14:21:13 -0500377 # Initiate an mc reset cold using the IPMI interface while chassis is
378 # powered on.
379 "IPMI MC Reset Cold (run)": {
380 "start": {
381 "rest": "^1$",
382 "chassis": "^On$",
383 "boot_progress": "^FW Progress, Starting OS|OSStart$",
384 "operating_system": "^BootComplete$",
385 "host": "^Running$",
386 "os_ping": "^1$",
387 "os_login": "^1$",
388 "os_run_cmd": "^1$"
389 },
390 "end": {
391 "rest": "^1$",
392 "chassis": "^On$",
393 "boot_progress": "^FW Progress, Starting OS|OSStart$",
394 "operating_system": "^BootComplete$",
395 "host": "^Running$",
396 "os_ping": "^1$",
397 "os_login": "^1$",
398 "os_run_cmd": "^1$"
399 },
400 "bmc_reboot": 1,
401 "method_type": "keyword",
402 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
403 "lib_file_path": "ipmi_client.robot:gen_print.py"
404 },
405 # Initiate an mc reset cold using the IPMI interface while chassis is
406 # powered off.
407 "IPMI MC Reset Cold (off)": {
408 "start": {
409 "rest": "^1$",
410 "chassis": "^Off$"
411 },
412 "end": {
413 "rest": "^1$",
414 "chassis": "^Off$",
415 "boot_progress": "^Off|Unspecified$",
416 "operating_system": "^Inactive$",
417 "host": "^Off$"
418 },
419 "bmc_reboot": 1,
420 "method_type": "keyword",
421 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
422 "lib_file_path": "ipmi_client.robot:gen_print.py"
423 },
424 # Initiate an mc reset warm using the IPMI standard interface while chassis
425 # is powered on.
426 "IPMI Std MC Reset Warm (run)": {
427 "start": {
428 "rest": "^1$",
429 "chassis": "^On$",
430 "boot_progress": "^FW Progress, Starting OS|OSStart$",
431 "operating_system": "^BootComplete$",
432 "host": "^Running$",
433 "os_ping": "^1$",
434 "os_login": "^1$",
435 "os_run_cmd": "^1$"
436 },
437 "end": {
438 "rest": "^1$",
439 "chassis": "^On$",
440 "boot_progress": "^FW Progress, Starting OS|OSStart$",
441 "operating_system": "^BootComplete$",
442 "host": "^Running$",
443 "os_ping": "^1$",
444 "os_login": "^1$",
445 "os_run_cmd": "^1$"
446 },
447 "bmc_reboot": 1,
448 "method_type": "keyword",
449 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
450 "lib_file_path": "ipmi_client.robot:gen_print.py"
451 },
452 # Initiate an mc reset warm using the IPMI standard interface while chassis
453 # is powered off.
454 "IPMI Std MC Reset Warm (off)": {
455 "start": {
456 "rest": "^1$",
457 "chassis": "^Off$"
458 },
459 "end": {
460 "rest": "^1$",
461 "chassis": "^Off$",
462 "boot_progress": "^Off|Unspecified$",
463 "operating_system": "^Inactive$",
464 "host": "^Off$"
465 },
466 "bmc_reboot": 1,
467 "method_type": "keyword",
468 "method": "Run IPMI Standard Command mc reset warm -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 standard interface while chassis
472 # is powered on.
473 "IPMI Std MC Reset Cold (run)": {
474 "start": {
475 "rest": "^1$",
476 "chassis": "^On$",
477 "boot_progress": "^FW Progress, Starting OS|OSStart$",
478 "operating_system": "^BootComplete$",
479 "host": "^Running$",
480 "os_ping": "^1$",
481 "os_login": "^1$",
482 "os_run_cmd": "^1$"
483 },
484 "end": {
485 "rest": "^1$",
486 "chassis": "^On$",
487 "boot_progress": "^FW Progress, Starting OS|OSStart$",
488 "operating_system": "^BootComplete$",
489 "host": "^Running$",
490 "os_ping": "^1$",
491 "os_login": "^1$",
492 "os_run_cmd": "^1$"
493 },
494 "bmc_reboot": 1,
495 "method_type": "keyword",
496 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
497 "lib_file_path": "ipmi_client.robot:gen_print.py"
498 },
499 # Initiate an mc reset cold using the IPMI standard interface while chassis
500 # is powered off.
501 "IPMI Std MC Reset Cold (off)": {
502 "start": {
503 "rest": "^1$",
504 "chassis": "^Off$"
505 },
506 "end": {
507 "rest": "^1$",
508 "chassis": "^Off$",
509 "boot_progress": "^Off|Unspecified$",
510 "operating_system": "^Inactive$",
511 "host": "^Off$"
512 },
513 "bmc_reboot": 1,
514 "method_type": "keyword",
515 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
516 "lib_file_path": "ipmi_client.robot:gen_print.py"
517 },
Michael Walsh10e7eb32017-03-21 11:25:58 -0500518
519 # Host OS re-boot boot types:
520
521 # Initiate a power cycle using the IPMI interface (equivalent to off/on).
522 "IPMI Power Cycle": {
523 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500524 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500525 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500526 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500527 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500528 "host": "^Running$",
529 "os_ping": "^1$",
530 "os_login": "^1$",
531 "os_run_cmd": "^1$"
532 },
533 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500534 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500535 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500536 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500537 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500538 "host": "^Running$",
539 "os_ping": "^1$",
540 "os_login": "^1$",
541 "os_run_cmd": "^1$"
542 },
543 "bmc_reboot": 0,
544 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600545 "method": "Run External IPMI Standard Command power cycle -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500546 "lib_file_path": "ipmi_client.robot"
547 },
548 # Initiate a power reset using the IPMI interface (equivalent to off/on).
549 # Functionally equivalent to "IPMI Power Cycle".
550 "IPMI Power Reset": {
551 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500552 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500553 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500554 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500555 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500556 "host": "^Running$",
557 "os_ping": "^1$",
558 "os_login": "^1$",
559 "os_run_cmd": "^1$"
560 },
561 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500562 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500563 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500564 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500565 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500566 "host": "^Running$",
567 "os_ping": "^1$",
568 "os_login": "^1$",
569 "os_run_cmd": "^1$"
570 },
571 "bmc_reboot": 0,
572 "method_type": "keyword",
Michael Walsh65450af2017-12-12 14:04:46 -0600573 "method": "Run External IPMI Standard Command power reset -N 10 -R 1",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500574 "lib_file_path": "ipmi_client.robot"
575 },
Michael Walsh4aa82202017-03-02 14:45:49 -0600576 # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state.
577 "Auto Reboot": {
578 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500579 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600580 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500581 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500582 "operating_system": "^BootComplete$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600583 "host": "^Running$",
584 "os_ping": "^1$",
585 "os_login": "^1$",
586 "os_run_cmd": "^1$"
587 },
588 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500589 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600590 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500591 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500592 "operating_system": "^BootComplete$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600593 "host": "^Running$",
594 "os_ping": "^1$",
595 "os_login": "^1$",
596 "os_run_cmd": "^1$"
597 },
598 "bmc_reboot": 0,
599 "method_type": "keyword",
600 "method": "utils.Initiate Auto Reboot",
601 "lib_file_path": "utils.robot"
Michael Walsh10e7eb32017-03-21 11:25:58 -0500602 },
603 # Run a "reboot" command on the OS_HOST.
604 "Host Reboot": {
605 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500606 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500607 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500608 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500609 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500610 "host": "^Running$",
611 "os_ping": "^1$",
612 "os_login": "^1$",
613 "os_run_cmd": "^1$"
614 },
615 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500616 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500617 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500618 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500619 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500620 "host": "^Running$",
621 "os_ping": "^1$",
622 "os_login": "^1$",
623 "os_run_cmd": "^1$"
624 },
625 "bmc_reboot": 0,
626 "method_type": "keyword",
627 "method": "utils.Initiate OS Host Reboot",
628 "lib_file_path": "utils.robot"
Michael Walshda2d43c2017-02-20 16:04:59 -0600629 }
630}