blob: 62ceb9116af22283a37630842f7aaa83f6e19130 [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",
49 "method": "Run External IPMI Standard Command power on",
50 "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 Walsh10e7eb32017-03-21 11:25:58 -0500115 "method": "Run External IPMI Standard Command power off",
116 "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",
136 "method": "Run External IPMI Standard Command power soft",
137 "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",
355 "method": "Run External IPMI Standard Command mc reset warm ; Printn",
356 "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",
374 "method": "Run External IPMI Standard Command mc reset warm ; Printn",
375 "lib_file_path": "ipmi_client.robot:gen_print.py"
376 },
377
378 # Host OS re-boot boot types:
379
380 # Initiate a power cycle using the IPMI interface (equivalent to off/on).
381 "IPMI Power Cycle": {
382 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500383 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500384 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500385 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500386 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500387 "host": "^Running$",
388 "os_ping": "^1$",
389 "os_login": "^1$",
390 "os_run_cmd": "^1$"
391 },
392 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500393 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500394 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500395 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500396 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500397 "host": "^Running$",
398 "os_ping": "^1$",
399 "os_login": "^1$",
400 "os_run_cmd": "^1$"
401 },
402 "bmc_reboot": 0,
403 "method_type": "keyword",
404 "method": "Run External IPMI Standard Command power cycle",
405 "lib_file_path": "ipmi_client.robot"
406 },
407 # Initiate a power reset using the IPMI interface (equivalent to off/on).
408 # Functionally equivalent to "IPMI Power Cycle".
409 "IPMI Power Reset": {
410 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500411 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500412 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500413 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500414 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500415 "host": "^Running$",
416 "os_ping": "^1$",
417 "os_login": "^1$",
418 "os_run_cmd": "^1$"
419 },
420 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500421 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500422 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500423 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500424 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500425 "host": "^Running$",
426 "os_ping": "^1$",
427 "os_login": "^1$",
428 "os_run_cmd": "^1$"
429 },
430 "bmc_reboot": 0,
431 "method_type": "keyword",
432 "method": "Run External IPMI Standard Command power reset",
433 "lib_file_path": "ipmi_client.robot"
434 },
Michael Walsh4aa82202017-03-02 14:45:49 -0600435 # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state.
436 "Auto Reboot": {
437 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500438 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600439 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500440 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500441 "operating_system": "^BootComplete$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600442 "host": "^Running$",
443 "os_ping": "^1$",
444 "os_login": "^1$",
445 "os_run_cmd": "^1$"
446 },
447 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500448 "rest": "^1$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600449 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500450 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500451 "operating_system": "^BootComplete$",
Michael Walsh4aa82202017-03-02 14:45:49 -0600452 "host": "^Running$",
453 "os_ping": "^1$",
454 "os_login": "^1$",
455 "os_run_cmd": "^1$"
456 },
457 "bmc_reboot": 0,
458 "method_type": "keyword",
459 "method": "utils.Initiate Auto Reboot",
460 "lib_file_path": "utils.robot"
Michael Walsh10e7eb32017-03-21 11:25:58 -0500461 },
462 # Run a "reboot" command on the OS_HOST.
463 "Host Reboot": {
464 "start": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500465 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500466 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500467 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500468 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500469 "host": "^Running$",
470 "os_ping": "^1$",
471 "os_login": "^1$",
472 "os_run_cmd": "^1$"
473 },
474 "end": {
Michael Walshffbc3d12017-03-31 09:32:00 -0500475 "rest": "^1$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500476 "chassis": "^On$",
Michael Walsh22b9fe62017-09-01 14:57:31 -0500477 "boot_progress": "^FW Progress, Starting OS|OSStart$",
Michael Walshc6e40b02017-09-29 15:27:33 -0500478 "operating_system": "^BootComplete$",
Michael Walsh10e7eb32017-03-21 11:25:58 -0500479 "host": "^Running$",
480 "os_ping": "^1$",
481 "os_login": "^1$",
482 "os_run_cmd": "^1$"
483 },
484 "bmc_reboot": 0,
485 "method_type": "keyword",
486 "method": "utils.Initiate OS Host Reboot",
487 "lib_file_path": "utils.robot"
Michael Walshda2d43c2017-02-20 16:04:59 -0600488 }
489}