13df030faSGeorge Keishing*** Settings *** 23df030faSGeorge KeishingDocumentation Test suite to verify if the Robot setup is ready for use. 33df030faSGeorge Keishing 4*839a0c27SSandhya SomashekarResource ../lib/resource.robot 53df030faSGeorge KeishingResource ../lib/rest_client.robot 63df030faSGeorge KeishingResource ../lib/connection_client.robot 73df030faSGeorge KeishingResource ../lib/ipmi_client.robot 83df030faSGeorge Keishing 93df030faSGeorge Keishing*** Test Cases *** 103df030faSGeorge Keishing 113df030faSGeorge KeishingTest OpenBMC Automation Setup 123df030faSGeorge Keishing [Documentation] Verify REST, SSH, Out-of-band IPMI and others. 133df030faSGeorge Keishing 143df030faSGeorge Keishing Log To Console \n *** Testing REST Setup *** 153df030faSGeorge Keishing 163df030faSGeorge Keishing # REST Connection and request. 173df030faSGeorge Keishing Initialize OpenBMC 183df030faSGeorge Keishing # Raw GET REST operation to verify session is established. 193df030faSGeorge Keishing ${resp}= Get Request openbmc /xyz/openbmc_project/ 203df030faSGeorge Keishing Should Be Equal As Strings ${resp.status_code} ${HTTP_OK} 213df030faSGeorge Keishing ${content}= To JSON ${resp.content} pretty_print=True 223df030faSGeorge Keishing Log To Console \n ${content} 233df030faSGeorge Keishing 243df030faSGeorge Keishing Log To Console \n *** Testing SSH Setup *** 253df030faSGeorge Keishing 263df030faSGeorge Keishing # SSH Connection and request. 273df030faSGeorge Keishing Open Connection And Log In 283df030faSGeorge Keishing ${bmc_kernel}= Execute Command uname -a 293df030faSGeorge Keishing Log To Console \n ${bmc_kernel} 303df030faSGeorge Keishing 313df030faSGeorge Keishing Log To Console \n *** Testing Out-of-band IPMI tool Setup *** 323df030faSGeorge Keishing 333df030faSGeorge Keishing # IPMI Connection and request. 343df030faSGeorge Keishing ${chassis_status}= Run IPMI Standard Command chassis status 353df030faSGeorge Keishing Log To Console \n ${chassis_status} 36