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 | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 10 | "host": "^Off$" |
| 11 | }, |
| 12 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 13 | "rest": "^1$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 14 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 15 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 16 | "host": "^Running$", |
| 17 | "os_ping": "^1$", |
| 18 | "os_login": "^1$", |
| 19 | "os_run_cmd": "^1$" |
| 20 | }, |
| 21 | "bmc_reboot": 0, |
| 22 | "method_type": "keyword", |
Michael Walsh | b099e62 | 2017-03-21 14:51:47 -0500 | [diff] [blame] | 23 | "method": "Initiate Host Boot wait=${0}", |
| 24 | "lib_file_path": "state_manager.robot" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 25 | }, |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 26 | # Initiate a power on using the IPMI interface. |
| 27 | "IPMI Power On": { |
| 28 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 29 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 30 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 31 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 32 | "host": "^Off$" |
| 33 | }, |
| 34 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 35 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 36 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 37 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 38 | "host": "^Running$", |
| 39 | "os_ping": "^1$", |
| 40 | "os_login": "^1$", |
| 41 | "os_run_cmd": "^1$" |
| 42 | }, |
| 43 | "bmc_reboot": 0, |
| 44 | "method_type": "keyword", |
| 45 | "method": "Run External IPMI Standard Command power on", |
| 46 | "lib_file_path": "ipmi_client.robot" |
| 47 | }, |
| 48 | |
| 49 | # Power off boot types: |
| 50 | |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 51 | # Initiate a power off using the REST API interface. |
| 52 | "REST Power Off": { |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 53 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 54 | "rest": "^1$", |
Michael Walsh | c213aa9 | 2017-04-12 16:00:33 -0500 | [diff] [blame] | 55 | "chassis": "^On$" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 56 | }, |
| 57 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 58 | "rest": "^1$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 59 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 60 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 61 | "host": "^Off$", |
| 62 | "os_ping": "^0$", |
| 63 | "os_login": "^0$", |
| 64 | "os_run_cmd": "^0$" |
| 65 | }, |
| 66 | "bmc_reboot": 0, |
| 67 | "method_type": "keyword", |
Michael Walsh | b099e62 | 2017-03-21 14:51:47 -0500 | [diff] [blame] | 68 | "method": "Initiate Host PowerOff wait=${0}", |
| 69 | "lib_file_path": "state_manager.robot" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 70 | }, |
Michael Walsh | 245db7c | 2017-09-05 15:45:03 -0500 | [diff] [blame] | 71 | # Initiate a hard power off using the REST API interface. |
| 72 | "REST Hard Power Off": { |
| 73 | "start": { |
| 74 | "rest": "^1$", |
| 75 | "chassis": "^On$" |
| 76 | }, |
| 77 | "end": { |
| 78 | "rest": "^1$", |
| 79 | "chassis": "^Off$", |
| 80 | "boot_progress": "^Off|Unspecified$", |
| 81 | "host": "^Off$", |
| 82 | "os_ping": "^0$", |
| 83 | "os_login": "^0$", |
| 84 | "os_run_cmd": "^0$" |
| 85 | }, |
| 86 | "bmc_reboot": 0, |
| 87 | "method_type": "keyword", |
| 88 | "method": "Hard Power Off wait=${0}", |
| 89 | "lib_file_path": "state_manager.robot" |
| 90 | }, |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 91 | # Initiate a power off using the IPMI interface. |
| 92 | "IPMI Power Off": { |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 93 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 94 | "rest": "^1$", |
Michael Walsh | c213aa9 | 2017-04-12 16:00:33 -0500 | [diff] [blame] | 95 | "chassis": "^On$" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 96 | }, |
| 97 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 98 | "rest": "^1$", |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 99 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 100 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 101 | "host": "^Off$", |
| 102 | "os_ping": "^0$", |
| 103 | "os_login": "^0$", |
| 104 | "os_run_cmd": "^0$" |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 105 | }, |
| 106 | "bmc_reboot": 0, |
| 107 | "method_type": "keyword", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 108 | "method": "Run External IPMI Standard Command power off", |
| 109 | "lib_file_path": "ipmi_client.robot" |
| 110 | }, |
| 111 | # Initiate a power soft using the IPMI interface. |
| 112 | "IPMI Power Soft": { |
| 113 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 114 | "rest": "^1$", |
Michael Walsh | c213aa9 | 2017-04-12 16:00:33 -0500 | [diff] [blame] | 115 | "chassis": "^On$" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 116 | }, |
| 117 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 118 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 119 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 120 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 121 | "host": "^Off$", |
| 122 | "os_ping": "^0$", |
| 123 | "os_login": "^0$", |
| 124 | "os_run_cmd": "^0$" |
| 125 | }, |
| 126 | "bmc_reboot": 0, |
| 127 | "method_type": "keyword", |
| 128 | "method": "Run External IPMI Standard Command power soft", |
| 129 | "lib_file_path": "ipmi_client.robot" |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 130 | }, |
| 131 | # Run a "shutdown" command on the OS_HOST. |
| 132 | "Host Power Off": { |
| 133 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 134 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 135 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 136 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 137 | "host": "^Running$", |
| 138 | "os_ping": "^1$", |
| 139 | "os_login": "^1$", |
| 140 | "os_run_cmd": "^1$" |
| 141 | }, |
| 142 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 143 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 144 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 145 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 146 | "host": "^Off$", |
| 147 | "os_ping": "^0$", |
| 148 | "os_login": "^0$", |
| 149 | "os_run_cmd": "^0$" |
| 150 | }, |
| 151 | "bmc_reboot": 0, |
| 152 | "method_type": "keyword", |
| 153 | "method": "utils.Initiate OS Host Power Off", |
| 154 | "lib_file_path": "utils.robot" |
| 155 | }, |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 156 | |
| 157 | # OBMC re-boot boot types: |
| 158 | |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 159 | # APOR - Auto Power On Restart - Note that this is functionally equivalent |
| 160 | # to 'PDU AC Cycle (run)'. |
| 161 | "APOR": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 162 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 163 | "rest": "^1$", |
| 164 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 165 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 166 | "host": "^Running$", |
| 167 | "os_ping": "^1$", |
| 168 | "os_login": "^1$", |
| 169 | "os_run_cmd": "^1$" |
| 170 | }, |
| 171 | "end": { |
| 172 | "rest": "^1$", |
| 173 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 174 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 175 | "host": "^Running$", |
| 176 | "os_ping": "^1$", |
| 177 | "os_login": "^1$", |
| 178 | "os_run_cmd": "^1$" |
| 179 | }, |
| 180 | "bmc_reboot": 1, |
| 181 | "method_type": "keyword", |
| 182 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 183 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 184 | }, |
| 185 | # Run a "reboot" on the OBMC while host is running. |
| 186 | "OBMC Reboot (run)": { |
| 187 | "start": { |
| 188 | "rest": "^1$", |
| 189 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 190 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 191 | "host": "^Running$", |
| 192 | "os_ping": "^1$", |
| 193 | "os_login": "^1$", |
| 194 | "os_run_cmd": "^1$" |
| 195 | }, |
| 196 | "end": { |
| 197 | "rest": "^1$", |
| 198 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 199 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 200 | "host": "^Running$", |
| 201 | "os_ping": "^1$", |
| 202 | "os_login": "^1$", |
| 203 | "os_run_cmd": "^1$" |
| 204 | }, |
| 205 | "bmc_reboot": 1, |
| 206 | "method_type": "keyword", |
Michael Walsh | e53e47a | 2017-06-30 17:03:24 -0500 | [diff] [blame] | 207 | "method": "BMC Execute Command /sbin/reboot fork=${1}" |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 208 | }, |
Michael Walsh | 569141d | 2017-09-08 14:47:23 -0500 | [diff] [blame] | 209 | # Run a REST "reboot" on the OBMC while host is running. |
| 210 | "REST OBMC Reboot (run)": { |
| 211 | "start": { |
| 212 | "rest": "^1$", |
| 213 | "chassis": "^On$", |
| 214 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 215 | "host": "^Running$", |
| 216 | "os_ping": "^1$", |
| 217 | "os_login": "^1$", |
| 218 | "os_run_cmd": "^1$" |
| 219 | }, |
| 220 | "end": { |
| 221 | "rest": "^1$", |
| 222 | "chassis": "^On$", |
| 223 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 224 | "host": "^Running$", |
| 225 | "os_ping": "^1$", |
| 226 | "os_login": "^1$", |
| 227 | "os_run_cmd": "^1$" |
| 228 | }, |
| 229 | "bmc_reboot": 1, |
| 230 | "method_type": "keyword", |
| 231 | "method": "Initiate BMC Reboot wait=${0}", |
| 232 | "lib_file_path": "state_manager.robot" |
| 233 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 234 | # Run a "reboot" on the OBMC while host is off. |
| 235 | "OBMC Reboot (off)": { |
| 236 | "start": { |
| 237 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 238 | "chassis": "^Off$" |
| 239 | }, |
| 240 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 241 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 242 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 243 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 244 | "host": "^Off$" |
| 245 | }, |
| 246 | "bmc_reboot": 1, |
| 247 | "method_type": "keyword", |
Michael Walsh | e53e47a | 2017-06-30 17:03:24 -0500 | [diff] [blame] | 248 | "method": "BMC Execute Command /sbin/reboot fork=${1}" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 249 | }, |
Michael Walsh | 569141d | 2017-09-08 14:47:23 -0500 | [diff] [blame] | 250 | # Run a "reboot" on the OBMC while host is off. |
| 251 | "REST OBMC Reboot (off)": { |
| 252 | "start": { |
| 253 | "rest": "^1$", |
| 254 | "chassis": "^Off$" |
| 255 | }, |
| 256 | "end": { |
| 257 | "rest": "^1$", |
| 258 | "chassis": "^Off$", |
| 259 | "boot_progress": "^Off|Unspecified$", |
| 260 | "host": "^Off$" |
| 261 | }, |
| 262 | "bmc_reboot": 1, |
| 263 | "method_type": "keyword", |
| 264 | "method": "Initiate BMC Reboot wait=${0}", |
| 265 | "lib_file_path": "state_manager.robot" |
| 266 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 267 | # Cycle AC via the PDU while host is off. |
| 268 | "PDU AC Cycle (run)": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 269 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 270 | "rest": "^1$", |
| 271 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 272 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 273 | "host": "^Running$", |
| 274 | "os_ping": "^1$", |
| 275 | "os_login": "^1$", |
| 276 | "os_run_cmd": "^1$" |
| 277 | }, |
| 278 | "end": { |
| 279 | "rest": "^1$", |
| 280 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 281 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 282 | "host": "^Running$", |
| 283 | "os_ping": "^1$", |
| 284 | "os_login": "^1$", |
| 285 | "os_run_cmd": "^1$" |
| 286 | }, |
| 287 | "bmc_reboot": 1, |
| 288 | "method_type": "keyword", |
| 289 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 290 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 291 | }, |
| 292 | # Cycle AC via the PDU while host is off. |
| 293 | "PDU AC Cycle (off)": { |
| 294 | "start": { |
| 295 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 296 | "chassis": "^Off$" |
| 297 | }, |
| 298 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 299 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 300 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 301 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 302 | "host": "^Off$" |
| 303 | }, |
| 304 | "bmc_reboot": 1, |
| 305 | "method_type": "keyword", |
| 306 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 307 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 308 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 309 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 310 | # powered on. |
| 311 | "IPMI MC Reset Warm (run)": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 312 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 313 | "rest": "^1$", |
| 314 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 315 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 316 | "host": "^Running$", |
| 317 | "os_ping": "^1$", |
| 318 | "os_login": "^1$", |
| 319 | "os_run_cmd": "^1$" |
| 320 | }, |
| 321 | "end": { |
| 322 | "rest": "^1$", |
| 323 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 324 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 325 | "host": "^Running$", |
| 326 | "os_ping": "^1$", |
| 327 | "os_login": "^1$", |
| 328 | "os_run_cmd": "^1$" |
| 329 | }, |
| 330 | "bmc_reboot": 1, |
| 331 | "method_type": "keyword", |
| 332 | "method": "Run External IPMI Standard Command mc reset warm ; Printn", |
| 333 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 334 | }, |
| 335 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 336 | # powered off. |
| 337 | "IPMI MC Reset Warm (off)": { |
| 338 | "start": { |
| 339 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 340 | "chassis": "^Off$" |
| 341 | }, |
| 342 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 343 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 344 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 345 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 346 | "host": "^Off$" |
| 347 | }, |
| 348 | "bmc_reboot": 1, |
| 349 | "method_type": "keyword", |
| 350 | "method": "Run External IPMI Standard Command mc reset warm ; Printn", |
| 351 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 352 | }, |
| 353 | |
| 354 | # Host OS re-boot boot types: |
| 355 | |
| 356 | # Initiate a power cycle using the IPMI interface (equivalent to off/on). |
| 357 | "IPMI Power Cycle": { |
| 358 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 359 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 360 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 361 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 362 | "host": "^Running$", |
| 363 | "os_ping": "^1$", |
| 364 | "os_login": "^1$", |
| 365 | "os_run_cmd": "^1$" |
| 366 | }, |
| 367 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 368 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 369 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 370 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 371 | "host": "^Running$", |
| 372 | "os_ping": "^1$", |
| 373 | "os_login": "^1$", |
| 374 | "os_run_cmd": "^1$" |
| 375 | }, |
| 376 | "bmc_reboot": 0, |
| 377 | "method_type": "keyword", |
| 378 | "method": "Run External IPMI Standard Command power cycle", |
| 379 | "lib_file_path": "ipmi_client.robot" |
| 380 | }, |
| 381 | # Initiate a power reset using the IPMI interface (equivalent to off/on). |
| 382 | # Functionally equivalent to "IPMI Power Cycle". |
| 383 | "IPMI Power Reset": { |
| 384 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 385 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 386 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 387 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 388 | "host": "^Running$", |
| 389 | "os_ping": "^1$", |
| 390 | "os_login": "^1$", |
| 391 | "os_run_cmd": "^1$" |
| 392 | }, |
| 393 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 394 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 395 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 396 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 397 | "host": "^Running$", |
| 398 | "os_ping": "^1$", |
| 399 | "os_login": "^1$", |
| 400 | "os_run_cmd": "^1$" |
| 401 | }, |
| 402 | "bmc_reboot": 0, |
| 403 | "method_type": "keyword", |
| 404 | "method": "Run External IPMI Standard Command power reset", |
| 405 | "lib_file_path": "ipmi_client.robot" |
| 406 | }, |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 407 | # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state. |
| 408 | "Auto Reboot": { |
| 409 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 410 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 411 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 412 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 413 | "host": "^Running$", |
| 414 | "os_ping": "^1$", |
| 415 | "os_login": "^1$", |
| 416 | "os_run_cmd": "^1$" |
| 417 | }, |
| 418 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 419 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 420 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 421 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 422 | "host": "^Running$", |
| 423 | "os_ping": "^1$", |
| 424 | "os_login": "^1$", |
| 425 | "os_run_cmd": "^1$" |
| 426 | }, |
| 427 | "bmc_reboot": 0, |
| 428 | "method_type": "keyword", |
| 429 | "method": "utils.Initiate Auto Reboot", |
| 430 | "lib_file_path": "utils.robot" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 431 | }, |
| 432 | # Run a "reboot" command on the OS_HOST. |
| 433 | "Host Reboot": { |
| 434 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 435 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 436 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 437 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 438 | "host": "^Running$", |
| 439 | "os_ping": "^1$", |
| 440 | "os_login": "^1$", |
| 441 | "os_run_cmd": "^1$" |
| 442 | }, |
| 443 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 444 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 445 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 446 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 447 | "host": "^Running$", |
| 448 | "os_ping": "^1$", |
| 449 | "os_login": "^1$", |
| 450 | "os_run_cmd": "^1$" |
| 451 | }, |
| 452 | "bmc_reboot": 0, |
| 453 | "method_type": "keyword", |
| 454 | "method": "utils.Initiate OS Host Reboot", |
| 455 | "lib_file_path": "utils.robot" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 456 | } |
| 457 | } |