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