blob: 0810ec35784e6050066b0516a7f65ae94319e32d [file] [log] [blame]
*** 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}