Initial base infrastructure support for open BMC FFDC
This change includes the following
- initial support struture for FFDC
- scp connection introduced
Resolves openbmc/openbmc-test-automation#39
Change-Id: Id0656401b1f4b73d4b2500e70c9ba78f11bd7879
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/connection_client.robot b/lib/connection_client.robot
index b67996c..e3bbdff 100755
--- a/lib/connection_client.robot
+++ b/lib/connection_client.robot
@@ -53,6 +53,14 @@
Login ${username} ${password}
+Open Connection for SCP
+ Import Library SCPLibrary WITH NAME scp
+ Run Keyword If '${SSH_PORT}' == '${EMPTY}' scp.Open connection ${OPENBMC_HOST}
+ ... username=${OPENBMC_USERNAME} password=${OPENBMC_PASSWORD}
+ ... ELSE Run Keyword scp.Open connection ${OPENBMC_HOST} port=${SSH_PORT}
+ ... username=${OPENBMC_USERNAME} password=${OPENBMC_PASSWORD}
+
+
User input SSH and HTTPs Ports
[Documentation] Update the global SSH and HTTPs port variable for QEMU
${port_num}= Convert To Integer ${SSH_PORT}