... 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
[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}