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/connection_client.robot
63df030faSGeorge KeishingResource         ../lib/ipmi_client.robot
7998c16ccSGeorge KeishingResource         ../lib/bmc_redfish_resource.robot
83df030faSGeorge Keishing
966634a8bSGeorge KeishingForce Tags      Openbmc_Setup
1066634a8bSGeorge Keishing
11*d1d7ebdbSSteven Cho*** Variables  ***
1266634a8bSGeorge Keishing
1366634a8bSGeorge Keishing${REDFISH_SUPPORT_TRANS_STATE}   ${1}
1466634a8bSGeorge Keishing
153df030faSGeorge Keishing*** Test Cases ***
163df030faSGeorge Keishing
17998c16ccSGeorge KeishingTest Redfish Setup
18998c16ccSGeorge Keishing    [Documentation]  Verify Redfish works.
1966634a8bSGeorge Keishing    [Tags]  Test_Redfish_Setup
205ad0b021SGeorge Keishing
21998c16ccSGeorge Keishing    Redfish.Login
22998c16ccSGeorge Keishing    Redfish.Get  /redfish/v1/
23998c16ccSGeorge Keishing    Redfish.Logout
24998c16ccSGeorge Keishing
25998c16ccSGeorge Keishing
26998c16ccSGeorge KeishingTest SSH Setup
27998c16ccSGeorge Keishing    [Documentation]  Verify SSH works.
2866634a8bSGeorge Keishing    [Tags]  Test_SSH_Setup
293df030faSGeorge Keishing
309a59df7fSUtpal Patel    ${stdout}  ${stderr}  ${rc}=  BMC Execute Command  uname -a  print_out=1  print_err=1
319a59df7fSUtpal Patel    IF  ${rc}
329a59df7fSUtpal Patel        Fail    BMC SSH login failed.
339a59df7fSUtpal Patel    END
343df030faSGeorge Keishing
35998c16ccSGeorge Keishing
36998c16ccSGeorge KeishingTest IPMI Setup
37998c16ccSGeorge Keishing    [Documentation]  Verify Out-of-band works.
3866634a8bSGeorge Keishing    [Tags]  Test_IPMI_Setup
39998c16ccSGeorge Keishing
403df030faSGeorge Keishing    ${chassis_status}=  Run IPMI Standard Command  chassis status
413df030faSGeorge Keishing    Log To Console  \n ${chassis_status}
42