blob: 111952e4255c3ea1827a9f034203f0cfbdeaa518 [file] [log] [blame]
Chris Austenb29d2e82016-06-07 12:25:35 -05001*** 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