X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=blobdiff_plain;f=csit%2Fsuites%2Fgenius%2FBFD_monitoring.robot;h=b0a34dba77fecc18a1f158b814c822931e97a24e;hp=2a65962bd081a3c88069a6c665cf0b1bc36f03b6;hb=94651ca9711d8eb316721775561e815830bc6c7e;hpb=89b88a0a23561f0bda62338b394ec41655679b2d diff --git a/csit/suites/genius/BFD_monitoring.robot b/csit/suites/genius/BFD_monitoring.robot index 2a65962bd0..b0a34dba77 100644 --- a/csit/suites/genius/BFD_monitoring.robot +++ b/csit/suites/genius/BFD_monitoring.robot @@ -76,9 +76,10 @@ BFD_TC05 Verify BFD tunnel monitoring interval can be changed. Wait Until Keyword Succeeds 30s 10s Utils.Check For Elements At URI ${OPERATIONAL_API}/itm-config:tunnel-monitor-interval/ ${Bfd_updated_value} Wait Until Keyword Succeeds 30s 10s Utils.Check For Elements At URI ${CONFIG_API}/itm-config:tunnel-monitor-interval/ ${Bfd_updated_value} Wait Until Keyword Succeeds 10s 2s Verify Config Ietf Interface Output ${INTERFACE_DS_MONI_TRUE} ${INTERFACE_DS_MONI_INT_5000} ${TUNNEL_MONI_PROTO} - : FOR ${tool_system_index} IN RANGE ${NUM_TOOLS_SYSTEM} - \ ${tun_names} Genius.Get Tunnels On OVS ${TOOLS_SYSTEM_ALL_CONN_IDS[${tool_system_index}]} - \ Verify ovs-vsctl Output For Each Tunnel ${tun_names} ${tool_system_index} + FOR ${tool_system_index} IN RANGE ${NUM_TOOLS_SYSTEM} + ${tun_names} Genius.Get Tunnels On OVS ${TOOLS_SYSTEM_ALL_CONN_IDS[${tool_system_index}]} + Verify ovs-vsctl Output For Each Tunnel ${tun_names} ${tool_system_index} + END BFD_TC06 Verify that the tunnel state goes to UNKNOWN when DPN is disconnected [Documentation] Verify that the tunnel state goes to UNKNOWN when DPN is disconnected @@ -141,7 +142,8 @@ Disable BFD And Verify Verify ovs-vsctl Output For Each Tunnel [Arguments] ${tun_names} ${tool_system_index} ${no of tunnels} = BuiltIn.Get Length ${tun_names} - : FOR ${each_tun} IN RANGE ${no of tunnels} - \ ${tun} Collections.Get From List ${tun_names} ${each_tun} - \ BuiltIn.Wait Until Keyword Succeeds 20 5 OVSDB.Verify Ovs-vsctl Output list interface ${tun} 5000 - \ ... ovs_system=@{TOOLS_SYSTEM_ALL_IPS}[${tool_system_index}] + FOR ${each_tun} IN RANGE ${no of tunnels} + ${tun} Collections.Get From List ${tun_names} ${each_tun} + BuiltIn.Wait Until Keyword Succeeds 20 5 OVSDB.Verify Ovs-vsctl Output list interface ${tun} 5000 + ... ovs_system=@{TOOLS_SYSTEM_ALL_IPS}[${tool_system_index}] + END