fixing remote termination point for bmp tool 50/42550/2
authorPeter Gubka <pgubka@cisco.com>
Tue, 26 Jul 2016 09:44:56 +0000 (11:44 +0200)
committerPeter Gubka <pgubka@cisco.com>
Tue, 26 Jul 2016 12:22:52 +0000 (14:22 +0200)
Change-Id: I093ea838f9125a2bec1b889fc3b212728e2df4e3
Signed-off-by: Peter Gubka <pgubka@cisco.com>
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