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