fixing remote termination point for bmp tool
[integration/test.git] / csit / suites / bgpcep / bgpfunct / 050_bmp_basic.robot
index 4fb11c0a10c89db93bdf3abfe7a3e4102b16bd8d..7a9f8a31d610ae6d5afe905760d1219e43cbfcfa 100644 (file)
@@ -32,11 +32,12 @@ ${BMP_LOG_FILE}    bmpmock.log
 *** Test Cases ***
 Start_Bmp_Mock
     [Documentation]    Starts bmp-mock on tools vm
-    ${command}=    NexusKeywords.Compose_Full_Java_Command    -jar ${filename} --local_address ${TOOLS_SYSTEM_IP} --remote_address ${ODL_SYSTEM_IP} --routers_count 1 --peers_count 1 --log_level DEBUG 2>&1 | tee ${BMP_LOG_FILE}
+    ${command}=    NexusKeywords.Compose_Full_Java_Command    -jar ${filename} --local_address ${TOOLS_SYSTEM_IP} --remote_address ${ODL_SYSTEM_IP}:12345 --routers_count 1 --peers_count 1 --log_level DEBUG 2>&1 | tee ${BMP_LOG_FILE}
     BuiltIn.Log    ${command}
     SSHLibrary.Set_Client_Configuration    timeout=30s
     SSHLibrary.Write    ${command}
-    SSHLibrary.Read_Until    successfully established.
+    ${until_phrase}=    BuiltIn.Set_Variable_If    "${ODL_STREAM}"=="beryllium"    sucesfully established.    successfully established.
+    SSHLibrary.Read_Until    ${until_phrase}
 
 Verify Data Reported
     [Documentation]    Verifies if the tool reported expected data