blob: 1feea0bb04b58e6879a55b6222fea4a7a2572859 [file] [log] [blame]
Michael Walshda2d43c2017-02-20 16:04:59 -06001# 2017/02/20 Note: Commenting out 'boot_progress' requirements until they are working in product code.
2# TODO: Uncomment the boot_progress lines when support is re-introduced.
3{
4 "BMC Power On": {
5 "start": {
6 "chassis": "^Off$",
7 # "boot_progress": "^Off$",
8 "host": "^Off$"
9 },
10 "end": {
11 "chassis": "^On$",
12 # "boot_progress": "^FW Progress, Starting OS$",
13 "host": "^Running$",
14 "os_ping": "^1$",
15 "os_login": "^1$",
16 "os_run_cmd": "^1$"
17 },
18 "bmc_reboot": 0,
19 "method_type": "keyword",
20 "method": "Initiate Power On wait=${0}"
21 },
22 "BMC Power Off": {
23 "start": {
24 "chassis": "^On$",
25 # "boot_progress": "^FW Progress, Starting OS$",
26 "host": "^Running$"
27 },
28 "end": {
29 "chassis": "^Off$",
30 # "boot_progress": "^Off$",
31 "host": "^Off$",
32 "os_ping": "^0$",
33 "os_login": "^0$",
34 "os_run_cmd": "^0$"
35 },
36 "bmc_reboot": 0,
37 "method_type": "keyword",
38 "method": "Initiate Power Off"
39 },
40 "BMC MC Reset Warm": {
41 "start": {
42 "chassis": "^Off|On$"
43 },
44 "end": {
45 "chassis": "^Off$",
46 # "boot_progress": "^Off$",
47 "host": "^Off$"
48 },
49 "bmc_reboot": 1,
50 "method_type": "keyword",
51 "method": "Start Command /sbin/reboot"
52 }
53}