blob: a7ed6121d5854a6c0bd3e95ed48965a3e132ec81 [file] [log] [blame]
Michael Walsh800b3922017-05-05 15:30:30 -05001*** Settings ***
2Documentation This module provides one wrapper keyword for each kind of boot
3... test supported by obmc_boot_test.py.
4
5Resource ../extended/obmc_boot_test_resource.robot
6
7*** Keywords ***
8###############################################################################
9REST Power On
10 [Documentation] Do "REST Power On" boot test.
Michael Walshff340002017-08-29 11:18:27 -050011 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -050012
Michael Walshff340002017-08-29 11:18:27 -050013 # Description of argument(s):
14 # stack_mode If stack_mode is set to "skip", each test
15 # specified in the boot_stack is only
16 # performed if the machine is not already in
17 # the state that would normally result from
18 # running the given boot test. Otherwise,
19 # the test is skipped. If stack_mode is set
20 # to "normal", all tests from the boot_stack
21 # are performed. "skip" mode is useful when
22 # you simply want the machine in a desired
23 # state. The default value is the global
24 # value of "${stack_mode}"
25 # quiet If this parameter is set to ${1}, this
26 # keyword will print only essential
27 # information. The default value is the
28 # global value of "${quiet}"
29
30 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=REST Power On
31 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
32 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -050033
34###############################################################################
35
36
37###############################################################################
38IPMI Power On
39 [Documentation] Do "IPMI Power On" boot test.
Michael Walshff340002017-08-29 11:18:27 -050040 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -050041
Michael Walshff340002017-08-29 11:18:27 -050042 # Description of argument(s):
43 # stack_mode If stack_mode is set to "skip", each test
44 # specified in the boot_stack is only
45 # performed if the machine is not already in
46 # the state that would normally result from
47 # running the given boot test. Otherwise,
48 # the test is skipped. If stack_mode is set
49 # to "normal", all tests from the boot_stack
50 # are performed. "skip" mode is useful when
51 # you simply want the machine in a desired
52 # state. The default value is the global
53 # value of "${stack_mode}"
54 # quiet If this parameter is set to ${1}, this
55 # keyword will print only essential
56 # information. The default value is the
57 # global value of "${quiet}"
58
59 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power On
60 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
61 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -050062
63###############################################################################
64
65
66###############################################################################
67REST Power Off
68 [Documentation] Do "REST Power Off" boot test.
Michael Walshff340002017-08-29 11:18:27 -050069 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -050070
Michael Walshff340002017-08-29 11:18:27 -050071 # Description of argument(s):
72 # stack_mode If stack_mode is set to "skip", each test
73 # specified in the boot_stack is only
74 # performed if the machine is not already in
75 # the state that would normally result from
76 # running the given boot test. Otherwise,
77 # the test is skipped. If stack_mode is set
78 # to "normal", all tests from the boot_stack
79 # are performed. "skip" mode is useful when
80 # you simply want the machine in a desired
81 # state. The default value is the global
82 # value of "${stack_mode}"
83 # quiet If this parameter is set to ${1}, this
84 # keyword will print only essential
85 # information. The default value is the
86 # global value of "${quiet}"
87
88 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=REST Power Off
89 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
90 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -050091
92###############################################################################
93
94
95###############################################################################
Michael Walsh245db7c2017-09-05 15:45:03 -050096REST Hard Power Off
97 [Documentation] Do "REST Hard Power Off" boot test.
98 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
99
100 # Description of argument(s):
101 # stack_mode If stack_mode is set to "skip", each test
102 # specified in the boot_stack is only
103 # performed if the machine is not already in
104 # the state that would normally result from
105 # running the given boot test. Otherwise,
106 # the test is skipped. If stack_mode is set
107 # to "normal", all tests from the boot_stack
108 # are performed. "skip" mode is useful when
109 # you simply want the machine in a desired
110 # state. The default value is the global
111 # value of "${stack_mode}"
112 # quiet If this parameter is set to ${1}, this
113 # keyword will print only essential
114 # information. The default value is the
115 # global value of "${quiet}"
116
117 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=REST Hard Power Off
118 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
119 Run Key U ${cmd_buf}
120
121###############################################################################
122
123
124###############################################################################
Michael Walsh800b3922017-05-05 15:30:30 -0500125IPMI Power Off
126 [Documentation] Do "IPMI Power Off" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500127 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500128
Michael Walshff340002017-08-29 11:18:27 -0500129 # Description of argument(s):
130 # stack_mode If stack_mode is set to "skip", each test
131 # specified in the boot_stack is only
132 # performed if the machine is not already in
133 # the state that would normally result from
134 # running the given boot test. Otherwise,
135 # the test is skipped. If stack_mode is set
136 # to "normal", all tests from the boot_stack
137 # are performed. "skip" mode is useful when
138 # you simply want the machine in a desired
139 # state. The default value is the global
140 # value of "${stack_mode}"
141 # quiet If this parameter is set to ${1}, this
142 # keyword will print only essential
143 # information. The default value is the
144 # global value of "${quiet}"
145
146 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power Off
147 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
148 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500149
150###############################################################################
151
152
153###############################################################################
154IPMI Power Soft
155 [Documentation] Do "IPMI Power Soft" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500156 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500157
Michael Walshff340002017-08-29 11:18:27 -0500158 # Description of argument(s):
159 # stack_mode If stack_mode is set to "skip", each test
160 # specified in the boot_stack is only
161 # performed if the machine is not already in
162 # the state that would normally result from
163 # running the given boot test. Otherwise,
164 # the test is skipped. If stack_mode is set
165 # to "normal", all tests from the boot_stack
166 # are performed. "skip" mode is useful when
167 # you simply want the machine in a desired
168 # state. The default value is the global
169 # value of "${stack_mode}"
170 # quiet If this parameter is set to ${1}, this
171 # keyword will print only essential
172 # information. The default value is the
173 # global value of "${quiet}"
174
175 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power Soft
176 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
177 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500178
179###############################################################################
180
181
182###############################################################################
183Host Power Off
184 [Documentation] Do "Host Power Off" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500185 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500186
Michael Walshff340002017-08-29 11:18:27 -0500187 # Description of argument(s):
188 # stack_mode If stack_mode is set to "skip", each test
189 # specified in the boot_stack is only
190 # performed if the machine is not already in
191 # the state that would normally result from
192 # running the given boot test. Otherwise,
193 # the test is skipped. If stack_mode is set
194 # to "normal", all tests from the boot_stack
195 # are performed. "skip" mode is useful when
196 # you simply want the machine in a desired
197 # state. The default value is the global
198 # value of "${stack_mode}"
199 # quiet If this parameter is set to ${1}, this
200 # keyword will print only essential
201 # information. The default value is the
202 # global value of "${quiet}"
203
204 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=Host Power Off
205 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
206 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500207
208###############################################################################
209
210
211###############################################################################
212APOR
213 [Documentation] Do "APOR" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500214 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500215
Michael Walshff340002017-08-29 11:18:27 -0500216 # Description of argument(s):
217 # stack_mode If stack_mode is set to "skip", each test
218 # specified in the boot_stack is only
219 # performed if the machine is not already in
220 # the state that would normally result from
221 # running the given boot test. Otherwise,
222 # the test is skipped. If stack_mode is set
223 # to "normal", all tests from the boot_stack
224 # are performed. "skip" mode is useful when
225 # you simply want the machine in a desired
226 # state. The default value is the global
227 # value of "${stack_mode}"
228 # quiet If this parameter is set to ${1}, this
229 # keyword will print only essential
230 # information. The default value is the
231 # global value of "${quiet}"
232
233 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=APOR
234 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
235 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500236
237###############################################################################
238
239
240###############################################################################
241OBMC Reboot (run)
242 [Documentation] Do "OBMC Reboot (run)" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500243 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500244
Michael Walshff340002017-08-29 11:18:27 -0500245 # Description of argument(s):
246 # stack_mode If stack_mode is set to "skip", each test
247 # specified in the boot_stack is only
248 # performed if the machine is not already in
249 # the state that would normally result from
250 # running the given boot test. Otherwise,
251 # the test is skipped. If stack_mode is set
252 # to "normal", all tests from the boot_stack
253 # are performed. "skip" mode is useful when
254 # you simply want the machine in a desired
255 # state. The default value is the global
256 # value of "${stack_mode}"
257 # quiet If this parameter is set to ${1}, this
258 # keyword will print only essential
259 # information. The default value is the
260 # global value of "${quiet}"
261
262 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=OBMC Reboot (run)
263 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
264 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500265
266###############################################################################
267
268
269###############################################################################
270OBMC Reboot (off)
271 [Documentation] Do "OBMC Reboot (off)" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500272 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500273
Michael Walshff340002017-08-29 11:18:27 -0500274 # Description of argument(s):
275 # stack_mode If stack_mode is set to "skip", each test
276 # specified in the boot_stack is only
277 # performed if the machine is not already in
278 # the state that would normally result from
279 # running the given boot test. Otherwise,
280 # the test is skipped. If stack_mode is set
281 # to "normal", all tests from the boot_stack
282 # are performed. "skip" mode is useful when
283 # you simply want the machine in a desired
284 # state. The default value is the global
285 # value of "${stack_mode}"
286 # quiet If this parameter is set to ${1}, this
287 # keyword will print only essential
288 # information. The default value is the
289 # global value of "${quiet}"
290
291 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=OBMC Reboot (off)
292 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
293 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500294
295###############################################################################
296
297
298###############################################################################
299PDU AC Cycle (run)
300 [Documentation] Do "PDU AC Cycle (run)" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500301 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500302
Michael Walshff340002017-08-29 11:18:27 -0500303 # Description of argument(s):
304 # stack_mode If stack_mode is set to "skip", each test
305 # specified in the boot_stack is only
306 # performed if the machine is not already in
307 # the state that would normally result from
308 # running the given boot test. Otherwise,
309 # the test is skipped. If stack_mode is set
310 # to "normal", all tests from the boot_stack
311 # are performed. "skip" mode is useful when
312 # you simply want the machine in a desired
313 # state. The default value is the global
314 # value of "${stack_mode}"
315 # quiet If this parameter is set to ${1}, this
316 # keyword will print only essential
317 # information. The default value is the
318 # global value of "${quiet}"
319
320 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=PDU AC Cycle (run)
321 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
322 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500323
324###############################################################################
325
326
327###############################################################################
328PDU AC Cycle (off)
329 [Documentation] Do "PDU AC Cycle (off)" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500330 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500331
Michael Walshff340002017-08-29 11:18:27 -0500332 # Description of argument(s):
333 # stack_mode If stack_mode is set to "skip", each test
334 # specified in the boot_stack is only
335 # performed if the machine is not already in
336 # the state that would normally result from
337 # running the given boot test. Otherwise,
338 # the test is skipped. If stack_mode is set
339 # to "normal", all tests from the boot_stack
340 # are performed. "skip" mode is useful when
341 # you simply want the machine in a desired
342 # state. The default value is the global
343 # value of "${stack_mode}"
344 # quiet If this parameter is set to ${1}, this
345 # keyword will print only essential
346 # information. The default value is the
347 # global value of "${quiet}"
348
349 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=PDU AC Cycle (off)
350 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
351 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500352
353###############################################################################
354
355
356###############################################################################
357IPMI MC Reset Warm (run)
358 [Documentation] Do "IPMI MC Reset Warm (run)" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500359 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500360
Michael Walshff340002017-08-29 11:18:27 -0500361 # Description of argument(s):
362 # stack_mode If stack_mode is set to "skip", each test
363 # specified in the boot_stack is only
364 # performed if the machine is not already in
365 # the state that would normally result from
366 # running the given boot test. Otherwise,
367 # the test is skipped. If stack_mode is set
368 # to "normal", all tests from the boot_stack
369 # are performed. "skip" mode is useful when
370 # you simply want the machine in a desired
371 # state. The default value is the global
372 # value of "${stack_mode}"
373 # quiet If this parameter is set to ${1}, this
374 # keyword will print only essential
375 # information. The default value is the
376 # global value of "${quiet}"
377
378 ${cmd_buf} Catenate OBMC Boot Test
379 ... \ loc_boot_stack=IPMI MC Reset Warm (run)
380 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
381 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500382
383###############################################################################
384
385
386###############################################################################
387IPMI MC Reset Warm (off)
388 [Documentation] Do "IPMI MC Reset Warm (off)" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500389 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500390
Michael Walshff340002017-08-29 11:18:27 -0500391 # Description of argument(s):
392 # stack_mode If stack_mode is set to "skip", each test
393 # specified in the boot_stack is only
394 # performed if the machine is not already in
395 # the state that would normally result from
396 # running the given boot test. Otherwise,
397 # the test is skipped. If stack_mode is set
398 # to "normal", all tests from the boot_stack
399 # are performed. "skip" mode is useful when
400 # you simply want the machine in a desired
401 # state. The default value is the global
402 # value of "${stack_mode}"
403 # quiet If this parameter is set to ${1}, this
404 # keyword will print only essential
405 # information. The default value is the
406 # global value of "${quiet}"
407
408 ${cmd_buf} Catenate OBMC Boot Test
409 ... \ loc_boot_stack=IPMI MC Reset Warm (off)
410 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
411 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500412
413###############################################################################
414
415
416###############################################################################
417IPMI Power Cycle
418 [Documentation] Do "IPMI Power Cycle" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500419 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500420
Michael Walshff340002017-08-29 11:18:27 -0500421 # Description of argument(s):
422 # stack_mode If stack_mode is set to "skip", each test
423 # specified in the boot_stack is only
424 # performed if the machine is not already in
425 # the state that would normally result from
426 # running the given boot test. Otherwise,
427 # the test is skipped. If stack_mode is set
428 # to "normal", all tests from the boot_stack
429 # are performed. "skip" mode is useful when
430 # you simply want the machine in a desired
431 # state. The default value is the global
432 # value of "${stack_mode}"
433 # quiet If this parameter is set to ${1}, this
434 # keyword will print only essential
435 # information. The default value is the
436 # global value of "${quiet}"
437
438 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power Cycle
439 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
440 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500441
442###############################################################################
443
444
445###############################################################################
446IPMI Power Reset
447 [Documentation] Do "IPMI Power Reset" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500448 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500449
Michael Walshff340002017-08-29 11:18:27 -0500450 # Description of argument(s):
451 # stack_mode If stack_mode is set to "skip", each test
452 # specified in the boot_stack is only
453 # performed if the machine is not already in
454 # the state that would normally result from
455 # running the given boot test. Otherwise,
456 # the test is skipped. If stack_mode is set
457 # to "normal", all tests from the boot_stack
458 # are performed. "skip" mode is useful when
459 # you simply want the machine in a desired
460 # state. The default value is the global
461 # value of "${stack_mode}"
462 # quiet If this parameter is set to ${1}, this
463 # keyword will print only essential
464 # information. The default value is the
465 # global value of "${quiet}"
466
467 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power Reset
468 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
469 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500470
471###############################################################################
472
473
474###############################################################################
475Auto Reboot
476 [Documentation] Do "Auto Reboot" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500477 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500478
Michael Walshff340002017-08-29 11:18:27 -0500479 # Description of argument(s):
480 # stack_mode If stack_mode is set to "skip", each test
481 # specified in the boot_stack is only
482 # performed if the machine is not already in
483 # the state that would normally result from
484 # running the given boot test. Otherwise,
485 # the test is skipped. If stack_mode is set
486 # to "normal", all tests from the boot_stack
487 # are performed. "skip" mode is useful when
488 # you simply want the machine in a desired
489 # state. The default value is the global
490 # value of "${stack_mode}"
491 # quiet If this parameter is set to ${1}, this
492 # keyword will print only essential
493 # information. The default value is the
494 # global value of "${quiet}"
495
496 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=Auto Reboot
497 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
498 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500499
500###############################################################################
501
502
503###############################################################################
504Host Reboot
505 [Documentation] Do "Host Reboot" boot test.
Michael Walshff340002017-08-29 11:18:27 -0500506 [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
Michael Walsh800b3922017-05-05 15:30:30 -0500507
Michael Walshff340002017-08-29 11:18:27 -0500508 # Description of argument(s):
509 # stack_mode If stack_mode is set to "skip", each test
510 # specified in the boot_stack is only
511 # performed if the machine is not already in
512 # the state that would normally result from
513 # running the given boot test. Otherwise,
514 # the test is skipped. If stack_mode is set
515 # to "normal", all tests from the boot_stack
516 # are performed. "skip" mode is useful when
517 # you simply want the machine in a desired
518 # state. The default value is the global
519 # value of "${stack_mode}"
520 # quiet If this parameter is set to ${1}, this
521 # keyword will print only essential
522 # information. The default value is the
523 # global value of "${quiet}"
524
525 ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=Host Reboot
526 ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
527 Run Key U ${cmd_buf}
Michael Walsh800b3922017-05-05 15:30:30 -0500528
529###############################################################################
530
531
Michael Walshc28c2392017-09-07 14:17:43 -0500532# Additional boot test keywords.
533###############################################################################
534Smart Power Off
535 [Documentation] Do a smart power off.
536 [Arguments] ${quiet}=${QUIET}
537
538 # A 'Smart Power Off' consists of a 'REST Power Off' with recovery.
539 # Namely, if the 'REST Power Off' fails, a 'REST Hard Power Off' will
540 # be attempted.
541
542 # Description of argument(s):
543 # quiet If this parameter is set to ${1}, this
544 # keyword will print only essential
545 # information. The default value is the
546 # global value of "${quiet}"
547
548
549 # OBMC Boot Test will restore global quiet to initial global value.
550 # Unfortunately, that restore affects our local quiet so we must
551 # preserve it.
552 ${loc_quiet}= Set Variable ${quiet}
553 ${cmd_buf}= Catenate REST Power Off \ stack_mode=skip
554 ... \ \ quiet=${loc_quiet}
555 ${status} ${ret_values}= Run Key U ${cmd_buf} ignore=${1}
556 ... quiet=${loc_quiet}
557
558 Run Keyword If '${status}' == 'PASS' Return From Keyword
559
560 ${cmd_buf}= Catenate REST Hard Power Off \ stack_mode=skip
561 ... \ \ quiet=${loc_quiet}
562 Run Key U ${cmd_buf} quiet=${loc_quiet}
563
564###############################################################################