Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation synaccess PDU library |
| 3 | |
| 4 | Resource ../../lib/pdu/pdu.robot |
| 5 | Library RequestsLibrary.RequestsKeywords |
| 6 | |
| 7 | *** Keywords *** |
| 8 | Connect and Login |
| 9 | Validate Prereq |
Michael Walsh | e21c364 | 2017-03-21 14:52:21 -0500 | [diff] [blame] | 10 | SSHLibrary.Open Connection ${PDU_IP} |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 11 | ${auth}= Create List ${PDU_USERNAME} ${PDU_PASSWORD} |
| 12 | Create Session pdu http://${PDU_IP} auth=${auth} |
| 13 | |
| 14 | Power Cycle |
| 15 | Connect and Login |
| 16 | ${ret}= Get Request pdu /cmd.cgi?$A4 ${PDU_SLOT_NO} |