1800b3922SMichael Walsh*** Settings *** 2800b3922SMichael WalshDocumentation This module provides one wrapper keyword for each kind of boot 3800b3922SMichael Walsh... test supported by obmc_boot_test.py. 4800b3922SMichael Walsh 5800b3922SMichael WalshResource ../extended/obmc_boot_test_resource.robot 6800b3922SMichael Walsh 7800b3922SMichael Walsh*** Keywords *** 8800b3922SMichael WalshREST Power On 9800b3922SMichael Walsh [Documentation] Do "REST Power On" boot test. 10ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 11800b3922SMichael Walsh 12ff340006SMichael Walsh # Description of argument(s): 13ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 14ff340006SMichael Walsh # specified in the boot_stack is only 15ff340006SMichael Walsh # performed if the machine is not already in 16ff340006SMichael Walsh # the state that would normally result from 17ff340006SMichael Walsh # running the given boot test. Otherwise, 18ff340006SMichael Walsh # the test is skipped. If stack_mode is set 19ff340006SMichael Walsh # to "normal", all tests from the boot_stack 20ff340006SMichael Walsh # are performed. "skip" mode is useful when 21ff340006SMichael Walsh # you simply want the machine in a desired 22ff340006SMichael Walsh # state. The default value is the global 23ff340006SMichael Walsh # value of "${stack_mode}" 24ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 25ff340006SMichael Walsh # keyword will print only essential 26ff340006SMichael Walsh # information. The default value is the 27ff340006SMichael Walsh # global value of "${quiet}" 28ff340006SMichael Walsh 29ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=REST Power On 30ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 31ff340006SMichael Walsh Run Key U ${cmd_buf} 32800b3922SMichael Walsh 33800b3922SMichael Walsh 34*287a003aSMichael WalshRedfish Power On 35*287a003aSMichael Walsh [Documentation] Do "Redfish Power On" boot test. 36*287a003aSMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 37*287a003aSMichael Walsh 38*287a003aSMichael Walsh # Description of argument(s): 39*287a003aSMichael Walsh # stack_mode If stack_mode is set to "skip", each test 40*287a003aSMichael Walsh # specified in the boot_stack is only 41*287a003aSMichael Walsh # performed if the machine is not already in 42*287a003aSMichael Walsh # the state that would normally result from 43*287a003aSMichael Walsh # running the given boot test. Otherwise, 44*287a003aSMichael Walsh # the test is skipped. If stack_mode is set 45*287a003aSMichael Walsh # to "normal", all tests from the boot_stack 46*287a003aSMichael Walsh # are performed. "skip" mode is useful when 47*287a003aSMichael Walsh # you simply want the machine in a desired 48*287a003aSMichael Walsh # state. The default value is the global 49*287a003aSMichael Walsh # value of "${stack_mode}" 50*287a003aSMichael Walsh # quiet If this parameter is set to ${1}, this 51*287a003aSMichael Walsh # keyword will print only essential 52*287a003aSMichael Walsh # information. The default value is the 53*287a003aSMichael Walsh # global value of "${quiet}" 54*287a003aSMichael Walsh 55*287a003aSMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=Redfish Power On 56*287a003aSMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 57*287a003aSMichael Walsh Run Key U ${cmd_buf} 58*287a003aSMichael Walsh 59*287a003aSMichael Walsh 60800b3922SMichael WalshIPMI Power On 61800b3922SMichael Walsh [Documentation] Do "IPMI Power On" boot test. 62ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 63800b3922SMichael Walsh 64ff340006SMichael Walsh # Description of argument(s): 65ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 66ff340006SMichael Walsh # specified in the boot_stack is only 67ff340006SMichael Walsh # performed if the machine is not already in 68ff340006SMichael Walsh # the state that would normally result from 69ff340006SMichael Walsh # running the given boot test. Otherwise, 70ff340006SMichael Walsh # the test is skipped. If stack_mode is set 71ff340006SMichael Walsh # to "normal", all tests from the boot_stack 72ff340006SMichael Walsh # are performed. "skip" mode is useful when 73ff340006SMichael Walsh # you simply want the machine in a desired 74ff340006SMichael Walsh # state. The default value is the global 75ff340006SMichael Walsh # value of "${stack_mode}" 76ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 77ff340006SMichael Walsh # keyword will print only essential 78ff340006SMichael Walsh # information. The default value is the 79ff340006SMichael Walsh # global value of "${quiet}" 80ff340006SMichael Walsh 81ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power On 82ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 83ff340006SMichael Walsh Run Key U ${cmd_buf} 84800b3922SMichael Walsh 85800b3922SMichael Walsh 86800b3922SMichael WalshREST Power Off 87800b3922SMichael Walsh [Documentation] Do "REST Power Off" boot test. 88ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 89800b3922SMichael Walsh 90ff340006SMichael Walsh # Description of argument(s): 91ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 92ff340006SMichael Walsh # specified in the boot_stack is only 93ff340006SMichael Walsh # performed if the machine is not already in 94ff340006SMichael Walsh # the state that would normally result from 95ff340006SMichael Walsh # running the given boot test. Otherwise, 96ff340006SMichael Walsh # the test is skipped. If stack_mode is set 97ff340006SMichael Walsh # to "normal", all tests from the boot_stack 98ff340006SMichael Walsh # are performed. "skip" mode is useful when 99ff340006SMichael Walsh # you simply want the machine in a desired 100ff340006SMichael Walsh # state. The default value is the global 101ff340006SMichael Walsh # value of "${stack_mode}" 102ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 103ff340006SMichael Walsh # keyword will print only essential 104ff340006SMichael Walsh # information. The default value is the 105ff340006SMichael Walsh # global value of "${quiet}" 106ff340006SMichael Walsh 107ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=REST Power Off 108ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 109ff340006SMichael Walsh Run Key U ${cmd_buf} 110800b3922SMichael Walsh 111800b3922SMichael Walsh 112*287a003aSMichael WalshRedfish Power Off 113*287a003aSMichael Walsh [Documentation] Do "Redfish Power Off" boot test. 114*287a003aSMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 115*287a003aSMichael Walsh 116*287a003aSMichael Walsh # Description of argument(s): 117*287a003aSMichael Walsh # stack_mode If stack_mode is set to "skip", each test 118*287a003aSMichael Walsh # specified in the boot_stack is only 119*287a003aSMichael Walsh # performed if the machine is not already in 120*287a003aSMichael Walsh # the state that would normally result from 121*287a003aSMichael Walsh # running the given boot test. Otherwise, 122*287a003aSMichael Walsh # the test is skipped. If stack_mode is set 123*287a003aSMichael Walsh # to "normal", all tests from the boot_stack 124*287a003aSMichael Walsh # are performed. "skip" mode is useful when 125*287a003aSMichael Walsh # you simply want the machine in a desired 126*287a003aSMichael Walsh # state. The default value is the global 127*287a003aSMichael Walsh # value of "${stack_mode}" 128*287a003aSMichael Walsh # quiet If this parameter is set to ${1}, this 129*287a003aSMichael Walsh # keyword will print only essential 130*287a003aSMichael Walsh # information. The default value is the 131*287a003aSMichael Walsh # global value of "${quiet}" 132*287a003aSMichael Walsh 133*287a003aSMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=Redfish Power Off 134*287a003aSMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 135*287a003aSMichael Walsh Run Key U ${cmd_buf} 136*287a003aSMichael Walsh 137*287a003aSMichael Walsh 138245db7c3SMichael WalshREST Hard Power Off 139245db7c3SMichael Walsh [Documentation] Do "REST Hard Power Off" boot test. 140245db7c3SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 141245db7c3SMichael Walsh 142245db7c3SMichael Walsh # Description of argument(s): 143245db7c3SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 144245db7c3SMichael Walsh # specified in the boot_stack is only 145245db7c3SMichael Walsh # performed if the machine is not already in 146245db7c3SMichael Walsh # the state that would normally result from 147245db7c3SMichael Walsh # running the given boot test. Otherwise, 148245db7c3SMichael Walsh # the test is skipped. If stack_mode is set 149245db7c3SMichael Walsh # to "normal", all tests from the boot_stack 150245db7c3SMichael Walsh # are performed. "skip" mode is useful when 151245db7c3SMichael Walsh # you simply want the machine in a desired 152245db7c3SMichael Walsh # state. The default value is the global 153245db7c3SMichael Walsh # value of "${stack_mode}" 154245db7c3SMichael Walsh # quiet If this parameter is set to ${1}, this 155245db7c3SMichael Walsh # keyword will print only essential 156245db7c3SMichael Walsh # information. The default value is the 157245db7c3SMichael Walsh # global value of "${quiet}" 158245db7c3SMichael Walsh 159245db7c3SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=REST Hard Power Off 160245db7c3SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 161245db7c3SMichael Walsh Run Key U ${cmd_buf} 162245db7c3SMichael Walsh 163245db7c3SMichael Walsh 164*287a003aSMichael WalshRedfish Hard Power Off 165*287a003aSMichael Walsh [Documentation] Do "Redfish Hard Power Off" boot test. 166*287a003aSMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 167*287a003aSMichael Walsh 168*287a003aSMichael Walsh # Description of argument(s): 169*287a003aSMichael Walsh # stack_mode If stack_mode is set to "skip", each test 170*287a003aSMichael Walsh # specified in the boot_stack is only 171*287a003aSMichael Walsh # performed if the machine is not already in 172*287a003aSMichael Walsh # the state that would normally result from 173*287a003aSMichael Walsh # running the given boot test. Otherwise, 174*287a003aSMichael Walsh # the test is skipped. If stack_mode is set 175*287a003aSMichael Walsh # to "normal", all tests from the boot_stack 176*287a003aSMichael Walsh # are performed. "skip" mode is useful when 177*287a003aSMichael Walsh # you simply want the machine in a desired 178*287a003aSMichael Walsh # state. The default value is the global 179*287a003aSMichael Walsh # value of "${stack_mode}" 180*287a003aSMichael Walsh # quiet If this parameter is set to ${1}, this 181*287a003aSMichael Walsh # keyword will print only essential 182*287a003aSMichael Walsh # information. The default value is the 183*287a003aSMichael Walsh # global value of "${quiet}" 184*287a003aSMichael Walsh 185*287a003aSMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 186*287a003aSMichael Walsh ... \ loc_boot_stack=Redfish Hard Power Off 187*287a003aSMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 188*287a003aSMichael Walsh Run Key U ${cmd_buf} 189*287a003aSMichael Walsh 190*287a003aSMichael Walsh 191800b3922SMichael WalshIPMI Power Off 192800b3922SMichael Walsh [Documentation] Do "IPMI Power Off" boot test. 193ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 194800b3922SMichael Walsh 195ff340006SMichael Walsh # Description of argument(s): 196ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 197ff340006SMichael Walsh # specified in the boot_stack is only 198ff340006SMichael Walsh # performed if the machine is not already in 199ff340006SMichael Walsh # the state that would normally result from 200ff340006SMichael Walsh # running the given boot test. Otherwise, 201ff340006SMichael Walsh # the test is skipped. If stack_mode is set 202ff340006SMichael Walsh # to "normal", all tests from the boot_stack 203ff340006SMichael Walsh # are performed. "skip" mode is useful when 204ff340006SMichael Walsh # you simply want the machine in a desired 205ff340006SMichael Walsh # state. The default value is the global 206ff340006SMichael Walsh # value of "${stack_mode}" 207ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 208ff340006SMichael Walsh # keyword will print only essential 209ff340006SMichael Walsh # information. The default value is the 210ff340006SMichael Walsh # global value of "${quiet}" 211ff340006SMichael Walsh 212ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power Off 213ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 214ff340006SMichael Walsh Run Key U ${cmd_buf} 215800b3922SMichael Walsh 216800b3922SMichael Walsh 217800b3922SMichael WalshIPMI Power Soft 218800b3922SMichael Walsh [Documentation] Do "IPMI Power Soft" boot test. 219ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 220800b3922SMichael Walsh 221ff340006SMichael Walsh # Description of argument(s): 222ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 223ff340006SMichael Walsh # specified in the boot_stack is only 224ff340006SMichael Walsh # performed if the machine is not already in 225ff340006SMichael Walsh # the state that would normally result from 226ff340006SMichael Walsh # running the given boot test. Otherwise, 227ff340006SMichael Walsh # the test is skipped. If stack_mode is set 228ff340006SMichael Walsh # to "normal", all tests from the boot_stack 229ff340006SMichael Walsh # are performed. "skip" mode is useful when 230ff340006SMichael Walsh # you simply want the machine in a desired 231ff340006SMichael Walsh # state. The default value is the global 232ff340006SMichael Walsh # value of "${stack_mode}" 233ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 234ff340006SMichael Walsh # keyword will print only essential 235ff340006SMichael Walsh # information. The default value is the 236ff340006SMichael Walsh # global value of "${quiet}" 237ff340006SMichael Walsh 238ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power Soft 239ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 240ff340006SMichael Walsh Run Key U ${cmd_buf} 241800b3922SMichael Walsh 242800b3922SMichael Walsh 243800b3922SMichael WalshHost Power Off 244800b3922SMichael Walsh [Documentation] Do "Host Power Off" boot test. 245ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 246800b3922SMichael Walsh 247ff340006SMichael Walsh # Description of argument(s): 248ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 249ff340006SMichael Walsh # specified in the boot_stack is only 250ff340006SMichael Walsh # performed if the machine is not already in 251ff340006SMichael Walsh # the state that would normally result from 252ff340006SMichael Walsh # running the given boot test. Otherwise, 253ff340006SMichael Walsh # the test is skipped. If stack_mode is set 254ff340006SMichael Walsh # to "normal", all tests from the boot_stack 255ff340006SMichael Walsh # are performed. "skip" mode is useful when 256ff340006SMichael Walsh # you simply want the machine in a desired 257ff340006SMichael Walsh # state. The default value is the global 258ff340006SMichael Walsh # value of "${stack_mode}" 259ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 260ff340006SMichael Walsh # keyword will print only essential 261ff340006SMichael Walsh # information. The default value is the 262ff340006SMichael Walsh # global value of "${quiet}" 263ff340006SMichael Walsh 264ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=Host Power Off 265ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 266ff340006SMichael Walsh Run Key U ${cmd_buf} 267800b3922SMichael Walsh 268800b3922SMichael Walsh 269800b3922SMichael WalshAPOR 270800b3922SMichael Walsh [Documentation] Do "APOR" boot test. 271ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 272800b3922SMichael Walsh 273ff340006SMichael Walsh # Description of argument(s): 274ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 275ff340006SMichael Walsh # specified in the boot_stack is only 276ff340006SMichael Walsh # performed if the machine is not already in 277ff340006SMichael Walsh # the state that would normally result from 278ff340006SMichael Walsh # running the given boot test. Otherwise, 279ff340006SMichael Walsh # the test is skipped. If stack_mode is set 280ff340006SMichael Walsh # to "normal", all tests from the boot_stack 281ff340006SMichael Walsh # are performed. "skip" mode is useful when 282ff340006SMichael Walsh # you simply want the machine in a desired 283ff340006SMichael Walsh # state. The default value is the global 284ff340006SMichael Walsh # value of "${stack_mode}" 285ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 286ff340006SMichael Walsh # keyword will print only essential 287ff340006SMichael Walsh # information. The default value is the 288ff340006SMichael Walsh # global value of "${quiet}" 289ff340006SMichael Walsh 290ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=APOR 291ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 292ff340006SMichael Walsh Run Key U ${cmd_buf} 293800b3922SMichael Walsh 294800b3922SMichael Walsh 295800b3922SMichael WalshOBMC Reboot (run) 296800b3922SMichael Walsh [Documentation] Do "OBMC Reboot (run)" boot test. 297ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 298800b3922SMichael Walsh 299ff340006SMichael Walsh # Description of argument(s): 300ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 301ff340006SMichael Walsh # specified in the boot_stack is only 302ff340006SMichael Walsh # performed if the machine is not already in 303ff340006SMichael Walsh # the state that would normally result from 304ff340006SMichael Walsh # running the given boot test. Otherwise, 305ff340006SMichael Walsh # the test is skipped. If stack_mode is set 306ff340006SMichael Walsh # to "normal", all tests from the boot_stack 307ff340006SMichael Walsh # are performed. "skip" mode is useful when 308ff340006SMichael Walsh # you simply want the machine in a desired 309ff340006SMichael Walsh # state. The default value is the global 310ff340006SMichael Walsh # value of "${stack_mode}" 311ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 312ff340006SMichael Walsh # keyword will print only essential 313ff340006SMichael Walsh # information. The default value is the 314ff340006SMichael Walsh # global value of "${quiet}" 315ff340006SMichael Walsh 316ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=OBMC Reboot (run) 317ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 318ff340006SMichael Walsh Run Key U ${cmd_buf} 319800b3922SMichael Walsh 32003e6339cSMichael Walsh 32103e6339cSMichael WalshREST OBMC Reboot (run) 32203e6339cSMichael Walsh [Documentation] Do "REST OBMC Reboot (run)" boot test. 32303e6339cSMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 32403e6339cSMichael Walsh 32503e6339cSMichael Walsh # Description of argument(s): 32603e6339cSMichael Walsh # stack_mode If stack_mode is set to "skip", each test 32703e6339cSMichael Walsh # specified in the boot_stack is only 32803e6339cSMichael Walsh # performed if the machine is not already in 32903e6339cSMichael Walsh # the state that would normally result from 33003e6339cSMichael Walsh # running the given boot test. Otherwise, 33103e6339cSMichael Walsh # the test is skipped. If stack_mode is set 33203e6339cSMichael Walsh # to "normal", all tests from the boot_stack 33303e6339cSMichael Walsh # are performed. "skip" mode is useful when 33403e6339cSMichael Walsh # you simply want the machine in a desired 33503e6339cSMichael Walsh # state. The default value is the global 33603e6339cSMichael Walsh # value of "${stack_mode}" 33703e6339cSMichael Walsh # quiet If this parameter is set to ${1}, this 33803e6339cSMichael Walsh # keyword will print only essential 33903e6339cSMichael Walsh # information. The default value is the 34003e6339cSMichael Walsh # global value of "${quiet}" 34103e6339cSMichael Walsh 34203e6339cSMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 34303e6339cSMichael Walsh ... \ loc_boot_stack=REST OBMC Reboot (run) 34403e6339cSMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 34503e6339cSMichael Walsh Run Key U ${cmd_buf} 346800b3922SMichael Walsh 347800b3922SMichael Walsh 348800b3922SMichael WalshOBMC Reboot (off) 349800b3922SMichael Walsh [Documentation] Do "OBMC Reboot (off)" boot test. 350ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 351800b3922SMichael Walsh 352ff340006SMichael Walsh # Description of argument(s): 353ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 354ff340006SMichael Walsh # specified in the boot_stack is only 355ff340006SMichael Walsh # performed if the machine is not already in 356ff340006SMichael Walsh # the state that would normally result from 357ff340006SMichael Walsh # running the given boot test. Otherwise, 358ff340006SMichael Walsh # the test is skipped. If stack_mode is set 359ff340006SMichael Walsh # to "normal", all tests from the boot_stack 360ff340006SMichael Walsh # are performed. "skip" mode is useful when 361ff340006SMichael Walsh # you simply want the machine in a desired 362ff340006SMichael Walsh # state. The default value is the global 363ff340006SMichael Walsh # value of "${stack_mode}" 364ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 365ff340006SMichael Walsh # keyword will print only essential 366ff340006SMichael Walsh # information. The default value is the 367ff340006SMichael Walsh # global value of "${quiet}" 368ff340006SMichael Walsh 369ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=OBMC Reboot (off) 370ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 371ff340006SMichael Walsh Run Key U ${cmd_buf} 372800b3922SMichael Walsh 37303e6339cSMichael Walsh 37403e6339cSMichael WalshREST OBMC Reboot (off) 37503e6339cSMichael Walsh [Documentation] Do "REST OBMC Reboot (off)" boot test. 37603e6339cSMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 37703e6339cSMichael Walsh 37803e6339cSMichael Walsh # Description of argument(s): 37903e6339cSMichael Walsh # stack_mode If stack_mode is set to "skip", each test 38003e6339cSMichael Walsh # specified in the boot_stack is only 38103e6339cSMichael Walsh # performed if the machine is not already in 38203e6339cSMichael Walsh # the state that would normally result from 38303e6339cSMichael Walsh # running the given boot test. Otherwise, 38403e6339cSMichael Walsh # the test is skipped. If stack_mode is set 38503e6339cSMichael Walsh # to "normal", all tests from the boot_stack 38603e6339cSMichael Walsh # are performed. "skip" mode is useful when 38703e6339cSMichael Walsh # you simply want the machine in a desired 38803e6339cSMichael Walsh # state. The default value is the global 38903e6339cSMichael Walsh # value of "${stack_mode}" 39003e6339cSMichael Walsh # quiet If this parameter is set to ${1}, this 39103e6339cSMichael Walsh # keyword will print only essential 39203e6339cSMichael Walsh # information. The default value is the 39303e6339cSMichael Walsh # global value of "${quiet}" 39403e6339cSMichael Walsh 39503e6339cSMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 39603e6339cSMichael Walsh ... \ loc_boot_stack=REST OBMC Reboot (off) 39703e6339cSMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 39803e6339cSMichael Walsh Run Key U ${cmd_buf} 399800b3922SMichael Walsh 400800b3922SMichael Walsh 401800b3922SMichael WalshPDU AC Cycle (run) 402800b3922SMichael Walsh [Documentation] Do "PDU AC Cycle (run)" boot test. 403ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 404800b3922SMichael Walsh 405ff340006SMichael Walsh # Description of argument(s): 406ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 407ff340006SMichael Walsh # specified in the boot_stack is only 408ff340006SMichael Walsh # performed if the machine is not already in 409ff340006SMichael Walsh # the state that would normally result from 410ff340006SMichael Walsh # running the given boot test. Otherwise, 411ff340006SMichael Walsh # the test is skipped. If stack_mode is set 412ff340006SMichael Walsh # to "normal", all tests from the boot_stack 413ff340006SMichael Walsh # are performed. "skip" mode is useful when 414ff340006SMichael Walsh # you simply want the machine in a desired 415ff340006SMichael Walsh # state. The default value is the global 416ff340006SMichael Walsh # value of "${stack_mode}" 417ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 418ff340006SMichael Walsh # keyword will print only essential 419ff340006SMichael Walsh # information. The default value is the 420ff340006SMichael Walsh # global value of "${quiet}" 421ff340006SMichael Walsh 422ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=PDU AC Cycle (run) 423ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 424ff340006SMichael Walsh Run Key U ${cmd_buf} 425800b3922SMichael Walsh 426800b3922SMichael Walsh 427800b3922SMichael WalshPDU AC Cycle (off) 428800b3922SMichael Walsh [Documentation] Do "PDU AC Cycle (off)" boot test. 429ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 430800b3922SMichael Walsh 431ff340006SMichael Walsh # Description of argument(s): 432ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 433ff340006SMichael Walsh # specified in the boot_stack is only 434ff340006SMichael Walsh # performed if the machine is not already in 435ff340006SMichael Walsh # the state that would normally result from 436ff340006SMichael Walsh # running the given boot test. Otherwise, 437ff340006SMichael Walsh # the test is skipped. If stack_mode is set 438ff340006SMichael Walsh # to "normal", all tests from the boot_stack 439ff340006SMichael Walsh # are performed. "skip" mode is useful when 440ff340006SMichael Walsh # you simply want the machine in a desired 441ff340006SMichael Walsh # state. The default value is the global 442ff340006SMichael Walsh # value of "${stack_mode}" 443ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 444ff340006SMichael Walsh # keyword will print only essential 445ff340006SMichael Walsh # information. The default value is the 446ff340006SMichael Walsh # global value of "${quiet}" 447ff340006SMichael Walsh 448ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=PDU AC Cycle (off) 449ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 450ff340006SMichael Walsh Run Key U ${cmd_buf} 451800b3922SMichael Walsh 452800b3922SMichael Walsh 453800b3922SMichael WalshIPMI MC Reset Warm (run) 454800b3922SMichael Walsh [Documentation] Do "IPMI MC Reset Warm (run)" boot test. 455ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 456800b3922SMichael Walsh 457ff340006SMichael Walsh # Description of argument(s): 458ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 459ff340006SMichael Walsh # specified in the boot_stack is only 460ff340006SMichael Walsh # performed if the machine is not already in 461ff340006SMichael Walsh # the state that would normally result from 462ff340006SMichael Walsh # running the given boot test. Otherwise, 463ff340006SMichael Walsh # the test is skipped. If stack_mode is set 464ff340006SMichael Walsh # to "normal", all tests from the boot_stack 465ff340006SMichael Walsh # are performed. "skip" mode is useful when 466ff340006SMichael Walsh # you simply want the machine in a desired 467ff340006SMichael Walsh # state. The default value is the global 468ff340006SMichael Walsh # value of "${stack_mode}" 469ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 470ff340006SMichael Walsh # keyword will print only essential 471ff340006SMichael Walsh # information. The default value is the 472ff340006SMichael Walsh # global value of "${quiet}" 473ff340006SMichael Walsh 474ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 475ff340006SMichael Walsh ... \ loc_boot_stack=IPMI MC Reset Warm (run) 476ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 477ff340006SMichael Walsh Run Key U ${cmd_buf} 478800b3922SMichael Walsh 479800b3922SMichael Walsh 480800b3922SMichael WalshIPMI MC Reset Warm (off) 481800b3922SMichael Walsh [Documentation] Do "IPMI MC Reset Warm (off)" boot test. 482ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 483800b3922SMichael Walsh 484ff340006SMichael Walsh # Description of argument(s): 485ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 486ff340006SMichael Walsh # specified in the boot_stack is only 487ff340006SMichael Walsh # performed if the machine is not already in 488ff340006SMichael Walsh # the state that would normally result from 489ff340006SMichael Walsh # running the given boot test. Otherwise, 490ff340006SMichael Walsh # the test is skipped. If stack_mode is set 491ff340006SMichael Walsh # to "normal", all tests from the boot_stack 492ff340006SMichael Walsh # are performed. "skip" mode is useful when 493ff340006SMichael Walsh # you simply want the machine in a desired 494ff340006SMichael Walsh # state. The default value is the global 495ff340006SMichael Walsh # value of "${stack_mode}" 496ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 497ff340006SMichael Walsh # keyword will print only essential 498ff340006SMichael Walsh # information. The default value is the 499ff340006SMichael Walsh # global value of "${quiet}" 500ff340006SMichael Walsh 501ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 502ff340006SMichael Walsh ... \ loc_boot_stack=IPMI MC Reset Warm (off) 503ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 504ff340006SMichael Walsh Run Key U ${cmd_buf} 505800b3922SMichael Walsh 506800b3922SMichael Walsh 50755b5c644SMichael WalshIPMI MC Reset Cold (run) 50855b5c644SMichael Walsh [Documentation] Do "IPMI MC Reset Cold (run)" boot test. 50955b5c644SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 51055b5c644SMichael Walsh 51155b5c644SMichael Walsh # Description of argument(s): 51255b5c644SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 51355b5c644SMichael Walsh # specified in the boot_stack is only 51455b5c644SMichael Walsh # performed if the machine is not already in 51555b5c644SMichael Walsh # the state that would normally result from 51655b5c644SMichael Walsh # running the given boot test. Otherwise, 51755b5c644SMichael Walsh # the test is skipped. If stack_mode is set 51855b5c644SMichael Walsh # to "normal", all tests from the boot_stack 51955b5c644SMichael Walsh # are performed. "skip" mode is useful when 52055b5c644SMichael Walsh # you simply want the machine in a desired 52155b5c644SMichael Walsh # state. The default value is the global 52255b5c644SMichael Walsh # value of "${stack_mode}" 52355b5c644SMichael Walsh # quiet If this parameter is set to ${1}, this 52455b5c644SMichael Walsh # keyword will print only essential 52555b5c644SMichael Walsh # information. The default value is the 52655b5c644SMichael Walsh # global value of "${quiet}" 52755b5c644SMichael Walsh 52855b5c644SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 52955b5c644SMichael Walsh ... \ loc_boot_stack=IPMI MC Reset Cold (run) 53055b5c644SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 53155b5c644SMichael Walsh Run Key U ${cmd_buf} 53255b5c644SMichael Walsh 53355b5c644SMichael Walsh 53455b5c644SMichael WalshIPMI MC Reset Cold (off) 53555b5c644SMichael Walsh [Documentation] Do "IPMI MC Reset Cold (off)" boot test. 53655b5c644SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 53755b5c644SMichael Walsh 53855b5c644SMichael Walsh # Description of argument(s): 53955b5c644SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 54055b5c644SMichael Walsh # specified in the boot_stack is only 54155b5c644SMichael Walsh # performed if the machine is not already in 54255b5c644SMichael Walsh # the state that would normally result from 54355b5c644SMichael Walsh # running the given boot test. Otherwise, 54455b5c644SMichael Walsh # the test is skipped. If stack_mode is set 54555b5c644SMichael Walsh # to "normal", all tests from the boot_stack 54655b5c644SMichael Walsh # are performed. "skip" mode is useful when 54755b5c644SMichael Walsh # you simply want the machine in a desired 54855b5c644SMichael Walsh # state. The default value is the global 54955b5c644SMichael Walsh # value of "${stack_mode}" 55055b5c644SMichael Walsh # quiet If this parameter is set to ${1}, this 55155b5c644SMichael Walsh # keyword will print only essential 55255b5c644SMichael Walsh # information. The default value is the 55355b5c644SMichael Walsh # global value of "${quiet}" 55455b5c644SMichael Walsh 55555b5c644SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 55655b5c644SMichael Walsh ... \ loc_boot_stack=IPMI MC Reset Cold (off) 55755b5c644SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 55855b5c644SMichael Walsh Run Key U ${cmd_buf} 55955b5c644SMichael Walsh 56055b5c644SMichael Walsh 56155b5c644SMichael WalshIPMI Std MC Reset Warm (run) 56255b5c644SMichael Walsh [Documentation] Do "IPMI Std MC Reset Warm (run)" boot test. 56355b5c644SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 56455b5c644SMichael Walsh 56555b5c644SMichael Walsh # Description of argument(s): 56655b5c644SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 56755b5c644SMichael Walsh # specified in the boot_stack is only 56855b5c644SMichael Walsh # performed if the machine is not already in 56955b5c644SMichael Walsh # the state that would normally result from 57055b5c644SMichael Walsh # running the given boot test. Otherwise, 57155b5c644SMichael Walsh # the test is skipped. If stack_mode is set 57255b5c644SMichael Walsh # to "normal", all tests from the boot_stack 57355b5c644SMichael Walsh # are performed. "skip" mode is useful when 57455b5c644SMichael Walsh # you simply want the machine in a desired 57555b5c644SMichael Walsh # state. The default value is the global 57655b5c644SMichael Walsh # value of "${stack_mode}" 57755b5c644SMichael Walsh # quiet If this parameter is set to ${1}, this 57855b5c644SMichael Walsh # keyword will print only essential 57955b5c644SMichael Walsh # information. The default value is the 58055b5c644SMichael Walsh # global value of "${quiet}" 58155b5c644SMichael Walsh 58255b5c644SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 58355b5c644SMichael Walsh ... \ loc_boot_stack=IPMI Std MC Reset Warm (run) 58455b5c644SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 58555b5c644SMichael Walsh Run Key U ${cmd_buf} 58655b5c644SMichael Walsh 58755b5c644SMichael Walsh 58855b5c644SMichael WalshIPMI Std MC Reset Warm (off) 58955b5c644SMichael Walsh [Documentation] Do "IPMI Std MC Reset Warm (off)" boot test. 59055b5c644SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 59155b5c644SMichael Walsh 59255b5c644SMichael Walsh # Description of argument(s): 59355b5c644SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 59455b5c644SMichael Walsh # specified in the boot_stack is only 59555b5c644SMichael Walsh # performed if the machine is not already in 59655b5c644SMichael Walsh # the state that would normally result from 59755b5c644SMichael Walsh # running the given boot test. Otherwise, 59855b5c644SMichael Walsh # the test is skipped. If stack_mode is set 59955b5c644SMichael Walsh # to "normal", all tests from the boot_stack 60055b5c644SMichael Walsh # are performed. "skip" mode is useful when 60155b5c644SMichael Walsh # you simply want the machine in a desired 60255b5c644SMichael Walsh # state. The default value is the global 60355b5c644SMichael Walsh # value of "${stack_mode}" 60455b5c644SMichael Walsh # quiet If this parameter is set to ${1}, this 60555b5c644SMichael Walsh # keyword will print only essential 60655b5c644SMichael Walsh # information. The default value is the 60755b5c644SMichael Walsh # global value of "${quiet}" 60855b5c644SMichael Walsh 60955b5c644SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 61055b5c644SMichael Walsh ... \ loc_boot_stack=IPMI Std MC Reset Warm (off) 61155b5c644SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 61255b5c644SMichael Walsh Run Key U ${cmd_buf} 61355b5c644SMichael Walsh 61455b5c644SMichael Walsh 61555b5c644SMichael WalshIPMI Std MC Reset Cold (run) 61655b5c644SMichael Walsh [Documentation] Do "IPMI Std MC Reset Cold (run)" boot test. 61755b5c644SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 61855b5c644SMichael Walsh 61955b5c644SMichael Walsh # Description of argument(s): 62055b5c644SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 62155b5c644SMichael Walsh # specified in the boot_stack is only 62255b5c644SMichael Walsh # performed if the machine is not already in 62355b5c644SMichael Walsh # the state that would normally result from 62455b5c644SMichael Walsh # running the given boot test. Otherwise, 62555b5c644SMichael Walsh # the test is skipped. If stack_mode is set 62655b5c644SMichael Walsh # to "normal", all tests from the boot_stack 62755b5c644SMichael Walsh # are performed. "skip" mode is useful when 62855b5c644SMichael Walsh # you simply want the machine in a desired 62955b5c644SMichael Walsh # state. The default value is the global 63055b5c644SMichael Walsh # value of "${stack_mode}" 63155b5c644SMichael Walsh # quiet If this parameter is set to ${1}, this 63255b5c644SMichael Walsh # keyword will print only essential 63355b5c644SMichael Walsh # information. The default value is the 63455b5c644SMichael Walsh # global value of "${quiet}" 63555b5c644SMichael Walsh 63655b5c644SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 63755b5c644SMichael Walsh ... \ loc_boot_stack=IPMI Std MC Reset Cold (run) 63855b5c644SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 63955b5c644SMichael Walsh Run Key U ${cmd_buf} 64055b5c644SMichael Walsh 64155b5c644SMichael Walsh 64255b5c644SMichael WalshIPMI Std MC Reset Cold (off) 64355b5c644SMichael Walsh [Documentation] Do "IPMI Std MC Reset Cold (off)" boot test. 64455b5c644SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 64555b5c644SMichael Walsh 64655b5c644SMichael Walsh # Description of argument(s): 64755b5c644SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 64855b5c644SMichael Walsh # specified in the boot_stack is only 64955b5c644SMichael Walsh # performed if the machine is not already in 65055b5c644SMichael Walsh # the state that would normally result from 65155b5c644SMichael Walsh # running the given boot test. Otherwise, 65255b5c644SMichael Walsh # the test is skipped. If stack_mode is set 65355b5c644SMichael Walsh # to "normal", all tests from the boot_stack 65455b5c644SMichael Walsh # are performed. "skip" mode is useful when 65555b5c644SMichael Walsh # you simply want the machine in a desired 65655b5c644SMichael Walsh # state. The default value is the global 65755b5c644SMichael Walsh # value of "${stack_mode}" 65855b5c644SMichael Walsh # quiet If this parameter is set to ${1}, this 65955b5c644SMichael Walsh # keyword will print only essential 66055b5c644SMichael Walsh # information. The default value is the 66155b5c644SMichael Walsh # global value of "${quiet}" 66255b5c644SMichael Walsh 66355b5c644SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test 66455b5c644SMichael Walsh ... \ loc_boot_stack=IPMI Std MC Reset Cold (off) 66555b5c644SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 66655b5c644SMichael Walsh Run Key U ${cmd_buf} 66755b5c644SMichael Walsh 66855b5c644SMichael Walsh 669800b3922SMichael WalshIPMI Power Cycle 670800b3922SMichael Walsh [Documentation] Do "IPMI Power Cycle" boot test. 671ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 672800b3922SMichael Walsh 673ff340006SMichael Walsh # Description of argument(s): 674ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 675ff340006SMichael Walsh # specified in the boot_stack is only 676ff340006SMichael Walsh # performed if the machine is not already in 677ff340006SMichael Walsh # the state that would normally result from 678ff340006SMichael Walsh # running the given boot test. Otherwise, 679ff340006SMichael Walsh # the test is skipped. If stack_mode is set 680ff340006SMichael Walsh # to "normal", all tests from the boot_stack 681ff340006SMichael Walsh # are performed. "skip" mode is useful when 682ff340006SMichael Walsh # you simply want the machine in a desired 683ff340006SMichael Walsh # state. The default value is the global 684ff340006SMichael Walsh # value of "${stack_mode}" 685ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 686ff340006SMichael Walsh # keyword will print only essential 687ff340006SMichael Walsh # information. The default value is the 688ff340006SMichael Walsh # global value of "${quiet}" 689ff340006SMichael Walsh 690ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power Cycle 691ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 692ff340006SMichael Walsh Run Key U ${cmd_buf} 693800b3922SMichael Walsh 694800b3922SMichael Walsh 695800b3922SMichael WalshIPMI Power Reset 696800b3922SMichael Walsh [Documentation] Do "IPMI Power Reset" boot test. 697ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 698800b3922SMichael Walsh 699ff340006SMichael Walsh # Description of argument(s): 700ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 701ff340006SMichael Walsh # specified in the boot_stack is only 702ff340006SMichael Walsh # performed if the machine is not already in 703ff340006SMichael Walsh # the state that would normally result from 704ff340006SMichael Walsh # running the given boot test. Otherwise, 705ff340006SMichael Walsh # the test is skipped. If stack_mode is set 706ff340006SMichael Walsh # to "normal", all tests from the boot_stack 707ff340006SMichael Walsh # are performed. "skip" mode is useful when 708ff340006SMichael Walsh # you simply want the machine in a desired 709ff340006SMichael Walsh # state. The default value is the global 710ff340006SMichael Walsh # value of "${stack_mode}" 711ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 712ff340006SMichael Walsh # keyword will print only essential 713ff340006SMichael Walsh # information. The default value is the 714ff340006SMichael Walsh # global value of "${quiet}" 715ff340006SMichael Walsh 716ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=IPMI Power Reset 717ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 718ff340006SMichael Walsh Run Key U ${cmd_buf} 719800b3922SMichael Walsh 720800b3922SMichael Walsh 721800b3922SMichael WalshAuto Reboot 722800b3922SMichael Walsh [Documentation] Do "Auto Reboot" boot test. 723ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 724800b3922SMichael Walsh 725ff340006SMichael Walsh # Description of argument(s): 726ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 727ff340006SMichael Walsh # specified in the boot_stack is only 728ff340006SMichael Walsh # performed if the machine is not already in 729ff340006SMichael Walsh # the state that would normally result from 730ff340006SMichael Walsh # running the given boot test. Otherwise, 731ff340006SMichael Walsh # the test is skipped. If stack_mode is set 732ff340006SMichael Walsh # to "normal", all tests from the boot_stack 733ff340006SMichael Walsh # are performed. "skip" mode is useful when 734ff340006SMichael Walsh # you simply want the machine in a desired 735ff340006SMichael Walsh # state. The default value is the global 736ff340006SMichael Walsh # value of "${stack_mode}" 737ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 738ff340006SMichael Walsh # keyword will print only essential 739ff340006SMichael Walsh # information. The default value is the 740ff340006SMichael Walsh # global value of "${quiet}" 741ff340006SMichael Walsh 742ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=Auto Reboot 743ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 744ff340006SMichael Walsh Run Key U ${cmd_buf} 745800b3922SMichael Walsh 746800b3922SMichael Walsh 747800b3922SMichael WalshHost Reboot 748800b3922SMichael Walsh [Documentation] Do "Host Reboot" boot test. 749ff340006SMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 750800b3922SMichael Walsh 751ff340006SMichael Walsh # Description of argument(s): 752ff340006SMichael Walsh # stack_mode If stack_mode is set to "skip", each test 753ff340006SMichael Walsh # specified in the boot_stack is only 754ff340006SMichael Walsh # performed if the machine is not already in 755ff340006SMichael Walsh # the state that would normally result from 756ff340006SMichael Walsh # running the given boot test. Otherwise, 757ff340006SMichael Walsh # the test is skipped. If stack_mode is set 758ff340006SMichael Walsh # to "normal", all tests from the boot_stack 759ff340006SMichael Walsh # are performed. "skip" mode is useful when 760ff340006SMichael Walsh # you simply want the machine in a desired 761ff340006SMichael Walsh # state. The default value is the global 762ff340006SMichael Walsh # value of "${stack_mode}" 763ff340006SMichael Walsh # quiet If this parameter is set to ${1}, this 764ff340006SMichael Walsh # keyword will print only essential 765ff340006SMichael Walsh # information. The default value is the 766ff340006SMichael Walsh # global value of "${quiet}" 767ff340006SMichael Walsh 768ff340006SMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=Host Reboot 769ff340006SMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 770ff340006SMichael Walsh Run Key U ${cmd_buf} 771800b3922SMichael Walsh 772800b3922SMichael Walsh 773*287a003aSMichael WalshRedfish Host Reboot 774*287a003aSMichael Walsh [Documentation] Do "Redfish Host Reboot" boot test. 775*287a003aSMichael Walsh [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet} 776*287a003aSMichael Walsh 777*287a003aSMichael Walsh # Description of argument(s): 778*287a003aSMichael Walsh # stack_mode If stack_mode is set to "skip", each test 779*287a003aSMichael Walsh # specified in the boot_stack is only 780*287a003aSMichael Walsh # performed if the machine is not already in 781*287a003aSMichael Walsh # the state that would normally result from 782*287a003aSMichael Walsh # running the given boot test. Otherwise, 783*287a003aSMichael Walsh # the test is skipped. If stack_mode is set 784*287a003aSMichael Walsh # to "normal", all tests from the boot_stack 785*287a003aSMichael Walsh # are performed. "skip" mode is useful when 786*287a003aSMichael Walsh # you simply want the machine in a desired 787*287a003aSMichael Walsh # state. The default value is the global 788*287a003aSMichael Walsh # value of "${stack_mode}" 789*287a003aSMichael Walsh # quiet If this parameter is set to ${1}, this 790*287a003aSMichael Walsh # keyword will print only essential 791*287a003aSMichael Walsh # information. The default value is the 792*287a003aSMichael Walsh # global value of "${quiet}" 793*287a003aSMichael Walsh 794*287a003aSMichael Walsh ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=Redfish Host Reboot 795*287a003aSMichael Walsh ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet} 796*287a003aSMichael Walsh Run Key U ${cmd_buf} 797*287a003aSMichael Walsh 798*287a003aSMichael Walsh 799c28c239cSMichael WalshSmart Power Off 800c28c239cSMichael Walsh [Documentation] Do a smart power off. 801c28c239cSMichael Walsh [Arguments] ${quiet}=${QUIET} 802c28c239cSMichael Walsh 803c28c239cSMichael Walsh # A 'Smart Power Off' consists of a 'REST Power Off' with recovery. 804c28c239cSMichael Walsh # Namely, if the 'REST Power Off' fails, a 'REST Hard Power Off' will 805c28c239cSMichael Walsh # be attempted. 806c28c239cSMichael Walsh 807c28c239cSMichael Walsh # Description of argument(s): 808c28c239cSMichael Walsh # quiet If this parameter is set to ${1}, this 809c28c239cSMichael Walsh # keyword will print only essential 810c28c239cSMichael Walsh # information. The default value is the 811c28c239cSMichael Walsh # global value of "${quiet}" 812c28c239cSMichael Walsh 813c28c239cSMichael Walsh 814c28c239cSMichael Walsh # OBMC Boot Test will restore global quiet to initial global value. 815c28c239cSMichael Walsh # Unfortunately, that restore affects our local quiet so we must 816c28c239cSMichael Walsh # preserve it. 817c28c239cSMichael Walsh ${loc_quiet}= Set Variable ${quiet} 818c28c239cSMichael Walsh ${cmd_buf}= Catenate REST Power Off \ stack_mode=skip 819c28c239cSMichael Walsh ... \ \ quiet=${loc_quiet} 820c28c239cSMichael Walsh ${status} ${ret_values}= Run Key U ${cmd_buf} ignore=${1} 821c28c239cSMichael Walsh ... quiet=${loc_quiet} 822c28c239cSMichael Walsh 823c28c239cSMichael Walsh Run Keyword If '${status}' == 'PASS' Return From Keyword 824c28c239cSMichael Walsh 825c28c239cSMichael Walsh ${cmd_buf}= Catenate REST Hard Power Off \ stack_mode=skip 826c28c239cSMichael Walsh ... \ \ quiet=${loc_quiet} 827c28c239cSMichael Walsh Run Key U ${cmd_buf} quiet=${loc_quiet} 828c28c239cSMichael Walsh 829