Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 1 | { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 2 | # Power on boot types: |
| 3 | |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 4 | # Initiate a power on using the REST API interface. |
| 5 | "REST Power On": { |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 6 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 7 | "rest": "^1$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 8 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 9 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 10 | "operating_system": "^Inactive$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 11 | "host": "^Off$" |
| 12 | }, |
| 13 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 14 | "rest": "^1$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 15 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 16 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 17 | "operating_system": "^BootComplete$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 18 | "host": "^Running$", |
| 19 | "os_ping": "^1$", |
| 20 | "os_login": "^1$", |
| 21 | "os_run_cmd": "^1$" |
| 22 | }, |
| 23 | "bmc_reboot": 0, |
| 24 | "method_type": "keyword", |
Michael Walsh | b099e62 | 2017-03-21 14:51:47 -0500 | [diff] [blame] | 25 | "method": "Initiate Host Boot wait=${0}", |
| 26 | "lib_file_path": "state_manager.robot" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 27 | }, |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 28 | # Initiate a power on using the IPMI interface. |
| 29 | "IPMI Power On": { |
| 30 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 31 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 32 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 33 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 34 | "operating_system": "^Inactive$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 35 | "host": "^Off$" |
| 36 | }, |
| 37 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 38 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 39 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 40 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 41 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 42 | "host": "^Running$", |
| 43 | "os_ping": "^1$", |
| 44 | "os_login": "^1$", |
| 45 | "os_run_cmd": "^1$" |
| 46 | }, |
| 47 | "bmc_reboot": 0, |
| 48 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 49 | "method": "Run External IPMI Standard Command power on -N 10 -R 1", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 50 | "lib_file_path": "ipmi_client.robot" |
| 51 | }, |
| 52 | |
| 53 | # Power off boot types: |
| 54 | |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 55 | # Initiate a power off using the REST API interface. |
| 56 | "REST Power Off": { |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 57 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 58 | "rest": "^1$", |
Michael Walsh | c213aa9 | 2017-04-12 16:00:33 -0500 | [diff] [blame] | 59 | "chassis": "^On$" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 60 | }, |
| 61 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 62 | "rest": "^1$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 63 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 64 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 65 | "operating_system": "^Inactive$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 66 | "host": "^Off$", |
| 67 | "os_ping": "^0$", |
| 68 | "os_login": "^0$", |
| 69 | "os_run_cmd": "^0$" |
| 70 | }, |
| 71 | "bmc_reboot": 0, |
| 72 | "method_type": "keyword", |
Michael Walsh | b099e62 | 2017-03-21 14:51:47 -0500 | [diff] [blame] | 73 | "method": "Initiate Host PowerOff wait=${0}", |
| 74 | "lib_file_path": "state_manager.robot" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 75 | }, |
Michael Walsh | 245db7c | 2017-09-05 15:45:03 -0500 | [diff] [blame] | 76 | # Initiate a hard power off using the REST API interface. |
| 77 | "REST Hard Power Off": { |
| 78 | "start": { |
| 79 | "rest": "^1$", |
| 80 | "chassis": "^On$" |
| 81 | }, |
| 82 | "end": { |
| 83 | "rest": "^1$", |
| 84 | "chassis": "^Off$", |
| 85 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 86 | "operating_system": "^Inactive$", |
Michael Walsh | 245db7c | 2017-09-05 15:45:03 -0500 | [diff] [blame] | 87 | "host": "^Off$", |
| 88 | "os_ping": "^0$", |
| 89 | "os_login": "^0$", |
| 90 | "os_run_cmd": "^0$" |
| 91 | }, |
| 92 | "bmc_reboot": 0, |
| 93 | "method_type": "keyword", |
| 94 | "method": "Hard Power Off wait=${0}", |
| 95 | "lib_file_path": "state_manager.robot" |
| 96 | }, |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 97 | # Initiate a power off using the IPMI interface. |
| 98 | "IPMI Power Off": { |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 99 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 100 | "rest": "^1$", |
Michael Walsh | c213aa9 | 2017-04-12 16:00:33 -0500 | [diff] [blame] | 101 | "chassis": "^On$" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 102 | }, |
| 103 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 104 | "rest": "^1$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 105 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 106 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 107 | "operating_system": "^Inactive$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 108 | "host": "^Off$", |
| 109 | "os_ping": "^0$", |
| 110 | "os_login": "^0$", |
| 111 | "os_run_cmd": "^0$" |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 112 | }, |
| 113 | "bmc_reboot": 0, |
| 114 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 115 | "method": "Run External IPMI Standard Command power off -N 10 -R 1", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 116 | "lib_file_path": "ipmi_client.robot" |
| 117 | }, |
| 118 | # Initiate a power soft using the IPMI interface. |
| 119 | "IPMI Power Soft": { |
| 120 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 121 | "rest": "^1$", |
Michael Walsh | c213aa9 | 2017-04-12 16:00:33 -0500 | [diff] [blame] | 122 | "chassis": "^On$" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 123 | }, |
| 124 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 125 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 126 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 127 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 128 | "operating_system": "^Inactive$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 129 | "host": "^Off$", |
| 130 | "os_ping": "^0$", |
| 131 | "os_login": "^0$", |
| 132 | "os_run_cmd": "^0$" |
| 133 | }, |
| 134 | "bmc_reboot": 0, |
| 135 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 136 | "method": "Run External IPMI Standard Command power soft -N 10 -R 1", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 137 | "lib_file_path": "ipmi_client.robot" |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 138 | }, |
| 139 | # Run a "shutdown" command on the OS_HOST. |
| 140 | "Host Power Off": { |
| 141 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 142 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 143 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 144 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 145 | "operating_system": "^BootComplete$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 146 | "host": "^Running$", |
| 147 | "os_ping": "^1$", |
| 148 | "os_login": "^1$", |
| 149 | "os_run_cmd": "^1$" |
| 150 | }, |
| 151 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 152 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 153 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 154 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 155 | "operating_system": "^Inactive$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 156 | "host": "^Off$", |
| 157 | "os_ping": "^0$", |
| 158 | "os_login": "^0$", |
| 159 | "os_run_cmd": "^0$" |
| 160 | }, |
| 161 | "bmc_reboot": 0, |
| 162 | "method_type": "keyword", |
| 163 | "method": "utils.Initiate OS Host Power Off", |
| 164 | "lib_file_path": "utils.robot" |
| 165 | }, |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 166 | |
| 167 | # OBMC re-boot boot types: |
| 168 | |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 169 | # APOR - Auto Power On Restart - Note that this is functionally equivalent |
| 170 | # to 'PDU AC Cycle (run)'. |
| 171 | "APOR": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 172 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 173 | "rest": "^1$", |
| 174 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 175 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 176 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 177 | "host": "^Running$", |
| 178 | "os_ping": "^1$", |
| 179 | "os_login": "^1$", |
| 180 | "os_run_cmd": "^1$" |
| 181 | }, |
| 182 | "end": { |
| 183 | "rest": "^1$", |
| 184 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 185 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 186 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 187 | "host": "^Running$", |
| 188 | "os_ping": "^1$", |
| 189 | "os_login": "^1$", |
| 190 | "os_run_cmd": "^1$" |
| 191 | }, |
| 192 | "bmc_reboot": 1, |
| 193 | "method_type": "keyword", |
| 194 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 195 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 196 | }, |
| 197 | # Run a "reboot" on the OBMC while host is running. |
| 198 | "OBMC Reboot (run)": { |
| 199 | "start": { |
| 200 | "rest": "^1$", |
| 201 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 202 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 203 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 204 | "host": "^Running$", |
| 205 | "os_ping": "^1$", |
| 206 | "os_login": "^1$", |
| 207 | "os_run_cmd": "^1$" |
| 208 | }, |
| 209 | "end": { |
| 210 | "rest": "^1$", |
| 211 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 212 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 213 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 214 | "host": "^Running$", |
| 215 | "os_ping": "^1$", |
| 216 | "os_login": "^1$", |
| 217 | "os_run_cmd": "^1$" |
| 218 | }, |
| 219 | "bmc_reboot": 1, |
| 220 | "method_type": "keyword", |
Michael Walsh | e53e47a | 2017-06-30 17:03:24 -0500 | [diff] [blame] | 221 | "method": "BMC Execute Command /sbin/reboot fork=${1}" |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 222 | }, |
Michael Walsh | 569141d | 2017-09-08 14:47:23 -0500 | [diff] [blame] | 223 | # Run a REST "reboot" on the OBMC while host is running. |
| 224 | "REST OBMC Reboot (run)": { |
| 225 | "start": { |
| 226 | "rest": "^1$", |
| 227 | "chassis": "^On$", |
| 228 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 229 | "operating_system": "^BootComplete$", |
Michael Walsh | 569141d | 2017-09-08 14:47:23 -0500 | [diff] [blame] | 230 | "host": "^Running$", |
| 231 | "os_ping": "^1$", |
| 232 | "os_login": "^1$", |
| 233 | "os_run_cmd": "^1$" |
| 234 | }, |
| 235 | "end": { |
| 236 | "rest": "^1$", |
| 237 | "chassis": "^On$", |
| 238 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 239 | "operating_system": "^BootComplete$", |
Michael Walsh | 569141d | 2017-09-08 14:47:23 -0500 | [diff] [blame] | 240 | "host": "^Running$", |
| 241 | "os_ping": "^1$", |
| 242 | "os_login": "^1$", |
| 243 | "os_run_cmd": "^1$" |
| 244 | }, |
| 245 | "bmc_reboot": 1, |
| 246 | "method_type": "keyword", |
| 247 | "method": "Initiate BMC Reboot wait=${0}", |
| 248 | "lib_file_path": "state_manager.robot" |
| 249 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 250 | # Run a "reboot" on the OBMC while host is off. |
| 251 | "OBMC Reboot (off)": { |
| 252 | "start": { |
| 253 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 254 | "chassis": "^Off$" |
| 255 | }, |
| 256 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 257 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 258 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 259 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 260 | "operating_system": "^Inactive$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 261 | "host": "^Off$" |
| 262 | }, |
| 263 | "bmc_reboot": 1, |
| 264 | "method_type": "keyword", |
Michael Walsh | e53e47a | 2017-06-30 17:03:24 -0500 | [diff] [blame] | 265 | "method": "BMC Execute Command /sbin/reboot fork=${1}" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 266 | }, |
Michael Walsh | 569141d | 2017-09-08 14:47:23 -0500 | [diff] [blame] | 267 | # Run a "reboot" on the OBMC while host is off. |
| 268 | "REST OBMC Reboot (off)": { |
| 269 | "start": { |
| 270 | "rest": "^1$", |
| 271 | "chassis": "^Off$" |
| 272 | }, |
| 273 | "end": { |
| 274 | "rest": "^1$", |
| 275 | "chassis": "^Off$", |
| 276 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 277 | "operating_system": "^Inactive$", |
Michael Walsh | 569141d | 2017-09-08 14:47:23 -0500 | [diff] [blame] | 278 | "host": "^Off$" |
| 279 | }, |
| 280 | "bmc_reboot": 1, |
| 281 | "method_type": "keyword", |
| 282 | "method": "Initiate BMC Reboot wait=${0}", |
| 283 | "lib_file_path": "state_manager.robot" |
| 284 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 285 | # Cycle AC via the PDU while host is off. |
| 286 | "PDU AC Cycle (run)": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 287 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 288 | "rest": "^1$", |
| 289 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 290 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 291 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 292 | "host": "^Running$", |
| 293 | "os_ping": "^1$", |
| 294 | "os_login": "^1$", |
| 295 | "os_run_cmd": "^1$" |
| 296 | }, |
| 297 | "end": { |
| 298 | "rest": "^1$", |
| 299 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 300 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 301 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 302 | "host": "^Running$", |
| 303 | "os_ping": "^1$", |
| 304 | "os_login": "^1$", |
| 305 | "os_run_cmd": "^1$" |
| 306 | }, |
| 307 | "bmc_reboot": 1, |
| 308 | "method_type": "keyword", |
| 309 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 310 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 311 | }, |
| 312 | # Cycle AC via the PDU while host is off. |
| 313 | "PDU AC Cycle (off)": { |
| 314 | "start": { |
| 315 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 316 | "chassis": "^Off$" |
| 317 | }, |
| 318 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 319 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 320 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 321 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 322 | "operating_system": "^Inactive$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 323 | "host": "^Off$" |
| 324 | }, |
| 325 | "bmc_reboot": 1, |
| 326 | "method_type": "keyword", |
| 327 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 328 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 329 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 330 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 331 | # powered on. |
| 332 | "IPMI MC Reset Warm (run)": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 333 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 334 | "rest": "^1$", |
| 335 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 336 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 337 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 338 | "host": "^Running$", |
| 339 | "os_ping": "^1$", |
| 340 | "os_login": "^1$", |
| 341 | "os_run_cmd": "^1$" |
| 342 | }, |
| 343 | "end": { |
| 344 | "rest": "^1$", |
| 345 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 346 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 347 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 348 | "host": "^Running$", |
| 349 | "os_ping": "^1$", |
| 350 | "os_login": "^1$", |
| 351 | "os_run_cmd": "^1$" |
| 352 | }, |
| 353 | "bmc_reboot": 1, |
| 354 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 355 | "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 356 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 357 | }, |
| 358 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 359 | # powered off. |
| 360 | "IPMI MC Reset Warm (off)": { |
| 361 | "start": { |
| 362 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 363 | "chassis": "^Off$" |
| 364 | }, |
| 365 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 366 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 367 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 368 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 369 | "operating_system": "^Inactive$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 370 | "host": "^Off$" |
| 371 | }, |
| 372 | "bmc_reboot": 1, |
| 373 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 374 | "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 375 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 376 | }, |
Michael Walsh | 55b5c64 | 2018-03-16 14:21:13 -0500 | [diff] [blame] | 377 | # Initiate an mc reset cold using the IPMI interface while chassis is |
| 378 | # powered on. |
| 379 | "IPMI MC Reset Cold (run)": { |
| 380 | "start": { |
| 381 | "rest": "^1$", |
| 382 | "chassis": "^On$", |
| 383 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 384 | "operating_system": "^BootComplete$", |
| 385 | "host": "^Running$", |
| 386 | "os_ping": "^1$", |
| 387 | "os_login": "^1$", |
| 388 | "os_run_cmd": "^1$" |
| 389 | }, |
| 390 | "end": { |
| 391 | "rest": "^1$", |
| 392 | "chassis": "^On$", |
| 393 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 394 | "operating_system": "^BootComplete$", |
| 395 | "host": "^Running$", |
| 396 | "os_ping": "^1$", |
| 397 | "os_login": "^1$", |
| 398 | "os_run_cmd": "^1$" |
| 399 | }, |
| 400 | "bmc_reboot": 1, |
| 401 | "method_type": "keyword", |
| 402 | "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 403 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 404 | }, |
| 405 | # Initiate an mc reset cold using the IPMI interface while chassis is |
| 406 | # powered off. |
| 407 | "IPMI MC Reset Cold (off)": { |
| 408 | "start": { |
| 409 | "rest": "^1$", |
| 410 | "chassis": "^Off$" |
| 411 | }, |
| 412 | "end": { |
| 413 | "rest": "^1$", |
| 414 | "chassis": "^Off$", |
| 415 | "boot_progress": "^Off|Unspecified$", |
| 416 | "operating_system": "^Inactive$", |
| 417 | "host": "^Off$" |
| 418 | }, |
| 419 | "bmc_reboot": 1, |
| 420 | "method_type": "keyword", |
| 421 | "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 422 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 423 | }, |
| 424 | # Initiate an mc reset warm using the IPMI standard interface while chassis |
| 425 | # is powered on. |
| 426 | "IPMI Std MC Reset Warm (run)": { |
| 427 | "start": { |
| 428 | "rest": "^1$", |
| 429 | "chassis": "^On$", |
| 430 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 431 | "operating_system": "^BootComplete$", |
| 432 | "host": "^Running$", |
| 433 | "os_ping": "^1$", |
| 434 | "os_login": "^1$", |
| 435 | "os_run_cmd": "^1$" |
| 436 | }, |
| 437 | "end": { |
| 438 | "rest": "^1$", |
| 439 | "chassis": "^On$", |
| 440 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 441 | "operating_system": "^BootComplete$", |
| 442 | "host": "^Running$", |
| 443 | "os_ping": "^1$", |
| 444 | "os_login": "^1$", |
| 445 | "os_run_cmd": "^1$" |
| 446 | }, |
| 447 | "bmc_reboot": 1, |
| 448 | "method_type": "keyword", |
| 449 | "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
| 450 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 451 | }, |
| 452 | # Initiate an mc reset warm using the IPMI standard interface while chassis |
| 453 | # is powered off. |
| 454 | "IPMI Std MC Reset Warm (off)": { |
| 455 | "start": { |
| 456 | "rest": "^1$", |
| 457 | "chassis": "^Off$" |
| 458 | }, |
| 459 | "end": { |
| 460 | "rest": "^1$", |
| 461 | "chassis": "^Off$", |
| 462 | "boot_progress": "^Off|Unspecified$", |
| 463 | "operating_system": "^Inactive$", |
| 464 | "host": "^Off$" |
| 465 | }, |
| 466 | "bmc_reboot": 1, |
| 467 | "method_type": "keyword", |
| 468 | "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
| 469 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 470 | }, |
| 471 | # Initiate an mc reset cold using the IPMI standard interface while chassis |
| 472 | # is powered on. |
| 473 | "IPMI Std MC Reset Cold (run)": { |
| 474 | "start": { |
| 475 | "rest": "^1$", |
| 476 | "chassis": "^On$", |
| 477 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 478 | "operating_system": "^BootComplete$", |
| 479 | "host": "^Running$", |
| 480 | "os_ping": "^1$", |
| 481 | "os_login": "^1$", |
| 482 | "os_run_cmd": "^1$" |
| 483 | }, |
| 484 | "end": { |
| 485 | "rest": "^1$", |
| 486 | "chassis": "^On$", |
| 487 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 488 | "operating_system": "^BootComplete$", |
| 489 | "host": "^Running$", |
| 490 | "os_ping": "^1$", |
| 491 | "os_login": "^1$", |
| 492 | "os_run_cmd": "^1$" |
| 493 | }, |
| 494 | "bmc_reboot": 1, |
| 495 | "method_type": "keyword", |
| 496 | "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 497 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 498 | }, |
| 499 | # Initiate an mc reset cold using the IPMI standard interface while chassis |
| 500 | # is powered off. |
| 501 | "IPMI Std MC Reset Cold (off)": { |
| 502 | "start": { |
| 503 | "rest": "^1$", |
| 504 | "chassis": "^Off$" |
| 505 | }, |
| 506 | "end": { |
| 507 | "rest": "^1$", |
| 508 | "chassis": "^Off$", |
| 509 | "boot_progress": "^Off|Unspecified$", |
| 510 | "operating_system": "^Inactive$", |
| 511 | "host": "^Off$" |
| 512 | }, |
| 513 | "bmc_reboot": 1, |
| 514 | "method_type": "keyword", |
| 515 | "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 516 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 517 | }, |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 518 | |
| 519 | # Host OS re-boot boot types: |
| 520 | |
| 521 | # Initiate a power cycle using the IPMI interface (equivalent to off/on). |
| 522 | "IPMI Power Cycle": { |
| 523 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 524 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 525 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 526 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 527 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 528 | "host": "^Running$", |
| 529 | "os_ping": "^1$", |
| 530 | "os_login": "^1$", |
| 531 | "os_run_cmd": "^1$" |
| 532 | }, |
| 533 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 534 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 535 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 536 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 537 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 538 | "host": "^Running$", |
| 539 | "os_ping": "^1$", |
| 540 | "os_login": "^1$", |
| 541 | "os_run_cmd": "^1$" |
| 542 | }, |
| 543 | "bmc_reboot": 0, |
| 544 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 545 | "method": "Run External IPMI Standard Command power cycle -N 10 -R 1", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 546 | "lib_file_path": "ipmi_client.robot" |
| 547 | }, |
| 548 | # Initiate a power reset using the IPMI interface (equivalent to off/on). |
| 549 | # Functionally equivalent to "IPMI Power Cycle". |
| 550 | "IPMI Power Reset": { |
| 551 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 552 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 553 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 554 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 555 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 556 | "host": "^Running$", |
| 557 | "os_ping": "^1$", |
| 558 | "os_login": "^1$", |
| 559 | "os_run_cmd": "^1$" |
| 560 | }, |
| 561 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 562 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 563 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 564 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 565 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 566 | "host": "^Running$", |
| 567 | "os_ping": "^1$", |
| 568 | "os_login": "^1$", |
| 569 | "os_run_cmd": "^1$" |
| 570 | }, |
| 571 | "bmc_reboot": 0, |
| 572 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 573 | "method": "Run External IPMI Standard Command power reset -N 10 -R 1", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 574 | "lib_file_path": "ipmi_client.robot" |
| 575 | }, |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 576 | # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state. |
| 577 | "Auto Reboot": { |
| 578 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 579 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 580 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 581 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 582 | "operating_system": "^BootComplete$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 583 | "host": "^Running$", |
| 584 | "os_ping": "^1$", |
| 585 | "os_login": "^1$", |
| 586 | "os_run_cmd": "^1$" |
| 587 | }, |
| 588 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 589 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 590 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 591 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 592 | "operating_system": "^BootComplete$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 593 | "host": "^Running$", |
| 594 | "os_ping": "^1$", |
| 595 | "os_login": "^1$", |
| 596 | "os_run_cmd": "^1$" |
| 597 | }, |
| 598 | "bmc_reboot": 0, |
| 599 | "method_type": "keyword", |
Michael Walsh | 4ffd1a1 | 2018-03-14 10:35:44 -0500 | [diff] [blame] | 600 | "method": "utils.Initiate Auto Reboot 1000", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 601 | "lib_file_path": "utils.robot" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 602 | }, |
| 603 | # Run a "reboot" command on the OS_HOST. |
| 604 | "Host Reboot": { |
| 605 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 606 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 607 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 608 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 609 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 610 | "host": "^Running$", |
| 611 | "os_ping": "^1$", |
| 612 | "os_login": "^1$", |
| 613 | "os_run_cmd": "^1$" |
| 614 | }, |
| 615 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 616 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 617 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 618 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 619 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 620 | "host": "^Running$", |
| 621 | "os_ping": "^1$", |
| 622 | "os_login": "^1$", |
| 623 | "os_run_cmd": "^1$" |
| 624 | }, |
| 625 | "bmc_reboot": 0, |
| 626 | "method_type": "keyword", |
| 627 | "method": "utils.Initiate OS Host Reboot", |
| 628 | "lib_file_path": "utils.robot" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 629 | } |
| 630 | } |