blob: 2934e294bd5c040e22edd0af05f32b5a28049c89 [file] [log] [blame]
George Keishingabb492d2024-07-24 21:59:22 +05301{
2 "Redfish Power On": {
3 "start": {
4 "redfish": "^1$",
5 "chassis": "^Off$",
6 "boot_progress": "^None$",
7 "host": "^Disabled$"
8 },
9 "end": {
10 "redfish": "^1$",
11 "chassis": "^On$",
12 "boot_progress": "^OSRunning$",
13 "host": "^Enabled$",
14 "os_ping": "^1$",
15 "os_login": "^1$",
16 "os_run_cmd": "^1$"
17 },
18 "bmc_reboot": 0,
19 "method_type": "keyword",
20 "method": "Redfish Power Operation On",
21 "lib_file_path": "bmc_redfish_utils.robot"
22 },
23 "IPMI Power On": {
24 "start": {
25 "redfish": "^1$",
26 "chassis": "^Off$",
27 "boot_progress": "^None$",
28 "host": "^Disabled$"
29 },
30 "end": {
31 "redfish": "^1$",
32 "chassis": "^On$",
33 "boot_progress": "^OSRunning$",
34 "host": "^Enabled$",
35 "os_ping": "^1$",
36 "os_login": "^1$",
37 "os_run_cmd": "^1$"
38 },
39 "bmc_reboot": 0,
40 "method_type": "keyword",
41 "method": "Run External IPMI Standard Command power on -N 10 -R 1",
42 "lib_file_path": "ipmi_client.robot"
43 },
44 "Istep Power On": {
45 "start": {
46 "redfish": "^1$",
47 "chassis": "^Off$",
48 "boot_progress": "^None$",
49 "host": "^Disabled$"
50 },
51 "end": {
52 "redfish": "^1$",
53 "chassis": "^On$",
54 "boot_progress": "^OSRunning$",
55 "host": "^Enabled$",
56 "os_ping": "^1$",
57 "os_login": "^1$",
58 "os_run_cmd": "^1$"
59 },
60 "bmc_reboot": 0,
61 "method_type": "keyword",
62 "method": "BMC Execute Command '/usr/bin/istep' fork=${1}"
63 },
64 "Redfish Power Off": {
65 "start": {
66 "redfish": "^1$",
67 "chassis": "^On$"
68 },
69 "end": {
70 "redfish": "^1$",
71 "chassis": "^Off$",
72 "boot_progress": "^None$",
73 "host": "^Disabled$",
74 "os_ping": "^0$",
75 "os_login": "^0$",
76 "os_run_cmd": "^0$"
77 },
78 "bmc_reboot": 0,
79 "method_type": "keyword",
80 "method": "Redfish Power Operation GracefulShutdown",
81 "lib_file_path": "bmc_redfish_utils.robot"
82 },
83 "Redfish Hard Power Off": {
84 "start": {
85 "redfish": "^1$",
86 "chassis": "^On$"
87 },
88 "end": {
89 "redfish": "^1$",
90 "chassis": "^Off$",
91 "boot_progress": "^None$",
92 "host": "^Disabled$",
93 "os_ping": "^0$",
94 "os_login": "^0$",
95 "os_run_cmd": "^0$"
96 },
97 "bmc_reboot": 0,
98 "method_type": "keyword",
99 "method": "Redfish Power Operation ForceOff",
100 "lib_file_path": "bmc_redfish_utils.robot"
101 },
102 "IPMI Power Off": {
103 "start": {
104 "redfish": "^1$",
105 "chassis": "^On$"
106 },
107 "end": {
108 "redfish": "^1$",
109 "chassis": "^Off$",
110 "boot_progress": "^None$",
111 "host": "^Disabled$",
112 "os_ping": "^0$",
113 "os_login": "^0$",
114 "os_run_cmd": "^0$"
115 },
116 "bmc_reboot": 0,
117 "method_type": "keyword",
118 "method": "Run External IPMI Standard Command power off -N 10 -R 1",
119 "lib_file_path": "ipmi_client.robot"
120 },
121 "IPMI Power Soft": {
122 "start": {
123 "redfish": "^1$",
124 "chassis": "^On$"
125 },
126 "end": {
127 "redfish": "^1$",
128 "chassis": "^Off$",
129 "boot_progress": "^None$",
130 "host": "^Disabled$",
131 "os_ping": "^0$",
132 "os_login": "^0$",
133 "os_run_cmd": "^0$"
134 },
135 "bmc_reboot": 0,
136 "method_type": "keyword",
137 "method": "Run External IPMI Standard Command power soft -N 10 -R 1",
138 "lib_file_path": "ipmi_client.robot"
139 },
140 "Host Power Off": {
141 "start": {
142 "redfish": "^1$",
143 "chassis": "^On$",
144 "boot_progress": "^OSRunning$",
145 "host": "^Enabled$",
146 "os_ping": "^1$",
147 "os_login": "^1$",
148 "os_run_cmd": "^1$"
149 },
150 "end": {
151 "redfish": "^1$",
152 "chassis": "^Off$",
153 "boot_progress": "^None$",
154 "host": "^Disabled$",
155 "os_ping": "^0$",
156 "os_login": "^0$",
157 "os_run_cmd": "^0$"
158 },
159 "bmc_reboot": 0,
160 "method_type": "keyword",
161 "method": "utils.Initiate OS Host Power Off",
162 "lib_file_path": "utils.robot"
163 },
164
165 "APOR": {
166 "start": {
167 "redfish": "^1$",
168 "chassis": "^On$",
169 "boot_progress": "^OSRunning$",
170 "host": "^Enabled$",
171 "os_ping": "^1$",
172 "os_login": "^1$",
173 "os_run_cmd": "^1$"
174 },
175 "end": {
176 "redfish": "^1$",
177 "chassis": "^On$",
178 "boot_progress": "^OSRunning$",
179 "host": "^Enabled$",
180 "os_ping": "^1$",
181 "os_login": "^1$",
182 "os_run_cmd": "^1$"
183 },
184 "bmc_reboot": 1,
185 "method_type": "keyword",
186 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
187 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
188 },
189 "OBMC Reboot (run)": {
190 "start": {
191 "redfish": "^1$",
192 "chassis": "^On$",
193 "boot_progress": "^OSRunning$",
194 "host": "^Enabled$",
195 "os_ping": "^1$",
196 "os_login": "^1$",
197 "os_run_cmd": "^1$"
198 },
199 "end": {
200 "redfish": "^1$",
201 "bmc": "^Enabled$",
202 "chassis": "^On$",
203 "boot_progress": "^OSRunning$",
204 "host": "^Enabled$",
205 "os_ping": "^1$",
206 "os_login": "^1$",
207 "os_run_cmd": "^1$"
208 },
209 "bmc_reboot": 1,
210 "method_type": "keyword",
211 "method": "BMC Execute Command /sbin/reboot fork=${1}"
212 },
213 "Redfish OBMC Reboot (run)": {
214 "start": {
215 "redfish": "^1$",
216 "chassis": "^On$",
217 "boot_progress": "^OSRunning$",
218 "host": "^Enabled$",
219 "os_ping": "^1$",
220 "os_login": "^1$",
221 "os_run_cmd": "^1$"
222 },
223 "end": {
224 "redfish": "^1$",
225 "bmc": "^Enabled$",
226 "chassis": "^On$",
227 "boot_progress": "^OSRunning$",
228 "host": "^Enabled$",
229 "os_ping": "^1$",
230 "os_login": "^1$",
231 "os_run_cmd": "^1$"
232 },
233 "bmc_reboot": 1,
234 "method_type": "keyword",
235 "method": "Redfish BMC Reset Operation",
236 "lib_file_path": "bmc_redfish_utils.robot"
237 },
238 "OBMC Reboot (off)": {
239 "start": {
240 "redfish": "^1$",
241 "chassis": "^Off$"
242 },
243 "end": {
244 "redfish": "^1$",
245 "bmc": "^Enabled$",
246 "chassis": "^Off$",
247 "boot_progress": "^None$",
248 "host": "^Disabled$"
249 },
250 "bmc_reboot": 1,
251 "method_type": "keyword",
252 "method": "BMC Execute Command /sbin/reboot fork=${1}"
253 },
254 "Redfish OBMC Reboot (off)": {
255 "start": {
256 "redfish": "^1$",
257 "chassis": "^Off$"
258 },
259 "end": {
260 "redfish": "^1$",
261 "bmc": "^Enabled$",
262 "chassis": "^Off$",
263 "boot_progress": "^None$",
264 "host": "^Disabled$"
265 },
266 "bmc_reboot": 1,
267 "method_type": "keyword",
268 "method": "Redfish BMC Reset Operation",
269 "lib_file_path": "bmc_redfish_utils.robot"
270 },
271 "PDU AC Cycle (run)": {
272 "start": {
273 "redfish": "^1$",
274 "chassis": "^On$",
275 "boot_progress": "^OSRunning$",
276 "host": "^Enabled$",
277 "os_ping": "^1$",
278 "os_login": "^1$",
279 "os_run_cmd": "^1$"
280 },
281 "end": {
282 "redfish": "^1$",
283 "chassis": "^On$",
284 "boot_progress": "^OSRunning$",
285 "host": "^Enabled$",
286 "os_ping": "^1$",
287 "os_login": "^1$",
288 "os_run_cmd": "^1$"
289 },
290 "bmc_reboot": 1,
291 "method_type": "keyword",
292 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
293 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
294 },
295 "PDU AC Cycle (off)": {
296 "start": {
297 "redfish": "^1$",
298 "chassis": "^Off$"
299 },
300 "end": {
301 "redfish": "^1$",
302 "chassis": "^Off$",
303 "boot_progress": "^None$",
304 "host": "^Disabled$"
305 },
306 "bmc_reboot": 1,
307 "method_type": "keyword",
308 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle",
309 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
310 },
311 "IPMI MC Reset Warm (run)": {
312 "start": {
313 "redfish": "^1$",
314 "chassis": "^On$",
315 "boot_progress": "^OSRunning$",
316 "host": "^Enabled$",
317 "os_ping": "^1$",
318 "os_login": "^1$",
319 "os_run_cmd": "^1$"
320 },
321 "end": {
322 "redfish": "^1$",
323 "bmc": "^Enabled$",
324 "chassis": "^On$",
325 "boot_progress": "^OSRunning$",
326 "host": "^Enabled$",
327 "os_ping": "^1$",
328 "os_login": "^1$",
329 "os_run_cmd": "^1$"
330 },
331 "bmc_reboot": 1,
332 "method_type": "keyword",
333 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
334 "lib_file_path": "ipmi_client.robot:gen_print.py"
335 },
336 "IPMI MC Reset Warm (off)": {
337 "start": {
338 "redfish": "^1$",
339 "chassis": "^Off$"
340 },
341 "end": {
342 "redfish": "^1$",
343 "bmc": "^Enabled$",
344 "chassis": "^Off$",
345 "boot_progress": "^None$",
346 "host": "^Disabled$"
347 },
348 "bmc_reboot": 1,
349 "method_type": "keyword",
350 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
351 "lib_file_path": "ipmi_client.robot:gen_print.py"
352 },
353 "IPMI MC Reset Cold (run)": {
354 "start": {
355 "redfish": "^1$",
356 "chassis": "^On$",
357 "boot_progress": "^OSRunning$",
358 "host": "^Enabled$",
359 "os_ping": "^1$",
360 "os_login": "^1$",
361 "os_run_cmd": "^1$"
362 },
363 "end": {
364 "redfish": "^1$",
365 "bmc": "^Enabled$",
366 "chassis": "^On$",
367 "boot_progress": "^OSRunning$",
368 "host": "^Enabled$",
369 "os_ping": "^1$",
370 "os_login": "^1$",
371 "os_run_cmd": "^1$"
372 },
373 "bmc_reboot": 1,
374 "method_type": "keyword",
375 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
376 "lib_file_path": "ipmi_client.robot:gen_print.py"
377 },
378 "IPMI MC Reset Cold (off)": {
379 "start": {
380 "redfish": "^1$",
381 "chassis": "^Off$"
382 },
383 "end": {
384 "redfish": "^1$",
385 "bmc": "^Enabled$",
386 "chassis": "^Off$",
387 "boot_progress": "^None$",
388 "host": "^Disabled$"
389 },
390 "bmc_reboot": 1,
391 "method_type": "keyword",
392 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
393 "lib_file_path": "ipmi_client.robot:gen_print.py"
394 },
395 "IPMI Std MC Reset Warm (run)": {
396 "start": {
397 "redfish": "^1$",
398 "chassis": "^On$",
399 "boot_progress": "^OSRunning$",
400 "host": "^Enabled$",
401 "os_ping": "^1$",
402 "os_login": "^1$",
403 "os_run_cmd": "^1$"
404 },
405 "end": {
406 "redfish": "^1$",
407 "chassis": "^On$",
408 "boot_progress": "^OSRunning$",
409 "host": "^Enabled$",
410 "os_ping": "^1$",
411 "os_login": "^1$",
412 "os_run_cmd": "^1$"
413 },
414 "bmc_reboot": 1,
415 "method_type": "keyword",
416 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
417 "lib_file_path": "ipmi_client.robot:gen_print.py"
418 },
419 "IPMI Std MC Reset Warm (off)": {
420 "start": {
421 "redfish": "^1$",
422 "chassis": "^Off$"
423 },
424 "end": {
425 "redfish": "^1$",
426 "chassis": "^Off$",
427 "boot_progress": "^None$",
428 "host": "^Disabled$"
429 },
430 "bmc_reboot": 1,
431 "method_type": "keyword",
432 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn",
433 "lib_file_path": "ipmi_client.robot:gen_print.py"
434 },
435 "IPMI Std MC Reset Cold (run)": {
436 "start": {
437 "redfish": "^1$",
438 "chassis": "^On$",
439 "boot_progress": "^OSRunning$",
440 "host": "^Enabled$",
441 "os_ping": "^1$",
442 "os_login": "^1$",
443 "os_run_cmd": "^1$"
444 },
445 "end": {
446 "redfish": "^1$",
447 "chassis": "^On$",
448 "boot_progress": "^OSRunning$",
449 "host": "^Enabled$",
450 "os_ping": "^1$",
451 "os_login": "^1$",
452 "os_run_cmd": "^1$"
453 },
454 "bmc_reboot": 1,
455 "method_type": "keyword",
456 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
457 "lib_file_path": "ipmi_client.robot:gen_print.py"
458 },
459 "IPMI Std MC Reset Cold (off)": {
460 "start": {
461 "redfish": "^1$",
462 "chassis": "^Off$"
463 },
464 "end": {
465 "redfish": "^1$",
466 "chassis": "^Off$",
467 "boot_progress": "^None$",
468 "host": "^Disabled$"
469 },
470 "bmc_reboot": 1,
471 "method_type": "keyword",
472 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn",
473 "lib_file_path": "ipmi_client.robot:gen_print.py"
474 },
475 "IPMI Power Cycle": {
476 "start": {
477 "redfish": "^1$",
478 "chassis": "^On$",
479 "boot_progress": "^OSRunning$",
480 "host": "^Enabled$",
481 "os_ping": "^1$",
482 "os_login": "^1$",
483 "os_run_cmd": "^1$"
484 },
485 "end": {
486 "redfish": "^1$",
487 "chassis": "^On$",
488 "boot_progress": "^OSRunning$",
489 "host": "^Enabled$",
490 "os_ping": "^1$",
491 "os_login": "^1$",
492 "os_run_cmd": "^1$"
493 },
494 "bmc_reboot": 0,
495 "method_type": "keyword",
496 "method": "Run External IPMI Standard Command power cycle -N 10 -R 1",
497 "lib_file_path": "ipmi_client.robot"
498 },
499 "IPMI Power Reset": {
500 "start": {
501 "redfish": "^1$",
502 "chassis": "^On$",
503 "boot_progress": "^OSRunning$",
504 "host": "^Enabled$",
505 "os_ping": "^1$",
506 "os_login": "^1$",
507 "os_run_cmd": "^1$"
508 },
509 "end": {
510 "redfish": "^1$",
511 "chassis": "^On$",
512 "boot_progress": "^OSRunning$",
513 "host": "^Enabled$",
514 "os_ping": "^1$",
515 "os_login": "^1$",
516 "os_run_cmd": "^1$"
517 },
518 "bmc_reboot": 0,
519 "method_type": "keyword",
520 "method": "Run External IPMI Standard Command power reset -N 10 -R 1",
521 "lib_file_path": "ipmi_client.robot"
522 },
523 "Auto Reboot": {
524 "start": {
525 "redfish": "^1$",
526 "chassis": "^Off$",
527 "boot_progress": "^None$",
528 "host": "^Disabled$",
529 "os_ping": "^0$",
530 "os_login": "^0$",
531 "os_run_cmd": "^0$"
532 },
533 "end": {
534 "redfish": "^1$",
535 "chassis": "^On$",
536 "boot_progress": "^OSRunning$",
537 "host": "^Enabled$",
538 "os_ping": "^1$",
539 "os_login": "^1$",
540 "os_run_cmd": "^1$"
541 },
542 "bmc_reboot": 0,
543 "method_type": "keyword",
544 "method": "utils.Redfish Initiate Auto Reboot 1000",
545 "lib_file_path": "utils.robot"
546 },
547 "Host initd Reset": {
548 "start": {
549 "redfish": "^1$",
550 "chassis": "^On$",
551 "boot_progress": "^OSRunning$",
552 "host": "^Enabled$",
553 "os_ping": "^1$",
554 "os_login": "^1$",
555 "os_run_cmd": "^1$"
556 },
557 "end": {
558 "redfish": "^1$",
559 "bmc": "^Enabled$",
560 "chassis": "^On$",
561 "boot_progress": "^OSRunning$",
562 "host": "^Enabled$",
563 "os_ping": "^1$",
564 "os_login": "^1$",
565 "os_run_cmd": "^1$"
566 },
567 "bmc_reboot": 1,
568 "method_type": "keyword",
569 "method": "utils.Stop PLDM Service And Wait",
570 "lib_file_path": "utils.robot"
571 },
572 "Host Reboot": {
573 "start": {
574 "redfish": "^1$",
575 "chassis": "^On$",
576 "boot_progress": "^OSRunning$",
577 "host": "^Enabled$",
578 "os_ping": "^1$",
579 "os_login": "^1$",
580 "os_run_cmd": "^1$"
581 },
582 "end": {
583 "redfish": "^1$",
584 "chassis": "^On$",
585 "boot_progress": "^OSRunning$",
586 "host": "^Enabled$",
587 "os_ping": "^1$",
588 "os_login": "^1$",
589 "os_run_cmd": "^1$"
590 },
591 "bmc_reboot": 0,
592 "method_type": "keyword",
593 "method": "utils.Initiate OS Host Reboot",
594 "lib_file_path": "utils.robot"
595 },
596 "RF SYS GracefulRestart": {
597 "start": {
598 "redfish": "^1$",
599 "chassis": "^On$",
600 "boot_progress": "^OSRunning$",
601 "host": "^Enabled$",
602 "os_ping": "^1$",
603 "os_login": "^1$",
604 "os_run_cmd": "^1$"
605 },
606 "end": {
607 "redfish": "^1$",
608 "chassis": "^On$",
609 "boot_progress": "^OSRunning$",
610 "host": "^Enabled$",
611 "os_ping": "^1$",
612 "os_login": "^1$",
613 "os_run_cmd": "^1$"
614 },
615 "bmc_reboot": 0,
616 "method_type": "keyword",
617 "method": "Redfish Power Operation GracefulRestart",
618 "lib_file_path": "bmc_redfish_utils.robot"
619 },
620 "RF SYS ForceRestart": {
621 "start": {
622 "redfish": "^1$",
623 "chassis": "^On$",
624 "boot_progress": "^OSRunning$",
625 "host": "^Enabled$",
626 "os_ping": "^1$",
627 "os_login": "^1$",
628 "os_run_cmd": "^1$"
629 },
630 "end": {
631 "redfish": "^1$",
632 "chassis": "^On$",
633 "boot_progress": "^OSRunning$",
634 "host": "^Enabled$",
635 "os_ping": "^1$",
636 "os_login": "^1$",
637 "os_run_cmd": "^1$"
638 },
639 "bmc_reboot": 0,
640 "method_type": "keyword",
641 "method": "Redfish Power Operation ForceRestart",
642 "lib_file_path": "bmc_redfish_utils.robot"
643 },
644 "Tool Initd MP Reboot": {
645 "start": {
646 "redfish": "^1$",
647 "chassis": "^On$",
648 "boot_progress": "^OSRunning$",
649 "host": "^Enabled$",
650 "os_ping": "^1$",
651 "os_login": "^1$",
652 "os_run_cmd": "^1$"
653 },
654 "end": {
655 "redfish": "^1$",
656 "chassis": "^On$",
657 "boot_progress": "^OSRunning$",
658 "host": "^Enabled$",
659 "os_ping": "^1$",
660 "os_login": "^1$",
661 "os_run_cmd": "^1$"
662 },
663 "bmc_reboot": 0,
664 "method_type": "keyword",
665 "method": "BMC Execute Command systemctl start obmc-host-crash@0.target"
666 },
667 "OPAL TI": {
668 "start": {
669 "redfish": "^1$",
670 "chassis": "^On$",
671 "boot_progress": "^OSRunning$",
672 "host": "^Enabled$",
673 "os_ping": "^1$",
674 "os_login": "^1$",
675 "os_run_cmd": "^1$"
676 },
677 "end": {
678 "redfish": "^1$",
679 "chassis": "^On$",
680 "boot_progress": "^OSRunning$",
681 "host": "^Enabled$",
682 "os_ping": "^1$",
683 "os_login": "^1$",
684 "os_run_cmd": "^1$"
685 },
686 "bmc_reboot": 0,
687 "method_type": "keyword",
688 "method": "Inject OPAL TI",
689 "lib_file_path": "open_power_utils.robot"
690 }
691}