[VOL-3345] changes for in-band in voltha-2.4
Change-Id: Ibe72d06aee75adb1b108d8d5e89b2b696ee7fb21
diff --git a/tests/dt-workflow/Voltha_DT_FailureScenarios.robot b/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
index 9ceb958..60c7fa7 100644
--- a/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
+++ b/tests/dt-workflow/Voltha_DT_FailureScenarios.robot
@@ -153,7 +153,7 @@
Wait Until Keyword Succeeds ${timeout} 2s Perform Sanity Test DT
# Reboot the OLT from the OLT CLI
Run Keyword If ${has_dataplane} Login And Run Command On Remote System
- ... sudo reboot ${olt_ip} ${olt_user} ${olt_pass} prompt=#
+ ... sudo reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
Run Keyword And Ignore Error Collect Logs
FOR ${I} IN RANGE 0 ${num_onus}
${src}= Set Variable ${hosts.src[${I}]}
@@ -165,7 +165,7 @@
END
# Wait for the OLT to come back up
Run Keyword If ${has_dataplane} Wait Until Keyword Succeeds 120s 10s
- ... Check Remote System Reachability True ${olt_ip}
+ ... Check Remote System Reachability True ${olt_ssh_ip}
# Waiting extra time for the ONUs to come up
Sleep 60s
Run Keyword And Ignore Error Collect Logs
@@ -414,7 +414,7 @@
END
# Wait for the OLT to come back up
Run Keyword If ${has_dataplane} Wait Until Keyword Succeeds 120s 10s
- ... Check Remote System Reachability True ${olt_ip}
+ ... Check Remote System Reachability True ${olt_ssh_ip}
# Waiting extra time for the ONUs to come up
Sleep 60s
# Check OLT states
diff --git a/tests/functional/Voltha_FailureScenarios.robot b/tests/functional/Voltha_FailureScenarios.robot
index 6193a61..b0f2f58 100644
--- a/tests/functional/Voltha_FailureScenarios.robot
+++ b/tests/functional/Voltha_FailureScenarios.robot
@@ -148,7 +148,7 @@
Wait Until Keyword Succeeds ${timeout} 2s Perform Sanity Test
# Reboot the OLT from the OLT CLI
Run Keyword If ${has_dataplane} Login And Run Command On Remote System
- ... sudo reboot ${olt_ip} ${olt_user} ${olt_pass} prompt=#
+ ... sudo reboot ${olt_ssh_ip} ${olt_user} ${olt_pass} prompt=#
Run Keyword And Ignore Error Collect Logs
FOR ${I} IN RANGE 0 ${num_onus}
${src}= Set Variable ${hosts.src[${I}]}
@@ -160,7 +160,7 @@
END
# Wait for the OLT to come back up
Run Keyword If ${has_dataplane} Wait Until Keyword Succeeds 120s 10s
- ... Check Remote System Reachability True ${olt_ip}
+ ... Check Remote System Reachability True ${olt_ssh_ip}
# Waiting extra time for the ONUs to come up
Sleep 60s
Run Keyword And Ignore Error Collect Logs
diff --git a/tests/functional/Voltha_FailureScenarios2.robot b/tests/functional/Voltha_FailureScenarios2.robot
index 0cd53f0..5c3c3d3 100644
--- a/tests/functional/Voltha_FailureScenarios2.robot
+++ b/tests/functional/Voltha_FailureScenarios2.robot
@@ -81,7 +81,7 @@
END
# Wait for the OLT to come back up
Run Keyword If ${has_dataplane} Wait Until Keyword Succeeds 120s 10s
- ... Check Remote System Reachability True ${olt_ip}
+ ... Check Remote System Reachability True ${olt_ssh_ip}
# Waiting extra time for the ONUs to come up
Sleep 60s
# Check OLT states
diff --git a/tests/openonu-go-adapter/Voltha_ONUStateTests.robot b/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
index 692df08..929f815 100755
--- a/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
+++ b/tests/openonu-go-adapter/Voltha_ONUStateTests.robot
@@ -91,7 +91,7 @@
#test for empty device list
Test Empty Device List
Run Keyword If ${has_dataplane} Wait Until Keyword Succeeds 120s 10s Openolt is Up
- ... ${olt_ip} ${olt_user} ${olt_pass}
+ ... ${olt_ssh_ip} ${olt_user} ${olt_pass}
Run Keyword If ${has_dataplane} Sleep 60s
#create/preprovision device
${olt_device_id}= Create Device ${olt_ip} ${OLT_PORT}