*** Settings ***
Documentation           synaccess PDU library

Resource        ../../lib/pdu/pdu.robot
Library         RequestsLibrary.RequestsKeywords

*** Keywords ***
Connect and Login
    Validate Prereq
    Open Connection     ${PDU_IP}
    ${auth}=    Create List     ${PDU_USERNAME}    ${PDU_PASSWORD}
    Create Session    pdu    http://${PDU_IP}   auth=${auth}

Power Cycle
    Connect and Login
    ${ret}=    Get Request    pdu    /cmd.cgi?$A4 ${PDU_SLOT_NO}

*** Settings ***
Documentation           synaccess PDU library

Resource        ../../lib/pdu/pdu.robot
Library         RequestsLibrary.RequestsKeywords

*** Keywords ***
Connect and Login
    Validate Prereq
    SSHLibrary.Open Connection  ${PDU_IP}
    ${auth}=    Create List     ${PDU_USERNAME}    ${PDU_PASSWORD}
    Create Session    pdu    http://${PDU_IP}   auth=${auth}

Power Cycle
    Connect and Login
    ${ret}=    Get Request    pdu    /cmd.cgi?$A4 ${PDU_SLOT_NO}

Add "SSHLibrary." qualifier to "Open Connection" invocation.
Add "SSHLibrary." qualifier to "Open Connection" invocation.

This failed when called by obmc_boot_test.robot.

Change-Id: I0b1a803a476ba0676675035e3110c8d9a0bea8e3
Signed-off-by: Michael Walsh <10404802c7de463f402c4a18638106ca1b12ef61@us.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation