1{
2    "Redfish Power On": {
3        "start": {
4            "redfish": "^1$",
5            "chassis": "^Off$",
6            "host": "^Disabled$"
7        },
8        "end": {
9            "redfish": "^1$",
10            "chassis": "^On$",
11            "host": "^Enabled$",
12            "os_ping": "^1$",
13            "os_login": "^1$",
14            "os_run_cmd": "^1$"
15        },
16        "bmc_reboot": 0,
17        "method_type": "keyword",
18        "method": "Redfish Power Operation  On",
19        "lib_file_path": "bmc_redfish_utils.robot"
20    },
21    "IPMI Power On": {
22        "start": {
23            "redfish": "^1$",
24            "chassis": "^Off$",
25            "host": "^Disabled$"
26        },
27        "end": {
28            "redfish": "^1$",
29            "chassis": "^On$",
30            "host": "^Enabled$",
31            "os_ping": "^1$",
32            "os_login": "^1$",
33            "os_run_cmd": "^1$"
34        },
35        "bmc_reboot": 0,
36        "method_type": "keyword",
37        "method": "Run External IPMI Standard Command  power on -N 10 -R 1",
38        "lib_file_path": "ipmi_client.robot"
39    },
40
41    "Redfish Power Off": {
42        "start": {
43            "redfish": "^1$",
44            "chassis": "^On$"
45        },
46        "end": {
47            "redfish": "^1$",
48            "chassis": "^Off$",
49            "host": "^Disabled$",
50            "os_ping": "^0$",
51            "os_login": "^0$",
52            "os_run_cmd": "^0$"
53        },
54        "bmc_reboot": 0,
55        "method_type": "keyword",
56        "method": "Redfish Power Operation  GracefulShutdown",
57        "lib_file_path": "bmc_redfish_utils.robot"
58    },
59    "Redfish Hard Power Off": {
60        "start": {
61            "redfish": "^1$",
62            "chassis": "^On$"
63        },
64        "end": {
65            "redfish": "^1$",
66            "chassis": "^Off$",
67            "host": "^Disabled$",
68            "os_ping": "^0$",
69            "os_login": "^0$",
70            "os_run_cmd": "^0$"
71        },
72        "bmc_reboot": 0,
73        "method_type": "keyword",
74        "method": "Redfish Power Operation  ForceOff",
75        "lib_file_path": "bmc_redfish_utils.robot"
76    },
77    "IPMI Power Off": {
78        "start": {
79            "redfish": "^1$",
80            "chassis": "^On$"
81        },
82        "end": {
83            "redfish": "^1$",
84            "chassis": "^Off$",
85            "host": "^Disabled$",
86            "os_ping": "^0$",
87            "os_login": "^0$",
88            "os_run_cmd": "^0$"
89        },
90        "bmc_reboot": 0,
91        "method_type": "keyword",
92        "method": "Run External IPMI Standard Command  power off -N 10 -R 1",
93        "lib_file_path": "ipmi_client.robot"
94    },
95    "IPMI Power Soft": {
96        "start": {
97            "redfish": "^1$",
98            "chassis": "^On$"
99        },
100        "end": {
101            "redfish": "^1$",
102            "chassis": "^Off$",
103            "host": "^Disabled$",
104            "os_ping": "^0$",
105            "os_login": "^0$",
106            "os_run_cmd": "^0$"
107        },
108        "bmc_reboot": 0,
109        "method_type": "keyword",
110        "method": "Run External IPMI Standard Command  power soft -N 10 -R 1",
111        "lib_file_path": "ipmi_client.robot"
112    },
113    "Host Power Off": {
114        "start": {
115            "redfish": "^1$",
116            "chassis": "^On$",
117            "host": "^Enabled$",
118            "os_ping": "^1$",
119            "os_login": "^1$",
120            "os_run_cmd": "^1$"
121        },
122        "end": {
123            "redfish": "^1$",
124            "chassis": "^Off$",
125            "host": "^Disabled$",
126            "os_ping": "^0$",
127            "os_login": "^0$",
128            "os_run_cmd": "^0$"
129        },
130        "bmc_reboot": 0,
131        "method_type": "keyword",
132        "method": "utils.Initiate OS Host Power Off",
133        "lib_file_path": "utils.robot"
134    },
135
136    "APOR": {
137        "start": {
138            "redfish": "^1$",
139            "chassis": "^On$",
140            "host": "^Enabled$",
141            "os_ping": "^1$",
142            "os_login": "^1$",
143            "os_run_cmd": "^1$"
144        },
145        "end": {
146            "redfish": "^1$",
147            "chassis": "^On$",
148            "host": "^Enabled$",
149            "os_ping": "^1$",
150            "os_login": "^1$",
151            "os_run_cmd": "^1$"
152        },
153        "bmc_reboot": 1,
154        "method_type": "keyword",
155        "method": "Set Global Variable  ${PDU_TYPE}  pdu ; Set Global Variable  ${PDU_IP}  ${PDU_HOST} ; PDU Power Cycle",
156        "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
157    },
158    "OBMC Reboot (run)": {
159        "start": {
160            "redfish": "^1$",
161            "chassis": "^On$",
162            "host": "^Enabled$",
163            "os_ping": "^1$",
164            "os_login": "^1$",
165            "os_run_cmd": "^1$"
166        },
167        "end": {
168            "redfish": "^1$",
169            "chassis": "^On$",
170            "host": "^Enabled$",
171            "os_ping": "^1$",
172            "os_login": "^1$",
173            "os_run_cmd": "^1$"
174        },
175        "bmc_reboot": 1,
176        "method_type": "keyword",
177        "method": "BMC Execute Command  /sbin/reboot  fork=${1}"
178    },
179    "Redfish OBMC Reboot (run)": {
180        "start": {
181            "redfish": "^1$",
182            "chassis": "^On$",
183            "host": "^Enabled$",
184            "os_ping": "^1$",
185            "os_login": "^1$",
186            "os_run_cmd": "^1$"
187        },
188        "end": {
189            "redfish": "^1$",
190            "chassis": "^On$",
191            "host": "^Enabled$",
192            "os_ping": "^1$",
193            "os_login": "^1$",
194            "os_run_cmd": "^1$"
195        },
196        "bmc_reboot": 1,
197        "method_type": "keyword",
198        "method": "Redfish BMC Reset Operation",
199        "lib_file_path": "bmc_redfish_utils.robot"
200    },
201    "OBMC Reboot (off)": {
202        "start": {
203            "redfish": "^1$",
204            "chassis": "^Off$"
205        },
206        "end": {
207            "redfish": "^1$",
208            "chassis": "^Off$",
209            "host": "^Disabled$"
210        },
211        "bmc_reboot": 1,
212        "method_type": "keyword",
213        "method": "BMC Execute Command  /sbin/reboot  fork=${1}"
214    },
215    "Redfish OBMC Reboot (off)": {
216        "start": {
217            "redfish": "^1$",
218            "chassis": "^Off$"
219        },
220        "end": {
221            "redfish": "^1$",
222            "chassis": "^Off$",
223            "host": "^Disabled$"
224        },
225        "bmc_reboot": 1,
226        "method_type": "keyword",
227        "method": "Redfish BMC Reset Operation",
228        "lib_file_path": "bmc_redfish_utils.robot"
229    },
230    "PDU AC Cycle (run)": {
231        "start": {
232            "redfish": "^1$",
233            "chassis": "^On$",
234            "host": "^Enabled$",
235            "os_ping": "^1$",
236            "os_login": "^1$",
237            "os_run_cmd": "^1$"
238        },
239        "end": {
240            "redfish": "^1$",
241            "chassis": "^On$",
242            "host": "^Enabled$",
243            "os_ping": "^1$",
244            "os_login": "^1$",
245            "os_run_cmd": "^1$"
246        },
247        "bmc_reboot": 1,
248        "method_type": "keyword",
249        "method": "Set Global Variable  ${PDU_TYPE}  pdu ; Set Global Variable  ${PDU_IP}  ${PDU_HOST} ; PDU Power Cycle",
250        "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
251    },
252    "PDU AC Cycle (off)": {
253        "start": {
254            "redfish": "^1$",
255            "chassis": "^Off$"
256        },
257        "end": {
258            "redfish": "^1$",
259            "chassis": "^Off$",
260            "host": "^Disabled$"
261        },
262        "bmc_reboot": 1,
263        "method_type": "keyword",
264        "method": "Set Global Variable  ${PDU_TYPE}  pdu ; Set Global Variable  ${PDU_IP}  ${PDU_HOST} ; PDU Power Cycle",
265        "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot"
266    },
267    "IPMI MC Reset Warm (run)": {
268        "start": {
269            "redfish": "^1$",
270            "chassis": "^On$",
271            "host": "^Enabled$",
272            "os_ping": "^1$",
273            "os_login": "^1$",
274            "os_run_cmd": "^1$"
275        },
276        "end": {
277            "redfish": "^1$",
278            "chassis": "^On$",
279            "host": "^Enabled$",
280            "os_ping": "^1$",
281            "os_login": "^1$",
282            "os_run_cmd": "^1$"
283        },
284        "bmc_reboot": 1,
285        "method_type": "keyword",
286        "method": "Run External IPMI Standard Command  mc reset warm -N 10 -R 1 ; Printn",
287        "lib_file_path": "ipmi_client.robot:gen_print.py"
288    },
289    "IPMI MC Reset Warm (off)": {
290        "start": {
291            "redfish": "^1$",
292            "chassis": "^Off$"
293        },
294        "end": {
295            "redfish": "^1$",
296            "chassis": "^Off$",
297            "host": "^Disabled$"
298        },
299        "bmc_reboot": 1,
300        "method_type": "keyword",
301        "method": "Run External IPMI Standard Command  mc reset warm -N 10 -R 1 ; Printn",
302        "lib_file_path": "ipmi_client.robot:gen_print.py"
303    },
304    "IPMI MC Reset Cold (run)": {
305        "start": {
306            "redfish": "^1$",
307            "chassis": "^On$",
308            "host": "^Enabled$",
309            "os_ping": "^1$",
310            "os_login": "^1$",
311            "os_run_cmd": "^1$"
312        },
313        "end": {
314            "redfish": "^1$",
315            "chassis": "^On$",
316            "host": "^Enabled$",
317            "os_ping": "^1$",
318            "os_login": "^1$",
319            "os_run_cmd": "^1$"
320        },
321        "bmc_reboot": 1,
322        "method_type": "keyword",
323        "method": "Run External IPMI Standard Command  mc reset cold -N 10 -R 1 ; Printn",
324        "lib_file_path": "ipmi_client.robot:gen_print.py"
325    },
326    "IPMI MC Reset Cold (off)": {
327        "start": {
328            "redfish": "^1$",
329            "chassis": "^Off$"
330        },
331        "end": {
332            "redfish": "^1$",
333            "chassis": "^Off$",
334            "host": "^Disabled$"
335        },
336        "bmc_reboot": 1,
337        "method_type": "keyword",
338        "method": "Run External IPMI Standard Command  mc reset cold -N 10 -R 1 ; Printn",
339        "lib_file_path": "ipmi_client.robot:gen_print.py"
340    },
341    "IPMI Std MC Reset Warm (run)": {
342        "start": {
343            "redfish": "^1$",
344            "chassis": "^On$",
345            "host": "^Enabled$",
346            "os_ping": "^1$",
347            "os_login": "^1$",
348            "os_run_cmd": "^1$"
349        },
350        "end": {
351            "redfish": "^1$",
352            "chassis": "^On$",
353            "host": "^Enabled$",
354            "os_ping": "^1$",
355            "os_login": "^1$",
356            "os_run_cmd": "^1$"
357        },
358        "bmc_reboot": 1,
359        "method_type": "keyword",
360        "method": "Run IPMI Standard Command  mc reset warm -N 10 -R 1 ; Printn",
361        "lib_file_path": "ipmi_client.robot:gen_print.py"
362    },
363    "IPMI Std MC Reset Warm (off)": {
364        "start": {
365            "redfish": "^1$",
366            "chassis": "^Off$"
367        },
368        "end": {
369            "redfish": "^1$",
370            "chassis": "^Off$",
371            "host": "^Disabled$"
372        },
373        "bmc_reboot": 1,
374        "method_type": "keyword",
375        "method": "Run IPMI Standard Command  mc reset warm -N 10 -R 1 ; Printn",
376        "lib_file_path": "ipmi_client.robot:gen_print.py"
377    },
378    "IPMI Std MC Reset Cold (run)": {
379        "start": {
380            "redfish": "^1$",
381            "chassis": "^On$",
382            "host": "^Enabled$",
383            "os_ping": "^1$",
384            "os_login": "^1$",
385            "os_run_cmd": "^1$"
386        },
387        "end": {
388            "redfish": "^1$",
389            "chassis": "^On$",
390            "host": "^Enabled$",
391            "os_ping": "^1$",
392            "os_login": "^1$",
393            "os_run_cmd": "^1$"
394        },
395        "bmc_reboot": 1,
396        "method_type": "keyword",
397        "method": "Run IPMI Standard Command  mc reset cold -N 10 -R 1 ; Printn",
398        "lib_file_path": "ipmi_client.robot:gen_print.py"
399    },
400    "IPMI Std MC Reset Cold (off)": {
401        "start": {
402            "redfish": "^1$",
403            "chassis": "^Off$"
404        },
405        "end": {
406            "redfish": "^1$",
407            "chassis": "^Off$",
408            "host": "^Disabled$"
409        },
410        "bmc_reboot": 1,
411        "method_type": "keyword",
412        "method": "Run IPMI Standard Command  mc reset cold -N 10 -R 1 ; Printn",
413        "lib_file_path": "ipmi_client.robot:gen_print.py"
414    },
415    "IPMI Power Cycle": {
416        "start": {
417            "redfish": "^1$",
418            "chassis": "^On$",
419            "host": "^Enabled$",
420            "os_ping": "^1$",
421            "os_login": "^1$",
422            "os_run_cmd": "^1$"
423        },
424        "end": {
425            "redfish": "^1$",
426            "chassis": "^On$",
427            "host": "^Enabled$",
428            "os_ping": "^1$",
429            "os_login": "^1$",
430            "os_run_cmd": "^1$"
431        },
432        "bmc_reboot": 0,
433        "method_type": "keyword",
434        "method": "Run External IPMI Standard Command  power cycle -N 10 -R 1",
435        "lib_file_path": "ipmi_client.robot"
436    },
437    "IPMI Power Reset": {
438        "start": {
439            "redfish": "^1$",
440            "chassis": "^On$",
441            "host": "^Enabled$",
442            "os_ping": "^1$",
443            "os_login": "^1$",
444            "os_run_cmd": "^1$"
445        },
446        "end": {
447            "redfish": "^1$",
448            "chassis": "^On$",
449            "host": "^Enabled$",
450            "os_ping": "^1$",
451            "os_login": "^1$",
452            "os_run_cmd": "^1$"
453        },
454        "bmc_reboot": 0,
455        "method_type": "keyword",
456        "method": "Run External IPMI Standard Command  power reset -N 10 -R 1",
457        "lib_file_path": "ipmi_client.robot"
458    },
459    "Auto Reboot": {
460        "start": {
461            "redfish": "^1$",
462            "chassis": "^On$",
463            "host": "^Enabled$",
464            "os_ping": "^1$",
465            "os_login": "^1$",
466            "os_run_cmd": "^1$"
467        },
468        "end": {
469            "redfish": "^1$",
470            "chassis": "^On$",
471            "host": "^Enabled$",
472            "os_ping": "^1$",
473            "os_login": "^1$",
474            "os_run_cmd": "^1$"
475        },
476        "bmc_reboot": 0,
477        "method_type": "keyword",
478        "method": "utils.Initiate Auto Reboot  1000",
479        "lib_file_path": "utils.robot"
480    },
481    "Host Reboot": {
482        "start": {
483            "redfish": "^1$",
484            "chassis": "^On$",
485            "host": "^Enabled$",
486            "os_ping": "^1$",
487            "os_login": "^1$",
488            "os_run_cmd": "^1$"
489        },
490        "end": {
491            "redfish": "^1$",
492            "chassis": "^On$",
493            "host": "^Enabled$",
494            "os_ping": "^1$",
495            "os_login": "^1$",
496            "os_run_cmd": "^1$"
497        },
498        "bmc_reboot": 0,
499        "method_type": "keyword",
500        "method": "utils.Initiate OS Host Reboot",
501        "lib_file_path": "utils.robot"
502    },
503    "RF SYS GracefulRestart": {
504        "start": {
505            "redfish": "^1$",
506            "chassis": "^On$",
507            "host": "^Enabled$",
508            "os_ping": "^1$",
509            "os_login": "^1$",
510            "os_run_cmd": "^1$"
511        },
512        "end": {
513            "redfish": "^1$",
514            "chassis": "^On$",
515            "host": "^Enabled$",
516            "os_ping": "^1$",
517            "os_login": "^1$",
518            "os_run_cmd": "^1$"
519        },
520        "bmc_reboot": 0,
521        "method_type": "keyword",
522        "method": "Redfish Power Operation  GracefulRestart",
523        "lib_file_path": "bmc_redfish_utils.robot"
524    },
525    "RF SYS ForceRestart": {
526        "start": {
527            "redfish": "^1$",
528            "chassis": "^On$",
529            "host": "^Enabled$",
530            "os_ping": "^1$",
531            "os_login": "^1$",
532            "os_run_cmd": "^1$"
533        },
534        "end": {
535            "redfish": "^1$",
536            "chassis": "^On$",
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": "Redfish Power Operation  ForceRestart",
545        "lib_file_path": "bmc_redfish_utils.robot"
546    },
547    "OPAL TI": {
548        "start": {
549            "redfish": "^1$",
550            "chassis": "^On$",
551            "host": "^Enabled$",
552            "os_ping": "^1$",
553            "os_login": "^1$",
554            "os_run_cmd": "^1$"
555        },
556        "end": {
557            "redfish": "^1$",
558            "chassis": "^On$",
559            "host": "^Enabled$",
560            "os_ping": "^1$",
561            "os_login": "^1$",
562            "os_run_cmd": "^1$"
563        },
564        "bmc_reboot": 0,
565        "method_type": "keyword",
566        "method": "Inject OPAL TI",
567        "lib_file_path": "open_power_utils.robot"
568    }
569}
570