blob: aa1b21698d85c546d7a0d596ec3263fa36862f6b [file] [log] [blame]
*** Settings ***
Documentation Generic Protocol Distribution Unit (PDU) library
Resource ../../lib/resource.txt
*** Keywords ***
Validate Prereq
[Documentation] Validate prerequisites for PDU.
${PDU_VAR_LIST} = Create List PDU_TYPE PDU_IP PDU_USERNAME PDU_PASSWORD PDU_SLOT_NO
: FOR ${PDU_VAR} IN @{PDU_VAR_LIST}
\ Should Not Be Empty ${${PDU_VAR}} msg=Unable to find variable ${PDU_VAR}
PDU Power Cycle
[Documentation] Perform PDU power cycle.
Validate Prereq
Import Resource ${CURDIR}/../../lib/pdu/${PDU_TYPE}.robot
Power Cycle