Allowing for empty deb version for ADTRAN OLT
Also avoiding logging if OLT does not provide usr/pwd
Change-Id: I1b895bb1350c8865129e76909db040606c9d3ce0
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 3aaba81..475e220 100755
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -967,6 +967,8 @@
${olt_user} Evaluate ${olts}[${I}].get("user")
${olt_pass} Evaluate ${olts}[${I}].get("pass")
${olt_ssh_ip} Evaluate ${olts}[${I}].get("sship")
+ Continue For Loop If "${olt_user}" == "${None}"
+ Continue For Loop If "${olt_pass}" == "${None}"
Wait Until Keyword Succeeds 180s 10s Execute Remote Command
... printf '%s\n' '' '' '${message}' '' >> /var/log/openolt.log
... ${olt_ssh_ip} ${olt_user} ${olt_pass}