1{
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": "^SystemHardwareInitializationComplete|OSBootStarted|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": "^SystemHardwareInitializationComplete|OSBootStarted|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
45    "Redfish Power Off": {
46        "start": {
47            "redfish": "^1$",
48            "chassis": "^On$"
49        },
50        "end": {
51            "redfish": "^1$",
52            "chassis": "^Off$",
53            "boot_progress": "^None$",
54            "host": "^Disabled$",
55            "os_ping": "^0$",
56            "os_login": "^0$",
57            "os_run_cmd": "^0$"
58        },
59        "bmc_reboot": 0,
60        "method_type": "keyword",
61        "method": "Redfish Power Operation  GracefulShutdown",
62        "lib_file_path": "bmc_redfish_utils.robot"
63    },
64    "Redfish Hard 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  ForceOff",
81        "lib_file_path": "bmc_redfish_utils.robot"
82    },
83    "IPMI 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": "Run External IPMI Standard Command  power off -N 10 -R 1",
100        "lib_file_path": "ipmi_client.robot"
101    },
102    "IPMI Power Soft": {
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 soft -N 10 -R 1",
119        "lib_file_path": "ipmi_client.robot"
120    },
121    "Host Power Off": {
122        "start": {
123            "redfish": "^1$",
124            "chassis": "^On$",
125            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
126            "host": "^Enabled$",
127            "os_ping": "^1$",
128            "os_login": "^1$",
129            "os_run_cmd": "^1$"
130        },
131        "end": {
132            "redfish": "^1$",
133            "chassis": "^Off$",
134            "boot_progress": "^None$",
135            "host": "^Disabled$",
136            "os_ping": "^0$",
137            "os_login": "^0$",
138            "os_run_cmd": "^0$"
139        },
140        "bmc_reboot": 0,
141        "method_type": "keyword",
142        "method": "utils.Initiate OS Host Power Off",
143        "lib_file_path": "utils.robot"
144    },
145
146    "APOR": {
147        "start": {
148            "redfish": "^1$",
149            "chassis": "^On$",
150            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
151            "host": "^Enabled$",
152            "os_ping": "^1$",
153            "os_login": "^1$",
154            "os_run_cmd": "^1$"
155        },
156        "end": {
157            "redfish": "^1$",
158            "chassis": "^On$",
159            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
160            "host": "^Enabled$",
161            "os_ping": "^1$",
162            "os_login": "^1$",
163            "os_run_cmd": "^1$"
164        },
165        "bmc_reboot": 1,
166        "method_type": "keyword",
167        "method": "Set Global Variable  ${PDU_TYPE}  pdu ; Set Global Variable  ${PDU_IP}  ${PDU_HOST} ; PDU Power Cycle",
168        "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
169    },
170    "OBMC Reboot (run)": {
171        "start": {
172            "redfish": "^1$",
173            "chassis": "^On$",
174            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
175            "host": "^Enabled$",
176            "os_ping": "^1$",
177            "os_login": "^1$",
178            "os_run_cmd": "^1$"
179        },
180        "end": {
181            "redfish": "^1$",
182            "chassis": "^On$",
183            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
184            "host": "^Enabled$",
185            "os_ping": "^1$",
186            "os_login": "^1$",
187            "os_run_cmd": "^1$"
188        },
189        "bmc_reboot": 1,
190        "method_type": "keyword",
191        "method": "BMC Execute Command  /sbin/reboot  fork=${1}"
192    },
193    "Redfish OBMC Reboot (run)": {
194        "start": {
195            "redfish": "^1$",
196            "chassis": "^On$",
197            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
198            "host": "^Enabled$",
199            "os_ping": "^1$",
200            "os_login": "^1$",
201            "os_run_cmd": "^1$"
202        },
203        "end": {
204            "redfish": "^1$",
205            "chassis": "^On$",
206            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
207            "host": "^Enabled$",
208            "os_ping": "^1$",
209            "os_login": "^1$",
210            "os_run_cmd": "^1$"
211        },
212        "bmc_reboot": 1,
213        "method_type": "keyword",
214        "method": "Redfish BMC Reset Operation",
215        "lib_file_path": "bmc_redfish_utils.robot"
216    },
217    "OBMC Reboot (off)": {
218        "start": {
219            "redfish": "^1$",
220            "chassis": "^Off$"
221        },
222        "end": {
223            "redfish": "^1$",
224            "chassis": "^Off$",
225            "boot_progress": "^None$",
226            "host": "^Disabled$"
227        },
228        "bmc_reboot": 1,
229        "method_type": "keyword",
230        "method": "BMC Execute Command  /sbin/reboot  fork=${1}"
231    },
232    "Redfish OBMC Reboot (off)": {
233        "start": {
234            "redfish": "^1$",
235            "chassis": "^Off$"
236        },
237        "end": {
238            "redfish": "^1$",
239            "chassis": "^Off$",
240            "boot_progress": "^None$",
241            "host": "^Disabled$"
242        },
243        "bmc_reboot": 1,
244        "method_type": "keyword",
245        "method": "Redfish BMC Reset Operation",
246        "lib_file_path": "bmc_redfish_utils.robot"
247    },
248    "PDU AC Cycle (run)": {
249        "start": {
250            "redfish": "^1$",
251            "chassis": "^On$",
252            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
253            "host": "^Enabled$",
254            "os_ping": "^1$",
255            "os_login": "^1$",
256            "os_run_cmd": "^1$"
257        },
258        "end": {
259            "redfish": "^1$",
260            "chassis": "^On$",
261            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
262            "host": "^Enabled$",
263            "os_ping": "^1$",
264            "os_login": "^1$",
265            "os_run_cmd": "^1$"
266        },
267        "bmc_reboot": 1,
268        "method_type": "keyword",
269        "method": "Set Global Variable  ${PDU_TYPE}  pdu ; Set Global Variable  ${PDU_IP}  ${PDU_HOST} ; PDU Power Cycle",
270        "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
271    },
272    "PDU AC Cycle (off)": {
273        "start": {
274            "redfish": "^1$",
275            "chassis": "^Off$"
276        },
277        "end": {
278            "redfish": "^1$",
279            "chassis": "^Off$",
280            "boot_progress": "^None$",
281            "host": "^Disabled$"
282        },
283        "bmc_reboot": 1,
284        "method_type": "keyword",
285        "method": "Set Global Variable  ${PDU_TYPE}  pdu ; Set Global Variable  ${PDU_IP}  ${PDU_HOST} ; PDU Power Cycle",
286        "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
287    },
288    "IPMI MC Reset Warm (run)": {
289        "start": {
290            "redfish": "^1$",
291            "chassis": "^On$",
292            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
293            "host": "^Enabled$",
294            "os_ping": "^1$",
295            "os_login": "^1$",
296            "os_run_cmd": "^1$"
297        },
298        "end": {
299            "redfish": "^1$",
300            "chassis": "^On$",
301            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
302            "host": "^Enabled$",
303            "os_ping": "^1$",
304            "os_login": "^1$",
305            "os_run_cmd": "^1$"
306        },
307        "bmc_reboot": 1,
308        "method_type": "keyword",
309        "method": "Run External IPMI Standard Command  mc reset warm -N 10 -R 1 ; Printn",
310        "lib_file_path": "ipmi_client.robot:gen_print.py"
311    },
312    "IPMI MC Reset Warm (off)": {
313        "start": {
314            "redfish": "^1$",
315            "chassis": "^Off$"
316        },
317        "end": {
318            "redfish": "^1$",
319            "chassis": "^Off$",
320            "boot_progress": "^None$",
321            "host": "^Disabled$"
322        },
323        "bmc_reboot": 1,
324        "method_type": "keyword",
325        "method": "Run External IPMI Standard Command  mc reset warm -N 10 -R 1 ; Printn",
326        "lib_file_path": "ipmi_client.robot:gen_print.py"
327    },
328    "IPMI MC Reset Cold (run)": {
329        "start": {
330            "redfish": "^1$",
331            "chassis": "^On$",
332            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
333            "host": "^Enabled$",
334            "os_ping": "^1$",
335            "os_login": "^1$",
336            "os_run_cmd": "^1$"
337        },
338        "end": {
339            "redfish": "^1$",
340            "chassis": "^On$",
341            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
342            "host": "^Enabled$",
343            "os_ping": "^1$",
344            "os_login": "^1$",
345            "os_run_cmd": "^1$"
346        },
347        "bmc_reboot": 1,
348        "method_type": "keyword",
349        "method": "Run External IPMI Standard Command  mc reset cold -N 10 -R 1 ; Printn",
350        "lib_file_path": "ipmi_client.robot:gen_print.py"
351    },
352    "IPMI MC Reset Cold (off)": {
353        "start": {
354            "redfish": "^1$",
355            "chassis": "^Off$"
356        },
357        "end": {
358            "redfish": "^1$",
359            "chassis": "^Off$",
360            "boot_progress": "^None$",
361            "host": "^Disabled$"
362        },
363        "bmc_reboot": 1,
364        "method_type": "keyword",
365        "method": "Run External IPMI Standard Command  mc reset cold -N 10 -R 1 ; Printn",
366        "lib_file_path": "ipmi_client.robot:gen_print.py"
367    },
368    "IPMI Std MC Reset Warm (run)": {
369        "start": {
370            "redfish": "^1$",
371            "chassis": "^On$",
372            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
373            "host": "^Enabled$",
374            "os_ping": "^1$",
375            "os_login": "^1$",
376            "os_run_cmd": "^1$"
377        },
378        "end": {
379            "redfish": "^1$",
380            "chassis": "^On$",
381            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
382            "host": "^Enabled$",
383            "os_ping": "^1$",
384            "os_login": "^1$",
385            "os_run_cmd": "^1$"
386        },
387        "bmc_reboot": 1,
388        "method_type": "keyword",
389        "method": "Run IPMI Standard Command  mc reset warm -N 10 -R 1 ; Printn",
390        "lib_file_path": "ipmi_client.robot:gen_print.py"
391    },
392    "IPMI Std MC Reset Warm (off)": {
393        "start": {
394            "redfish": "^1$",
395            "chassis": "^Off$"
396        },
397        "end": {
398            "redfish": "^1$",
399            "chassis": "^Off$",
400            "boot_progress": "^None$",
401            "host": "^Disabled$"
402        },
403        "bmc_reboot": 1,
404        "method_type": "keyword",
405        "method": "Run IPMI Standard Command  mc reset warm -N 10 -R 1 ; Printn",
406        "lib_file_path": "ipmi_client.robot:gen_print.py"
407    },
408    "IPMI Std MC Reset Cold (run)": {
409        "start": {
410            "redfish": "^1$",
411            "chassis": "^On$",
412            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
413            "host": "^Enabled$",
414            "os_ping": "^1$",
415            "os_login": "^1$",
416            "os_run_cmd": "^1$"
417        },
418        "end": {
419            "redfish": "^1$",
420            "chassis": "^On$",
421            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
422            "host": "^Enabled$",
423            "os_ping": "^1$",
424            "os_login": "^1$",
425            "os_run_cmd": "^1$"
426        },
427        "bmc_reboot": 1,
428        "method_type": "keyword",
429        "method": "Run IPMI Standard Command  mc reset cold -N 10 -R 1 ; Printn",
430        "lib_file_path": "ipmi_client.robot:gen_print.py"
431    },
432    "IPMI Std MC Reset Cold (off)": {
433        "start": {
434            "redfish": "^1$",
435            "chassis": "^Off$"
436        },
437        "end": {
438            "redfish": "^1$",
439            "chassis": "^Off$",
440            "boot_progress": "^None$",
441            "host": "^Disabled$"
442        },
443        "bmc_reboot": 1,
444        "method_type": "keyword",
445        "method": "Run IPMI Standard Command  mc reset cold -N 10 -R 1 ; Printn",
446        "lib_file_path": "ipmi_client.robot:gen_print.py"
447    },
448    "IPMI Power Cycle": {
449        "start": {
450            "redfish": "^1$",
451            "chassis": "^On$",
452            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
453            "host": "^Enabled$",
454            "os_ping": "^1$",
455            "os_login": "^1$",
456            "os_run_cmd": "^1$"
457        },
458        "end": {
459            "redfish": "^1$",
460            "chassis": "^On$",
461            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
462            "host": "^Enabled$",
463            "os_ping": "^1$",
464            "os_login": "^1$",
465            "os_run_cmd": "^1$"
466        },
467        "bmc_reboot": 0,
468        "method_type": "keyword",
469        "method": "Run External IPMI Standard Command  power cycle -N 10 -R 1",
470        "lib_file_path": "ipmi_client.robot"
471    },
472    "IPMI Power Reset": {
473        "start": {
474            "redfish": "^1$",
475            "chassis": "^On$",
476            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
477            "host": "^Enabled$",
478            "os_ping": "^1$",
479            "os_login": "^1$",
480            "os_run_cmd": "^1$"
481        },
482        "end": {
483            "redfish": "^1$",
484            "chassis": "^On$",
485            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
486            "host": "^Enabled$",
487            "os_ping": "^1$",
488            "os_login": "^1$",
489            "os_run_cmd": "^1$"
490        },
491        "bmc_reboot": 0,
492        "method_type": "keyword",
493        "method": "Run External IPMI Standard Command  power reset -N 10 -R 1",
494        "lib_file_path": "ipmi_client.robot"
495    },
496    "Auto Reboot": {
497        "start": {
498            "redfish": "^1$",
499            "chassis": "^Off$",
500            "boot_progress": "^None$",
501            "host": "^Disabled$",
502            "os_ping": "^0$",
503            "os_login": "^0$",
504            "os_run_cmd": "^0$"
505        },
506        "end": {
507            "redfish": "^1$",
508            "chassis": "^On$",
509            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
510            "host": "^Enabled$",
511            "os_ping": "^1$",
512            "os_login": "^1$",
513            "os_run_cmd": "^1$"
514        },
515        "bmc_reboot": 0,
516        "method_type": "keyword",
517        "method": "utils.Redfish Initiate Auto Reboot  1000",
518        "lib_file_path": "utils.robot"
519    },
520    "Host Reboot": {
521        "start": {
522            "redfish": "^1$",
523            "chassis": "^On$",
524            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
525            "host": "^Enabled$",
526            "os_ping": "^1$",
527            "os_login": "^1$",
528            "os_run_cmd": "^1$"
529        },
530        "end": {
531            "redfish": "^1$",
532            "chassis": "^On$",
533            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
534            "host": "^Enabled$",
535            "os_ping": "^1$",
536            "os_login": "^1$",
537            "os_run_cmd": "^1$"
538        },
539        "bmc_reboot": 0,
540        "method_type": "keyword",
541        "method": "utils.Initiate OS Host Reboot",
542        "lib_file_path": "utils.robot"
543    },
544    "RF SYS GracefulRestart": {
545        "start": {
546            "redfish": "^1$",
547            "chassis": "^On$",
548            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
549            "host": "^Enabled$",
550            "os_ping": "^1$",
551            "os_login": "^1$",
552            "os_run_cmd": "^1$"
553        },
554        "end": {
555            "redfish": "^1$",
556            "chassis": "^On$",
557            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
558            "host": "^Enabled$",
559            "os_ping": "^1$",
560            "os_login": "^1$",
561            "os_run_cmd": "^1$"
562        },
563        "bmc_reboot": 0,
564        "method_type": "keyword",
565        "method": "Redfish Power Operation  GracefulRestart",
566        "lib_file_path": "bmc_redfish_utils.robot"
567    },
568    "RF SYS ForceRestart": {
569        "start": {
570            "redfish": "^1$",
571            "chassis": "^On$",
572            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
573            "host": "^Enabled$",
574            "os_ping": "^1$",
575            "os_login": "^1$",
576            "os_run_cmd": "^1$"
577        },
578        "end": {
579            "redfish": "^1$",
580            "chassis": "^On$",
581            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
582            "host": "^Enabled$",
583            "os_ping": "^1$",
584            "os_login": "^1$",
585            "os_run_cmd": "^1$"
586        },
587        "bmc_reboot": 0,
588        "method_type": "keyword",
589        "method": "Redfish Power Operation  ForceRestart",
590        "lib_file_path": "bmc_redfish_utils.robot"
591    },
592    "OPAL TI": {
593        "start": {
594            "redfish": "^1$",
595            "chassis": "^On$",
596            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
597            "host": "^Enabled$",
598            "os_ping": "^1$",
599            "os_login": "^1$",
600            "os_run_cmd": "^1$"
601        },
602        "end": {
603            "redfish": "^1$",
604            "chassis": "^On$",
605            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
606            "host": "^Enabled$",
607            "os_ping": "^1$",
608            "os_login": "^1$",
609            "os_run_cmd": "^1$"
610        },
611        "bmc_reboot": 0,
612        "method_type": "keyword",
613        "method": "Inject OPAL TI",
614        "lib_file_path": "open_power_utils.robot"
615    },
616    "Istep Power On": {
617        "start": {
618            "redfish": "^1$",
619            "chassis": "^Off$",
620            "boot_progress": "^None$",
621            "host": "^Disabled$"
622        },
623        "end": {
624            "redfish": "^1$",
625            "chassis": "^On$",
626            "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
627            "host": "^Enabled$",
628            "os_ping": "^1$",
629            "os_login": "^1$",
630            "os_run_cmd": "^1$"
631        },
632        "bmc_reboot": 0,
633        "method_type": "keyword",
634        "method": "BMC Execute Command  export PDBG_DTB=/var/lib/phosphor-software-manager/pnor/rw/DEVTREE;/usr/bin/istep  fork=${1}"
635    }
636}
637