13df030faSGeorge Keishing*** Settings *** 23df030faSGeorge KeishingDocumentation Test suite to verify if the Robot setup is ready for use. 33df030faSGeorge Keishing 4839a0c27SSandhya SomashekarResource ../lib/resource.robot 53df030faSGeorge KeishingResource ../lib/rest_client.robot 63df030faSGeorge KeishingResource ../lib/connection_client.robot 73df030faSGeorge KeishingResource ../lib/ipmi_client.robot 8998c16ccSGeorge KeishingResource ../lib/bmc_redfish_resource.robot 93df030faSGeorge Keishing 103df030faSGeorge Keishing*** Test Cases *** 113df030faSGeorge Keishing 12998c16ccSGeorge KeishingTest Redfish Setup 13998c16ccSGeorge Keishing [Documentation] Verify Redfish works. 143df030faSGeorge Keishing 15*5ad0b021SGeorge Keishing Pass Execution If ${REDFISH_SUPPORT_TRANS_STATE} == ${0} 16*5ad0b021SGeorge Keishing ... Skipping Redfish check, user explicitly requested for REST. 17*5ad0b021SGeorge Keishing 18998c16ccSGeorge Keishing Redfish.Login 19998c16ccSGeorge Keishing Redfish.Get /redfish/v1/ 20998c16ccSGeorge Keishing Redfish.Logout 21998c16ccSGeorge Keishing 22998c16ccSGeorge Keishing 23998c16ccSGeorge KeishingTest REST Setup 24998c16ccSGeorge Keishing [Documentation] Verify REST works. 253df030faSGeorge Keishing 26*5ad0b021SGeorge Keishing Pass Execution If ${REDFISH_SUPPORT_TRANS_STATE} == ${1} 27*5ad0b021SGeorge Keishing ... Skipping REST check, user explicitly requested for Redfish. 28*5ad0b021SGeorge Keishing 293df030faSGeorge Keishing # REST Connection and request. 303df030faSGeorge Keishing Initialize OpenBMC 313df030faSGeorge Keishing # Raw GET REST operation to verify session is established. 323df030faSGeorge Keishing ${resp}= Get Request openbmc /xyz/openbmc_project/ 333df030faSGeorge Keishing Should Be Equal As Strings ${resp.status_code} ${HTTP_OK} 343df030faSGeorge Keishing ${content}= To JSON ${resp.content} pretty_print=True 353df030faSGeorge Keishing Log To Console \n ${content} 363df030faSGeorge Keishing 373df030faSGeorge Keishing 38998c16ccSGeorge KeishingTest SSH Setup 39998c16ccSGeorge Keishing [Documentation] Verify SSH works. 403df030faSGeorge Keishing 41998c16ccSGeorge Keishing BMC Execute Command uname -a 423df030faSGeorge Keishing 43998c16ccSGeorge Keishing 44998c16ccSGeorge KeishingTest IPMI Setup 45998c16ccSGeorge Keishing [Documentation] Verify Out-of-band works. 46998c16ccSGeorge Keishing 473df030faSGeorge Keishing ${chassis_status}= Run IPMI Standard Command chassis status 483df030faSGeorge Keishing Log To Console \n ${chassis_status} 49