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 | }, |
| 209 | # Run a "reboot" on the OBMC while host is off. |
| 210 | "OBMC Reboot (off)": { |
| 211 | "start": { |
| 212 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 213 | "chassis": "^Off$" |
| 214 | }, |
| 215 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 216 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 217 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 218 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 219 | "host": "^Off$" |
| 220 | }, |
| 221 | "bmc_reboot": 1, |
| 222 | "method_type": "keyword", |
Michael Walsh | e53e47a | 2017-06-30 17:03:24 -0500 | [diff] [blame] | 223 | "method": "BMC Execute Command /sbin/reboot fork=${1}" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 224 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 225 | # Cycle AC via the PDU while host is off. |
| 226 | "PDU AC Cycle (run)": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 227 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 228 | "rest": "^1$", |
| 229 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 230 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 231 | "host": "^Running$", |
| 232 | "os_ping": "^1$", |
| 233 | "os_login": "^1$", |
| 234 | "os_run_cmd": "^1$" |
| 235 | }, |
| 236 | "end": { |
| 237 | "rest": "^1$", |
| 238 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 239 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -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": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 248 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 249 | }, |
| 250 | # Cycle AC via the PDU while host is off. |
| 251 | "PDU AC Cycle (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 | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 260 | "host": "^Off$" |
| 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 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 267 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 268 | # powered on. |
| 269 | "IPMI MC Reset Warm (run)": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 270 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 271 | "rest": "^1$", |
| 272 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 273 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 274 | "host": "^Running$", |
| 275 | "os_ping": "^1$", |
| 276 | "os_login": "^1$", |
| 277 | "os_run_cmd": "^1$" |
| 278 | }, |
| 279 | "end": { |
| 280 | "rest": "^1$", |
| 281 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 282 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 283 | "host": "^Running$", |
| 284 | "os_ping": "^1$", |
| 285 | "os_login": "^1$", |
| 286 | "os_run_cmd": "^1$" |
| 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 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 294 | # powered off. |
| 295 | "IPMI MC Reset Warm (off)": { |
| 296 | "start": { |
| 297 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 298 | "chassis": "^Off$" |
| 299 | }, |
| 300 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 301 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 302 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 303 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 304 | "host": "^Off$" |
| 305 | }, |
| 306 | "bmc_reboot": 1, |
| 307 | "method_type": "keyword", |
| 308 | "method": "Run External IPMI Standard Command mc reset warm ; Printn", |
| 309 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 310 | }, |
| 311 | |
| 312 | # Host OS re-boot boot types: |
| 313 | |
| 314 | # Initiate a power cycle using the IPMI interface (equivalent to off/on). |
| 315 | "IPMI Power Cycle": { |
| 316 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 317 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 318 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 319 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 320 | "host": "^Running$", |
| 321 | "os_ping": "^1$", |
| 322 | "os_login": "^1$", |
| 323 | "os_run_cmd": "^1$" |
| 324 | }, |
| 325 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 326 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 327 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 328 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 329 | "host": "^Running$", |
| 330 | "os_ping": "^1$", |
| 331 | "os_login": "^1$", |
| 332 | "os_run_cmd": "^1$" |
| 333 | }, |
| 334 | "bmc_reboot": 0, |
| 335 | "method_type": "keyword", |
| 336 | "method": "Run External IPMI Standard Command power cycle", |
| 337 | "lib_file_path": "ipmi_client.robot" |
| 338 | }, |
| 339 | # Initiate a power reset using the IPMI interface (equivalent to off/on). |
| 340 | # Functionally equivalent to "IPMI Power Cycle". |
| 341 | "IPMI Power Reset": { |
| 342 | "start": { |
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": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 345 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 346 | "host": "^Running$", |
| 347 | "os_ping": "^1$", |
| 348 | "os_login": "^1$", |
| 349 | "os_run_cmd": "^1$" |
| 350 | }, |
| 351 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 352 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 353 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 354 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 355 | "host": "^Running$", |
| 356 | "os_ping": "^1$", |
| 357 | "os_login": "^1$", |
| 358 | "os_run_cmd": "^1$" |
| 359 | }, |
| 360 | "bmc_reboot": 0, |
| 361 | "method_type": "keyword", |
| 362 | "method": "Run External IPMI Standard Command power reset", |
| 363 | "lib_file_path": "ipmi_client.robot" |
| 364 | }, |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 365 | # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state. |
| 366 | "Auto Reboot": { |
| 367 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 368 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [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 | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 371 | "host": "^Running$", |
| 372 | "os_ping": "^1$", |
| 373 | "os_login": "^1$", |
| 374 | "os_run_cmd": "^1$" |
| 375 | }, |
| 376 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 377 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 378 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 379 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 380 | "host": "^Running$", |
| 381 | "os_ping": "^1$", |
| 382 | "os_login": "^1$", |
| 383 | "os_run_cmd": "^1$" |
| 384 | }, |
| 385 | "bmc_reboot": 0, |
| 386 | "method_type": "keyword", |
| 387 | "method": "utils.Initiate Auto Reboot", |
| 388 | "lib_file_path": "utils.robot" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 389 | }, |
| 390 | # Run a "reboot" command on the OS_HOST. |
| 391 | "Host Reboot": { |
| 392 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 393 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 394 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 395 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 396 | "host": "^Running$", |
| 397 | "os_ping": "^1$", |
| 398 | "os_login": "^1$", |
| 399 | "os_run_cmd": "^1$" |
| 400 | }, |
| 401 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 402 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 403 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 404 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 405 | "host": "^Running$", |
| 406 | "os_ping": "^1$", |
| 407 | "os_login": "^1$", |
| 408 | "os_run_cmd": "^1$" |
| 409 | }, |
| 410 | "bmc_reboot": 0, |
| 411 | "method_type": "keyword", |
| 412 | "method": "utils.Initiate OS Host Reboot", |
| 413 | "lib_file_path": "utils.robot" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 414 | } |
| 415 | } |