Unifying number of connection retries across tests
Reconfiguring exabgp config file
Change-Id: Ibfc511006634e28de368082f675503bca863e9be
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
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}
Setup Testcase
[Arguments] ${cfg_file}
Verify Empty Flowspec Data
- ExaBgpLib.Start_ExaBgp_And_Verify_Connected ${cfg_file} ${CONFIG_SESSION} ${TOOLS_SYSTEM_IP}
+ ExaBgpLib.Start_ExaBgp_And_Verify_Connected ${cfg_file} ${CONFIG_SESSION} ${TOOLS_SYSTEM_IP} connection_retries=${3}
Verify Empty Flowspec Data
[Documentation] Verify expected response.
source 10.0.0.1/32;
destination 192.168.0.1/32;
port =80;
- destination-port [ >8080&<8088 ];
+ destination-port >8080&<8088;
source-port >1024;
protocol tcp;
- packet-length [ >400&<500 ];
+ packet-length >400&<500;
fragment =first-fragment;
icmp-type echo-reply;
icmp-code network-unreachable;