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 "boot_progress": "^Off|Unspecified$", 10 "operating_system": "^Inactive$", 11 "host": "^Off$" 12 }, 13 "end": { 14 "rest": "^1$", 15 "chassis": "^On$", 16 "boot_progress": "^FW Progress, Starting OS|OSStart$", 17 "operating_system": "^BootComplete$", 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", 25 "method": "Initiate Host Boot wait=${0}", 26 "lib_file_path": "state_manager.robot" 27 }, 28 # Initiate a power on using the IPMI interface. 29 "IPMI 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": "Run External IPMI Standard Command power on -N 10 -R 1", 50 "lib_file_path": "ipmi_client.robot" 51 }, 52 53 # Power off boot types: 54 55 # Initiate a power off using the REST API interface. 56 "REST Power Off": { 57 "start": { 58 "rest": "^1$", 59 "chassis": "^On$" 60 }, 61 "end": { 62 "rest": "^1$", 63 "chassis": "^Off$", 64 "boot_progress": "^Off|Unspecified$", 65 "operating_system": "^Inactive$", 66 "host": "^Off$", 67 "os_ping": "^0$", 68 "os_login": "^0$", 69 "os_run_cmd": "^0$" 70 }, 71 "bmc_reboot": 0, 72 "method_type": "keyword", 73 "method": "Initiate Host PowerOff wait=${0}", 74 "lib_file_path": "state_manager.robot" 75 }, 76 # Initiate a hard power off using the REST API interface. 77 "REST Hard Power Off": { 78 "start": { 79 "rest": "^1$", 80 "chassis": "^On$" 81 }, 82 "end": { 83 "rest": "^1$", 84 "chassis": "^Off$", 85 "boot_progress": "^Off|Unspecified$", 86 "operating_system": "^Inactive$", 87 "host": "^Off$", 88 "os_ping": "^0$", 89 "os_login": "^0$", 90 "os_run_cmd": "^0$" 91 }, 92 "bmc_reboot": 0, 93 "method_type": "keyword", 94 "method": "Hard Power Off wait=${0}", 95 "lib_file_path": "state_manager.robot" 96 }, 97 # Initiate a power off using the IPMI interface. 98 "IPMI Power Off": { 99 "start": { 100 "rest": "^1$", 101 "chassis": "^On$" 102 }, 103 "end": { 104 "rest": "^1$", 105 "chassis": "^Off$", 106 "boot_progress": "^Off|Unspecified$", 107 "operating_system": "^Inactive$", 108 "host": "^Off$", 109 "os_ping": "^0$", 110 "os_login": "^0$", 111 "os_run_cmd": "^0$" 112 }, 113 "bmc_reboot": 0, 114 "method_type": "keyword", 115 "method": "Run External IPMI Standard Command power off -N 10 -R 1", 116 "lib_file_path": "ipmi_client.robot" 117 }, 118 # Initiate a power soft using the IPMI interface. 119 "IPMI Power Soft": { 120 "start": { 121 "rest": "^1$", 122 "chassis": "^On$" 123 }, 124 "end": { 125 "rest": "^1$", 126 "chassis": "^Off$", 127 "boot_progress": "^Off|Unspecified$", 128 "operating_system": "^Inactive$", 129 "host": "^Off$", 130 "os_ping": "^0$", 131 "os_login": "^0$", 132 "os_run_cmd": "^0$" 133 }, 134 "bmc_reboot": 0, 135 "method_type": "keyword", 136 "method": "Run External IPMI Standard Command power soft -N 10 -R 1", 137 "lib_file_path": "ipmi_client.robot" 138 }, 139 # Run a "shutdown" command on the OS_HOST. 140 "Host Power Off": { 141 "start": { 142 "rest": "^1$", 143 "chassis": "^On$", 144 "boot_progress": "^FW Progress, Starting OS|OSStart$", 145 "operating_system": "^BootComplete$", 146 "host": "^Running$", 147 "os_ping": "^1$", 148 "os_login": "^1$", 149 "os_run_cmd": "^1$" 150 }, 151 "end": { 152 "rest": "^1$", 153 "chassis": "^Off$", 154 "boot_progress": "^Off|Unspecified$", 155 "operating_system": "^Inactive$", 156 "host": "^Off$", 157 "os_ping": "^0$", 158 "os_login": "^0$", 159 "os_run_cmd": "^0$" 160 }, 161 "bmc_reboot": 0, 162 "method_type": "keyword", 163 "method": "utils.Initiate OS Host Power Off", 164 "lib_file_path": "utils.robot" 165 }, 166 167 # OBMC re-boot boot types: 168 169 # APOR - Auto Power On Restart - Note that this is functionally equivalent 170 # to 'PDU AC Cycle (run)'. 171 "APOR": { 172 "start": { 173 "rest": "^1$", 174 "chassis": "^On$", 175 "boot_progress": "^FW Progress, Starting OS|OSStart$", 176 "operating_system": "^BootComplete$", 177 "host": "^Running$", 178 "os_ping": "^1$", 179 "os_login": "^1$", 180 "os_run_cmd": "^1$" 181 }, 182 "end": { 183 "rest": "^1$", 184 "chassis": "^On$", 185 "boot_progress": "^FW Progress, Starting OS|OSStart$", 186 "operating_system": "^BootComplete$", 187 "host": "^Running$", 188 "os_ping": "^1$", 189 "os_login": "^1$", 190 "os_run_cmd": "^1$" 191 }, 192 "bmc_reboot": 1, 193 "method_type": "keyword", 194 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", 195 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" 196 }, 197 # Run a "reboot" on the OBMC while host is running. 198 "OBMC Reboot (run)": { 199 "start": { 200 "rest": "^1$", 201 "chassis": "^On$", 202 "boot_progress": "^FW Progress, Starting OS|OSStart$", 203 "operating_system": "^BootComplete$", 204 "host": "^Running$", 205 "os_ping": "^1$", 206 "os_login": "^1$", 207 "os_run_cmd": "^1$" 208 }, 209 "end": { 210 "rest": "^1$", 211 "chassis": "^On$", 212 "boot_progress": "^FW Progress, Starting OS|OSStart$", 213 "operating_system": "^BootComplete$", 214 "host": "^Running$", 215 "os_ping": "^1$", 216 "os_login": "^1$", 217 "os_run_cmd": "^1$" 218 }, 219 "bmc_reboot": 1, 220 "method_type": "keyword", 221 "method": "BMC Execute Command /sbin/reboot fork=${1}" 222 }, 223 # Run a REST "reboot" on the OBMC while host is running. 224 "REST OBMC Reboot (run)": { 225 "start": { 226 "rest": "^1$", 227 "chassis": "^On$", 228 "boot_progress": "^FW Progress, Starting OS|OSStart$", 229 "operating_system": "^BootComplete$", 230 "host": "^Running$", 231 "os_ping": "^1$", 232 "os_login": "^1$", 233 "os_run_cmd": "^1$" 234 }, 235 "end": { 236 "rest": "^1$", 237 "chassis": "^On$", 238 "boot_progress": "^FW Progress, Starting OS|OSStart$", 239 "operating_system": "^BootComplete$", 240 "host": "^Running$", 241 "os_ping": "^1$", 242 "os_login": "^1$", 243 "os_run_cmd": "^1$" 244 }, 245 "bmc_reboot": 1, 246 "method_type": "keyword", 247 "method": "Initiate BMC Reboot wait=${0}", 248 "lib_file_path": "state_manager.robot" 249 }, 250 # Run a "reboot" on the OBMC while host is off. 251 "OBMC Reboot (off)": { 252 "start": { 253 "rest": "^1$", 254 "chassis": "^Off$" 255 }, 256 "end": { 257 "rest": "^1$", 258 "chassis": "^Off$", 259 "boot_progress": "^Off|Unspecified$", 260 "operating_system": "^Inactive$", 261 "host": "^Off$" 262 }, 263 "bmc_reboot": 1, 264 "method_type": "keyword", 265 "method": "BMC Execute Command /sbin/reboot fork=${1}" 266 }, 267 # Run a "reboot" on the OBMC while host is off. 268 "REST OBMC Reboot (off)": { 269 "start": { 270 "rest": "^1$", 271 "chassis": "^Off$" 272 }, 273 "end": { 274 "rest": "^1$", 275 "chassis": "^Off$", 276 "boot_progress": "^Off|Unspecified$", 277 "operating_system": "^Inactive$", 278 "host": "^Off$" 279 }, 280 "bmc_reboot": 1, 281 "method_type": "keyword", 282 "method": "Initiate BMC Reboot wait=${0}", 283 "lib_file_path": "state_manager.robot" 284 }, 285 # Cycle AC via the PDU while host is off. 286 "PDU AC Cycle (run)": { 287 "start": { 288 "rest": "^1$", 289 "chassis": "^On$", 290 "boot_progress": "^FW Progress, Starting OS|OSStart$", 291 "operating_system": "^BootComplete$", 292 "host": "^Running$", 293 "os_ping": "^1$", 294 "os_login": "^1$", 295 "os_run_cmd": "^1$" 296 }, 297 "end": { 298 "rest": "^1$", 299 "chassis": "^On$", 300 "boot_progress": "^FW Progress, Starting OS|OSStart$", 301 "operating_system": "^BootComplete$", 302 "host": "^Running$", 303 "os_ping": "^1$", 304 "os_login": "^1$", 305 "os_run_cmd": "^1$" 306 }, 307 "bmc_reboot": 1, 308 "method_type": "keyword", 309 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", 310 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" 311 }, 312 # Cycle AC via the PDU while host is off. 313 "PDU AC Cycle (off)": { 314 "start": { 315 "rest": "^1$", 316 "chassis": "^Off$" 317 }, 318 "end": { 319 "rest": "^1$", 320 "chassis": "^Off$", 321 "boot_progress": "^Off|Unspecified$", 322 "operating_system": "^Inactive$", 323 "host": "^Off$" 324 }, 325 "bmc_reboot": 1, 326 "method_type": "keyword", 327 "method": "Set Global Variable ${PDU_TYPE} pdu ; Set Global Variable ${PDU_IP} ${PDU_HOST} ; PDU Power Cycle", 328 "lib_file_path": "pdu/pdu.robot:pdu/synaccess.robot" 329 }, 330 # Initiate an mc reset warm using the IPMI interface while chassis is 331 # powered on. 332 "IPMI MC Reset Warm (run)": { 333 "start": { 334 "rest": "^1$", 335 "chassis": "^On$", 336 "boot_progress": "^FW Progress, Starting OS|OSStart$", 337 "operating_system": "^BootComplete$", 338 "host": "^Running$", 339 "os_ping": "^1$", 340 "os_login": "^1$", 341 "os_run_cmd": "^1$" 342 }, 343 "end": { 344 "rest": "^1$", 345 "chassis": "^On$", 346 "boot_progress": "^FW Progress, Starting OS|OSStart$", 347 "operating_system": "^BootComplete$", 348 "host": "^Running$", 349 "os_ping": "^1$", 350 "os_login": "^1$", 351 "os_run_cmd": "^1$" 352 }, 353 "bmc_reboot": 1, 354 "method_type": "keyword", 355 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", 356 "lib_file_path": "ipmi_client.robot:gen_print.py" 357 }, 358 # Initiate an mc reset warm using the IPMI interface while chassis is 359 # powered off. 360 "IPMI MC Reset Warm (off)": { 361 "start": { 362 "rest": "^1$", 363 "chassis": "^Off$" 364 }, 365 "end": { 366 "rest": "^1$", 367 "chassis": "^Off$", 368 "boot_progress": "^Off|Unspecified$", 369 "operating_system": "^Inactive$", 370 "host": "^Off$" 371 }, 372 "bmc_reboot": 1, 373 "method_type": "keyword", 374 "method": "Run External IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", 375 "lib_file_path": "ipmi_client.robot:gen_print.py" 376 }, 377 # Initiate an mc reset cold using the IPMI interface while chassis is 378 # powered on. 379 "IPMI MC Reset Cold (run)": { 380 "start": { 381 "rest": "^1$", 382 "chassis": "^On$", 383 "boot_progress": "^FW Progress, Starting OS|OSStart$", 384 "operating_system": "^BootComplete$", 385 "host": "^Running$", 386 "os_ping": "^1$", 387 "os_login": "^1$", 388 "os_run_cmd": "^1$" 389 }, 390 "end": { 391 "rest": "^1$", 392 "chassis": "^On$", 393 "boot_progress": "^FW Progress, Starting OS|OSStart$", 394 "operating_system": "^BootComplete$", 395 "host": "^Running$", 396 "os_ping": "^1$", 397 "os_login": "^1$", 398 "os_run_cmd": "^1$" 399 }, 400 "bmc_reboot": 1, 401 "method_type": "keyword", 402 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", 403 "lib_file_path": "ipmi_client.robot:gen_print.py" 404 }, 405 # Initiate an mc reset cold using the IPMI interface while chassis is 406 # powered off. 407 "IPMI MC Reset Cold (off)": { 408 "start": { 409 "rest": "^1$", 410 "chassis": "^Off$" 411 }, 412 "end": { 413 "rest": "^1$", 414 "chassis": "^Off$", 415 "boot_progress": "^Off|Unspecified$", 416 "operating_system": "^Inactive$", 417 "host": "^Off$" 418 }, 419 "bmc_reboot": 1, 420 "method_type": "keyword", 421 "method": "Run External IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", 422 "lib_file_path": "ipmi_client.robot:gen_print.py" 423 }, 424 # Initiate an mc reset warm using the IPMI standard interface while chassis 425 # is powered on. 426 "IPMI Std MC Reset Warm (run)": { 427 "start": { 428 "rest": "^1$", 429 "chassis": "^On$", 430 "boot_progress": "^FW Progress, Starting OS|OSStart$", 431 "operating_system": "^BootComplete$", 432 "host": "^Running$", 433 "os_ping": "^1$", 434 "os_login": "^1$", 435 "os_run_cmd": "^1$" 436 }, 437 "end": { 438 "rest": "^1$", 439 "chassis": "^On$", 440 "boot_progress": "^FW Progress, Starting OS|OSStart$", 441 "operating_system": "^BootComplete$", 442 "host": "^Running$", 443 "os_ping": "^1$", 444 "os_login": "^1$", 445 "os_run_cmd": "^1$" 446 }, 447 "bmc_reboot": 1, 448 "method_type": "keyword", 449 "method": "Run IPMI Standard Command mc reset warm -N 10 -R 1 ; Printn", 450 "lib_file_path": "ipmi_client.robot:gen_print.py" 451 }, 452 # Initiate an mc reset warm using the IPMI standard interface while chassis 453 # is powered off. 454 "IPMI Std MC Reset Warm (off)": { 455 "start": { 456 "rest": "^1$", 457 "chassis": "^Off$" 458 }, 459 "end": { 460 "rest": "^1$", 461 "chassis": "^Off$", 462 "boot_progress": "^Off|Unspecified$", 463 "operating_system": "^Inactive$", 464 "host": "^Off$" 465 }, 466 "bmc_reboot": 1, 467 "method_type": "keyword", 468 "method": "Run IPMI Standard Command mc reset warm -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 standard interface while chassis 472 # is powered on. 473 "IPMI Std MC Reset Cold (run)": { 474 "start": { 475 "rest": "^1$", 476 "chassis": "^On$", 477 "boot_progress": "^FW Progress, Starting OS|OSStart$", 478 "operating_system": "^BootComplete$", 479 "host": "^Running$", 480 "os_ping": "^1$", 481 "os_login": "^1$", 482 "os_run_cmd": "^1$" 483 }, 484 "end": { 485 "rest": "^1$", 486 "chassis": "^On$", 487 "boot_progress": "^FW Progress, Starting OS|OSStart$", 488 "operating_system": "^BootComplete$", 489 "host": "^Running$", 490 "os_ping": "^1$", 491 "os_login": "^1$", 492 "os_run_cmd": "^1$" 493 }, 494 "bmc_reboot": 1, 495 "method_type": "keyword", 496 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", 497 "lib_file_path": "ipmi_client.robot:gen_print.py" 498 }, 499 # Initiate an mc reset cold using the IPMI standard interface while chassis 500 # is powered off. 501 "IPMI Std MC Reset Cold (off)": { 502 "start": { 503 "rest": "^1$", 504 "chassis": "^Off$" 505 }, 506 "end": { 507 "rest": "^1$", 508 "chassis": "^Off$", 509 "boot_progress": "^Off|Unspecified$", 510 "operating_system": "^Inactive$", 511 "host": "^Off$" 512 }, 513 "bmc_reboot": 1, 514 "method_type": "keyword", 515 "method": "Run IPMI Standard Command mc reset cold -N 10 -R 1 ; Printn", 516 "lib_file_path": "ipmi_client.robot:gen_print.py" 517 }, 518 519 # Host OS re-boot boot types: 520 521 # Initiate a power cycle using the IPMI interface (equivalent to off/on). 522 "IPMI Power Cycle": { 523 "start": { 524 "rest": "^1$", 525 "chassis": "^On$", 526 "boot_progress": "^FW Progress, Starting OS|OSStart$", 527 "operating_system": "^BootComplete$", 528 "host": "^Running$", 529 "os_ping": "^1$", 530 "os_login": "^1$", 531 "os_run_cmd": "^1$" 532 }, 533 "end": { 534 "rest": "^1$", 535 "chassis": "^On$", 536 "boot_progress": "^FW Progress, Starting OS|OSStart$", 537 "operating_system": "^BootComplete$", 538 "host": "^Running$", 539 "os_ping": "^1$", 540 "os_login": "^1$", 541 "os_run_cmd": "^1$" 542 }, 543 "bmc_reboot": 0, 544 "method_type": "keyword", 545 "method": "Run External IPMI Standard Command power cycle -N 10 -R 1", 546 "lib_file_path": "ipmi_client.robot" 547 }, 548 # Initiate a power reset using the IPMI interface (equivalent to off/on). 549 # Functionally equivalent to "IPMI Power Cycle". 550 "IPMI Power Reset": { 551 "start": { 552 "rest": "^1$", 553 "chassis": "^On$", 554 "boot_progress": "^FW Progress, Starting OS|OSStart$", 555 "operating_system": "^BootComplete$", 556 "host": "^Running$", 557 "os_ping": "^1$", 558 "os_login": "^1$", 559 "os_run_cmd": "^1$" 560 }, 561 "end": { 562 "rest": "^1$", 563 "chassis": "^On$", 564 "boot_progress": "^FW Progress, Starting OS|OSStart$", 565 "operating_system": "^BootComplete$", 566 "host": "^Running$", 567 "os_ping": "^1$", 568 "os_login": "^1$", 569 "os_run_cmd": "^1$" 570 }, 571 "bmc_reboot": 0, 572 "method_type": "keyword", 573 "method": "Run External IPMI Standard Command power reset -N 10 -R 1", 574 "lib_file_path": "ipmi_client.robot" 575 }, 576 # Do an auto reboot by setting auto reboot to "yes" and going to quiesce state. 577 "Auto Reboot": { 578 "start": { 579 "rest": "^1$", 580 "chassis": "^On$", 581 "boot_progress": "^FW Progress, Starting OS|OSStart$", 582 "operating_system": "^BootComplete$", 583 "host": "^Running$", 584 "os_ping": "^1$", 585 "os_login": "^1$", 586 "os_run_cmd": "^1$" 587 }, 588 "end": { 589 "rest": "^1$", 590 "chassis": "^On$", 591 "boot_progress": "^FW Progress, Starting OS|OSStart$", 592 "operating_system": "^BootComplete$", 593 "host": "^Running$", 594 "os_ping": "^1$", 595 "os_login": "^1$", 596 "os_run_cmd": "^1$" 597 }, 598 "bmc_reboot": 0, 599 "method_type": "keyword", 600 "method": "utils.Initiate Auto Reboot 1000", 601 "lib_file_path": "utils.robot" 602 }, 603 # Run a "reboot" command on the OS_HOST. 604 "Host Reboot": { 605 "start": { 606 "rest": "^1$", 607 "chassis": "^On$", 608 "boot_progress": "^FW Progress, Starting OS|OSStart$", 609 "operating_system": "^BootComplete$", 610 "host": "^Running$", 611 "os_ping": "^1$", 612 "os_login": "^1$", 613 "os_run_cmd": "^1$" 614 }, 615 "end": { 616 "rest": "^1$", 617 "chassis": "^On$", 618 "boot_progress": "^FW Progress, Starting OS|OSStart$", 619 "operating_system": "^BootComplete$", 620 "host": "^Running$", 621 "os_ping": "^1$", 622 "os_login": "^1$", 623 "os_run_cmd": "^1$" 624 }, 625 "bmc_reboot": 0, 626 "method_type": "keyword", 627 "method": "utils.Initiate OS Host Reboot", 628 "lib_file_path": "utils.robot" 629 } 630} 631