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 8*998c16ccSGeorge KeishingResource ../lib/bmc_redfish_resource.robot 93df030faSGeorge Keishing 103df030faSGeorge Keishing*** Test Cases *** 113df030faSGeorge Keishing 12*998c16ccSGeorge KeishingTest Redfish Setup 13*998c16ccSGeorge Keishing [Documentation] Verify Redfish works. 143df030faSGeorge Keishing 15*998c16ccSGeorge Keishing Redfish.Login 16*998c16ccSGeorge Keishing Redfish.Get /redfish/v1/ 17*998c16ccSGeorge Keishing Redfish.Logout 18*998c16ccSGeorge Keishing 19*998c16ccSGeorge Keishing 20*998c16ccSGeorge KeishingTest REST Setup 21*998c16ccSGeorge Keishing [Documentation] Verify REST works. 223df030faSGeorge Keishing 233df030faSGeorge Keishing # REST Connection and request. 243df030faSGeorge Keishing Initialize OpenBMC 253df030faSGeorge Keishing # Raw GET REST operation to verify session is established. 263df030faSGeorge Keishing ${resp}= Get Request openbmc /xyz/openbmc_project/ 273df030faSGeorge Keishing Should Be Equal As Strings ${resp.status_code} ${HTTP_OK} 283df030faSGeorge Keishing ${content}= To JSON ${resp.content} pretty_print=True 293df030faSGeorge Keishing Log To Console \n ${content} 303df030faSGeorge Keishing 313df030faSGeorge Keishing 32*998c16ccSGeorge KeishingTest SSH Setup 33*998c16ccSGeorge Keishing [Documentation] Verify SSH works. 343df030faSGeorge Keishing 35*998c16ccSGeorge Keishing BMC Execute Command uname -a 363df030faSGeorge Keishing 37*998c16ccSGeorge Keishing 38*998c16ccSGeorge KeishingTest IPMI Setup 39*998c16ccSGeorge Keishing [Documentation] Verify Out-of-band works. 40*998c16ccSGeorge Keishing 413df030faSGeorge Keishing ${chassis_status}= Run IPMI Standard Command chassis status 423df030faSGeorge Keishing Log To Console \n ${chassis_status} 43