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