1*** Settings *** 2Documentation Generic Protocol Distribution Unit (PDU) library 3 4Resource ../../lib/resource.robot 5 6*** Keywords *** 7Validate Prereq 8 [Documentation] Validate prerequisites for PDU. 9 ${PDU_VAR_LIST}= Create List PDU_TYPE PDU_IP PDU_USERNAME PDU_PASSWORD PDU_SLOT_NO 10 FOR ${PDU_VAR} IN @{PDU_VAR_LIST} 11 Should Not Be Empty ${${PDU_VAR}} msg=Unable to find variable ${PDU_VAR} 12 END 13 14PDU Power Cycle 15 [Documentation] Perform PDU power cycle. 16 Validate Prereq 17 Import Resource ${CURDIR}/../../lib/pdu/${PDU_TYPE}.robot 18 Power Cycle 19