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 | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 316 | # Run a "reboot" on the OBMC while host is off. |
| 317 | "OBMC Reboot (off)": { |
| 318 | "start": { |
| 319 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 320 | "chassis": "^Off$" |
| 321 | }, |
| 322 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 323 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 324 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 325 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 326 | "operating_system": "^Inactive$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 327 | "host": "^Off$" |
| 328 | }, |
| 329 | "bmc_reboot": 1, |
| 330 | "method_type": "keyword", |
Michael Walsh | e53e47a | 2017-06-30 17:03:24 -0500 | [diff] [blame] | 331 | "method": "BMC Execute Command /sbin/reboot fork=${1}" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 332 | }, |
Michael Walsh | 569141d | 2017-09-08 14:47:23 -0500 | [diff] [blame] | 333 | # Run a "reboot" on the OBMC while host is off. |
| 334 | "REST OBMC Reboot (off)": { |
| 335 | "start": { |
| 336 | "rest": "^1$", |
| 337 | "chassis": "^Off$" |
| 338 | }, |
| 339 | "end": { |
| 340 | "rest": "^1$", |
| 341 | "chassis": "^Off$", |
| 342 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 343 | "operating_system": "^Inactive$", |
Michael Walsh | 569141d | 2017-09-08 14:47:23 -0500 | [diff] [blame] | 344 | "host": "^Off$" |
| 345 | }, |
| 346 | "bmc_reboot": 1, |
| 347 | "method_type": "keyword", |
| 348 | "method": "Initiate BMC Reboot wait=${0}", |
| 349 | "lib_file_path": "state_manager.robot" |
| 350 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 351 | # Cycle AC via the PDU while host is off. |
| 352 | "PDU AC Cycle (run)": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 353 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 354 | "rest": "^1$", |
| 355 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 356 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 357 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 358 | "host": "^Running$", |
| 359 | "os_ping": "^1$", |
| 360 | "os_login": "^1$", |
| 361 | "os_run_cmd": "^1$" |
| 362 | }, |
| 363 | "end": { |
| 364 | "rest": "^1$", |
| 365 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 366 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 367 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 368 | "host": "^Running$", |
| 369 | "os_ping": "^1$", |
| 370 | "os_login": "^1$", |
| 371 | "os_run_cmd": "^1$" |
| 372 | }, |
| 373 | "bmc_reboot": 1, |
| 374 | "method_type": "keyword", |
| 375 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 376 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 377 | }, |
| 378 | # Cycle AC via the PDU while host is off. |
| 379 | "PDU AC Cycle (off)": { |
| 380 | "start": { |
| 381 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 382 | "chassis": "^Off$" |
| 383 | }, |
| 384 | "end": { |
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": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 387 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 388 | "operating_system": "^Inactive$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 389 | "host": "^Off$" |
| 390 | }, |
| 391 | "bmc_reboot": 1, |
| 392 | "method_type": "keyword", |
| 393 | "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", |
| 394 | "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" |
| 395 | }, |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 396 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 397 | # powered on. |
| 398 | "IPMI MC Reset Warm (run)": { |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 399 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 400 | "rest": "^1$", |
| 401 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 402 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 403 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 404 | "host": "^Running$", |
| 405 | "os_ping": "^1$", |
| 406 | "os_login": "^1$", |
| 407 | "os_run_cmd": "^1$" |
| 408 | }, |
| 409 | "end": { |
| 410 | "rest": "^1$", |
| 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 | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 413 | "operating_system": "^BootComplete$", |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 414 | "host": "^Running$", |
| 415 | "os_ping": "^1$", |
| 416 | "os_login": "^1$", |
| 417 | "os_run_cmd": "^1$" |
| 418 | }, |
| 419 | "bmc_reboot": 1, |
| 420 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 421 | "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] | 422 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 423 | }, |
| 424 | # Initiate an mc reset warm using the IPMI interface while chassis is |
| 425 | # powered off. |
| 426 | "IPMI MC Reset Warm (off)": { |
| 427 | "start": { |
| 428 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 429 | "chassis": "^Off$" |
| 430 | }, |
| 431 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 432 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 433 | "chassis": "^Off$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 434 | "boot_progress": "^Off|Unspecified$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 435 | "operating_system": "^Inactive$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 436 | "host": "^Off$" |
| 437 | }, |
| 438 | "bmc_reboot": 1, |
| 439 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 440 | "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] | 441 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 442 | }, |
Michael Walsh | 55b5c64 | 2018-03-16 14:21:13 -0500 | [diff] [blame] | 443 | # Initiate an mc reset cold using the IPMI interface while chassis is |
| 444 | # powered on. |
| 445 | "IPMI MC Reset Cold (run)": { |
| 446 | "start": { |
| 447 | "rest": "^1$", |
| 448 | "chassis": "^On$", |
| 449 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 450 | "operating_system": "^BootComplete$", |
| 451 | "host": "^Running$", |
| 452 | "os_ping": "^1$", |
| 453 | "os_login": "^1$", |
| 454 | "os_run_cmd": "^1$" |
| 455 | }, |
| 456 | "end": { |
| 457 | "rest": "^1$", |
| 458 | "chassis": "^On$", |
| 459 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 460 | "operating_system": "^BootComplete$", |
| 461 | "host": "^Running$", |
| 462 | "os_ping": "^1$", |
| 463 | "os_login": "^1$", |
| 464 | "os_run_cmd": "^1$" |
| 465 | }, |
| 466 | "bmc_reboot": 1, |
| 467 | "method_type": "keyword", |
| 468 | "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 469 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 470 | }, |
| 471 | # Initiate an mc reset cold using the IPMI interface while chassis is |
| 472 | # powered off. |
| 473 | "IPMI MC Reset Cold (off)": { |
| 474 | "start": { |
| 475 | "rest": "^1$", |
| 476 | "chassis": "^Off$" |
| 477 | }, |
| 478 | "end": { |
| 479 | "rest": "^1$", |
| 480 | "chassis": "^Off$", |
| 481 | "boot_progress": "^Off|Unspecified$", |
| 482 | "operating_system": "^Inactive$", |
| 483 | "host": "^Off$" |
| 484 | }, |
| 485 | "bmc_reboot": 1, |
| 486 | "method_type": "keyword", |
| 487 | "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 488 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 489 | }, |
| 490 | # Initiate an mc reset warm using the IPMI standard interface while chassis |
| 491 | # is powered on. |
| 492 | "IPMI Std MC Reset Warm (run)": { |
| 493 | "start": { |
| 494 | "rest": "^1$", |
| 495 | "chassis": "^On$", |
| 496 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 497 | "operating_system": "^BootComplete$", |
| 498 | "host": "^Running$", |
| 499 | "os_ping": "^1$", |
| 500 | "os_login": "^1$", |
| 501 | "os_run_cmd": "^1$" |
| 502 | }, |
| 503 | "end": { |
| 504 | "rest": "^1$", |
| 505 | "chassis": "^On$", |
| 506 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 507 | "operating_system": "^BootComplete$", |
| 508 | "host": "^Running$", |
| 509 | "os_ping": "^1$", |
| 510 | "os_login": "^1$", |
| 511 | "os_run_cmd": "^1$" |
| 512 | }, |
| 513 | "bmc_reboot": 1, |
| 514 | "method_type": "keyword", |
| 515 | "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
| 516 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 517 | }, |
| 518 | # Initiate an mc reset warm using the IPMI standard interface while chassis |
| 519 | # is powered off. |
| 520 | "IPMI Std MC Reset Warm (off)": { |
| 521 | "start": { |
| 522 | "rest": "^1$", |
| 523 | "chassis": "^Off$" |
| 524 | }, |
| 525 | "end": { |
| 526 | "rest": "^1$", |
| 527 | "chassis": "^Off$", |
| 528 | "boot_progress": "^Off|Unspecified$", |
| 529 | "operating_system": "^Inactive$", |
| 530 | "host": "^Off$" |
| 531 | }, |
| 532 | "bmc_reboot": 1, |
| 533 | "method_type": "keyword", |
| 534 | "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", |
| 535 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 536 | }, |
| 537 | # Initiate an mc reset cold using the IPMI standard interface while chassis |
| 538 | # is powered on. |
| 539 | "IPMI Std MC Reset Cold (run)": { |
| 540 | "start": { |
| 541 | "rest": "^1$", |
| 542 | "chassis": "^On$", |
| 543 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 544 | "operating_system": "^BootComplete$", |
| 545 | "host": "^Running$", |
| 546 | "os_ping": "^1$", |
| 547 | "os_login": "^1$", |
| 548 | "os_run_cmd": "^1$" |
| 549 | }, |
| 550 | "end": { |
| 551 | "rest": "^1$", |
| 552 | "chassis": "^On$", |
| 553 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 554 | "operating_system": "^BootComplete$", |
| 555 | "host": "^Running$", |
| 556 | "os_ping": "^1$", |
| 557 | "os_login": "^1$", |
| 558 | "os_run_cmd": "^1$" |
| 559 | }, |
| 560 | "bmc_reboot": 1, |
| 561 | "method_type": "keyword", |
| 562 | "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 563 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 564 | }, |
| 565 | # Initiate an mc reset cold using the IPMI standard interface while chassis |
| 566 | # is powered off. |
| 567 | "IPMI Std MC Reset Cold (off)": { |
| 568 | "start": { |
| 569 | "rest": "^1$", |
| 570 | "chassis": "^Off$" |
| 571 | }, |
| 572 | "end": { |
| 573 | "rest": "^1$", |
| 574 | "chassis": "^Off$", |
| 575 | "boot_progress": "^Off|Unspecified$", |
| 576 | "operating_system": "^Inactive$", |
| 577 | "host": "^Off$" |
| 578 | }, |
| 579 | "bmc_reboot": 1, |
| 580 | "method_type": "keyword", |
| 581 | "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", |
| 582 | "lib_file_path": "ipmi_client.robot:gen_print.py" |
| 583 | }, |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 584 | |
| 585 | # Host OS re-boot boot types: |
| 586 | |
| 587 | # Initiate a power cycle using the IPMI interface (equivalent to off/on). |
| 588 | "IPMI Power Cycle": { |
| 589 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 590 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 591 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 592 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 593 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 594 | "host": "^Running$", |
| 595 | "os_ping": "^1$", |
| 596 | "os_login": "^1$", |
| 597 | "os_run_cmd": "^1$" |
| 598 | }, |
| 599 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 600 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 601 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 602 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 603 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 604 | "host": "^Running$", |
| 605 | "os_ping": "^1$", |
| 606 | "os_login": "^1$", |
| 607 | "os_run_cmd": "^1$" |
| 608 | }, |
| 609 | "bmc_reboot": 0, |
| 610 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 611 | "method": "Run External IPMI Standard Command power cycle -N 10 -R 1", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 612 | "lib_file_path": "ipmi_client.robot" |
| 613 | }, |
| 614 | # Initiate a power reset using the IPMI interface (equivalent to off/on). |
| 615 | # Functionally equivalent to "IPMI Power Cycle". |
| 616 | "IPMI Power Reset": { |
| 617 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 618 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 619 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 620 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 621 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 622 | "host": "^Running$", |
| 623 | "os_ping": "^1$", |
| 624 | "os_login": "^1$", |
| 625 | "os_run_cmd": "^1$" |
| 626 | }, |
| 627 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 628 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 629 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 630 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 631 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 632 | "host": "^Running$", |
| 633 | "os_ping": "^1$", |
| 634 | "os_login": "^1$", |
| 635 | "os_run_cmd": "^1$" |
| 636 | }, |
| 637 | "bmc_reboot": 0, |
| 638 | "method_type": "keyword", |
Michael Walsh | 65450af | 2017-12-12 14:04:46 -0600 | [diff] [blame] | 639 | "method": "Run External IPMI Standard Command power reset -N 10 -R 1", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 640 | "lib_file_path": "ipmi_client.robot" |
| 641 | }, |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 642 | # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state. |
| 643 | "Auto Reboot": { |
| 644 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 645 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [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 | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 649 | "host": "^Running$", |
| 650 | "os_ping": "^1$", |
| 651 | "os_login": "^1$", |
| 652 | "os_run_cmd": "^1$" |
| 653 | }, |
| 654 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 655 | "rest": "^1$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 656 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 657 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 658 | "operating_system": "^BootComplete$", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 659 | "host": "^Running$", |
| 660 | "os_ping": "^1$", |
| 661 | "os_login": "^1$", |
| 662 | "os_run_cmd": "^1$" |
| 663 | }, |
| 664 | "bmc_reboot": 0, |
| 665 | "method_type": "keyword", |
Michael Walsh | 4ffd1a1 | 2018-03-14 10:35:44 -0500 | [diff] [blame] | 666 | "method": "utils.Initiate Auto Reboot 1000", |
Michael Walsh | 4aa8220 | 2017-03-02 14:45:49 -0600 | [diff] [blame] | 667 | "lib_file_path": "utils.robot" |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 668 | }, |
| 669 | # Run a "reboot" command on the OS_HOST. |
| 670 | "Host Reboot": { |
| 671 | "start": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 672 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 673 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 674 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 675 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 676 | "host": "^Running$", |
| 677 | "os_ping": "^1$", |
| 678 | "os_login": "^1$", |
| 679 | "os_run_cmd": "^1$" |
| 680 | }, |
| 681 | "end": { |
Michael Walsh | ffbc3d1 | 2017-03-31 09:32:00 -0500 | [diff] [blame] | 682 | "rest": "^1$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 683 | "chassis": "^On$", |
Michael Walsh | 22b9fe6 | 2017-09-01 14:57:31 -0500 | [diff] [blame] | 684 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
Michael Walsh | c6e40b0 | 2017-09-29 15:27:33 -0500 | [diff] [blame] | 685 | "operating_system": "^BootComplete$", |
Michael Walsh | 10e7eb3 | 2017-03-21 11:25:58 -0500 | [diff] [blame] | 686 | "host": "^Running$", |
| 687 | "os_ping": "^1$", |
| 688 | "os_login": "^1$", |
| 689 | "os_run_cmd": "^1$" |
| 690 | }, |
| 691 | "bmc_reboot": 0, |
| 692 | "method_type": "keyword", |
| 693 | "method": "utils.Initiate OS Host Reboot", |
| 694 | "lib_file_path": "utils.robot" |
Michael Walsh | 287a003 | 2019-02-14 18:00:20 -0600 | [diff] [blame] | 695 | }, |
| 696 | # Initiate host reboot using the Redfish API interface (GracefulRestart). |
| 697 | "Redfish Host Reboot": { |
| 698 | "start": { |
| 699 | "rest": "^1$", |
| 700 | "chassis": "^On$", |
| 701 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 702 | "operating_system": "^BootComplete$", |
| 703 | "host": "^Running$", |
| 704 | "os_ping": "^1$", |
| 705 | "os_login": "^1$", |
| 706 | "os_run_cmd": "^1$" |
| 707 | }, |
| 708 | "end": { |
| 709 | "rest": "^1$", |
| 710 | "chassis": "^On$", |
| 711 | "boot_progress": "^FW Progress, Starting OS|OSStart$", |
| 712 | "operating_system": "^BootComplete$", |
| 713 | "host": "^Running$", |
| 714 | "os_ping": "^1$", |
| 715 | "os_login": "^1$", |
| 716 | "os_run_cmd": "^1$" |
| 717 | }, |
| 718 | "bmc_reboot": 0, |
| 719 | "method_type": "keyword", |
| 720 | "method": "Redfish Power Operation GracefulRestart", |
| 721 | "lib_file_path": "bmc_redfish_utils.robot" |
Michael Walsh | da2d43c | 2017-02-20 16:04:59 -0600 | [diff] [blame] | 722 | } |
| 723 | } |