Increase topology recover timeout
[integration/test.git] / csit / libraries / ExaBgpLib.robot
index 31a0b2f49aaddad63017cbfeb4306e9fba481ed5..7d4269b52e82fdc4f604f421d1b51f7768ca4791 100644 (file)
@@ -14,7 +14,7 @@ Documentation     Robot keyword library (Resource) for handling the ExaBgp tool.
 ...               TODO: RemoteBash.robot contains logic which could be reused here.
 Library           SSHLibrary
 Resource          ${CURDIR}/SSHKeywords.robot
-Resource          ${CURDIR}/Utils.robot
+Resource          ${CURDIR}/RemoteBash.robot
 
 *** Variables ***
 ${CMD}            env exabgp.tcp.port=1790 exabgp --debug
@@ -35,13 +35,13 @@ Stop_ExaBgp
     [Documentation]    Stops the ExaBgp by sending ctrl+c
     ${output}=    SSHLibrary.Read
     BuiltIn.Log    ${output}
-    Utils.Write_Bare_Ctrl_C
+    RemoteBash.Write_Bare_Ctrl_C
     ${output}=    SSHLibrary.Read_Until_Prompt
     BuiltIn.Log    ${output}
     SSHKeywords.Virtual_Env_Deactivate_On_Current_Session    log_output=${True}
 
 Start_ExaBgp_And_Verify_Connected
-    [Arguments]    ${cfg_file}    ${session}    ${exabgp_ip}    ${connection_retries}=${1}
+    [Arguments]    ${cfg_file}    ${session}    ${exabgp_ip}    ${connection_retries}=${3}
     [Documentation]    Starts the ExaBgp and verifies its connection. The verification is done by checking the presence
     ...    of the peer in the bgp rib.
     : FOR    ${idx}    IN RANGE    ${connection_retries}