Use SSH_PORT/HTTPS_PORT in basic functions
- In order to improve the code base's ability to run with simulated
machines, specified SSH_PORT and HTTPS_PORT in basic functions that
communicate with the OBMC machine.
- Also adjusted some calls to set or pass SSH_PORT and HTTPS_PORT.
Change-Id: If3a8b317eda80ac9c071c51084ede20ce3023484
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/extended/obmc_boot_test_resource.robot b/extended/obmc_boot_test_resource.robot
index de35f5d..45b655d 100644
--- a/extended/obmc_boot_test_resource.robot
+++ b/extended/obmc_boot_test_resource.robot
@@ -12,7 +12,7 @@
# Initialize program parameters variables.
# Create parm_list containing all of our program parameters. This is used by
# 'Rqprint Pgm Header'
-@{parm_list} openbmc_nickname openbmc_host openbmc_username
+@{parm_list} openbmc_nickname ssh_port https_port openbmc_host openbmc_username
... openbmc_password rest_username rest_password ipmi_username
... ipmi_password os_host os_username os_password pdu_host pdu_username
... pdu_password pdu_slot_no openbmc_serial_host openbmc_serial_port
@@ -24,6 +24,8 @@
# Initialize each program parameter.
${openbmc_host} ${EMPTY}
+${ssh_port} 22
+${https_port} 443
${openbmc_nickname} ${openbmc_host}
${openbmc_username} root
${openbmc_password} 0penBmc