1*** Settings ***
2Documentation           Generic PDU library
3
4Resource        ../../lib/resource.txt
5
6*** Keywords ***
7Validate Prereq
8    ${PDU_VAR_LIST} =    Create List    PDU_TYPE    PDU_IP  PDU_USERNAME    PDU_PASSWORD    PDU_SLOT_NO
9    : FOR    ${PDU_VAR}    IN    @{PDU_VAR_LIST}
10    \    Should Not Be Empty    ${${PDU_VAR}}   msg=Unable to find variable ${PDU_VAR}
11
12PDU Power Cycle
13    Validate Prereq
14    Import Resource  ${CURDIR}/../../lib/pdu/${PDU_TYPE}.robot
15    Power Cycle
16