| Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Generic PDU library | ||||
| 3 | |||||
| 4 | Resource ../../lib/resource.txt | ||||
| 5 | |||||
| 6 | *** Keywords *** | ||||
| 7 | Validate 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 | |||||
| 12 | PDU Power Cycle | ||||
| 13 | Validate Prereq | ||||
| 14 | Import Resource ${CURDIR}/../../lib/pdu/${PDU_TYPE}.robot | ||||
| 15 | Power Cycle | ||||