Should Not Contain ${resp.content} ${tunnel1} ${tunnel2}
Verify Tunnel Status as UP
+ [Arguments] ${Transport_zone}
[Documentation] Verify that the number of tunnels are UP
${No_of_Teps} Issue_Command_On_Karaf_Console ${TEP_SHOW}
- ${Lines_of_TZA} Get Lines Containing String ${No_of_Teps} TZA
+ ${Lines_of_TZA} Get Lines Containing String ${No_of_Teps} ${Transport_zone}
${Expected_Node_Count} Get Line Count ${Lines_of_TZA}
${no_of_tunnels} Issue_Command_On_Karaf_Console ${TEP_SHOW_STATE}
${lines_of_VXLAN} Get Lines Containing String ${no_of_tunnels} VXLAN
${vlan}= Set Variable 0
${gateway-ip}= Set Variable 0.0.0.0
Genius.Create Vteps ${Dpn_id_1} ${Dpn_id_2} ${TOOLS_SYSTEM_IP} ${TOOLS_SYSTEM_2_IP} ${vlan} ${gateway-ip}
- Wait Until Keyword Succeeds 30s 5s Genius.Verify Tunnel Status as UP
+ Wait Until Keyword Succeeds 30s 5s Genius.Verify Tunnel Status as UP TZA
BFD_TC01 Verify by default BFD monitoring is enabled on Controller
[Documentation] Verify by default BFD monitoring is enabled on Controller
BFD_TC04 Verify that in controller tunnel status is up when ITM tunnel interface is brought up.
[Documentation] Verify that in controller tunnel status is up when ITM tunnel interface is brought up.
Wait Until Keyword Succeeds 10s 2s Verify Tunnel Monitoring Is On
- Wait Until Keyword Succeeds 10s 1s Genius.Verify Tunnel Status as UP
+ Wait Until Keyword Succeeds 10s 1s Genius.Verify Tunnel Status as UP TZA
Wait Until Keyword Succeeds 10s 2s Verify Config Ietf Interface Output ${INTERFACE_DS_MONI_TRUE} ${INTERFACE_DS_MONI_INT_1000} ${TUNNEL_MONI_PROTO}
BFD_TC05 Verify BFD tunnel monitoring interval can be changed.
Log "After connecting CSS with controller"
Issue Command On Karaf Console ${TEP_SHOW}
Issue Command On Karaf Console ${TEP_SHOW_STATE}
- Wait Until Keyword Succeeds 10s 1s Genius.Verify Tunnel Status as UP
+ Wait Until Keyword Succeeds 10s 1s Genius.Verify Tunnel Status as UP TZA
Wait Until Keyword Succeeds 10s 2s Verify Config Ietf Interface Output ${INTERFACE_DS_MONI_TRUE} ${INTERFACE_DS_MONI_INT_5000} ${TUNNEL_MONI_PROTO}
BFD_TC07 Verify that BFD monitoring is disabled on Controller
${output}= Issue Command On Karaf Console ${TEP_SHOW}
Should Contain ${output} ${TUNNEL_MONITOR_OFF}
Wait Until Keyword Succeeds 10s 2s Verify Config Ietf Interface Output ${INTERFACE_DS_MONI_FALSE} ${INTERFACE_DS_MONI_INT_5000} ${TUNNEL_MONI_PROTO}
- Wait Until Keyword Succeeds 10s 1s Genius.Verify Tunnel Status as UP
+ Wait Until Keyword Succeeds 10s 1s Genius.Verify Tunnel Status as UP TZA
${resp} RequestsLibrary.Put Request session ${CONFIG_API}/itm-config:tunnel-monitor-params/ data=${ENABLE_MONITORING}
Should Be Equal As Strings ${resp.status_code} 200
Wait Until Keyword Succeeds 10s 2s Verify Tunnel Monitoring Params ${TUNNEL_MONI_PARAMS_TRUE}
Verify VTEP After Restarting OVS
[Documentation] Verify Testcase, Verifying tunnel state by restarting OVS
- Genius.Verify Tunnel Status as UP
+ Genius.Verify Tunnel Status as UP TZA
OVSDB.Restart OVSDB ${TOOLS_SYSTEM_IP}
- Wait Until Keyword Succeeds 30 3 Genius.Verify Tunnel Status as UP
+ Wait Until Keyword Succeeds 30 3 Genius.Verify Tunnel Status as UP TZA
Verify VTEP After Restarting Controller
[Documentation] Verify Testcase, Verifying tunnel state by restarting CONTROLLER
- Genius.Verify Tunnel Status as UP
+ Genius.Verify Tunnel Status as UP TZA
ClusterManagement.Stop_Members_From_List_Or_All
ClusterManagement.Start_Members_From_List_Or_All
Wait Until Keyword Succeeds 60 3 Check Service Status ACTIVE OPERATIONAL
- Wait Until Keyword Succeeds 30 3 Genius.Verify Tunnel Status as UP
+ Wait Until Keyword Succeeds 30 3 Genius.Verify Tunnel Status as UP TZA
Verify Tunnels By Disabling BFD
[Documentation] This test case will verify tunnels after disabling BFD.
${result} Run Keyword And Return Status Verify Tunnel Monitoring is on
Run Keyword If '${result}' == 'True' Disable_Tunnel_Monitoring
- Genius.Verify Tunnel Status as UP
+ Genius.Verify Tunnel Status as UP TZA
Verify Tunnels By Enabling BFD
[Documentation] This test case will check the tunnel exists by bringing up/down a switch and check tunnels exist by enabling BFD
OVSDB.Stop OVS ${TOOLS_SYSTEM_IP}
Wait Until Keyword Succeeds 2min 20 sec Verify Tunnel Down
OVSDB.Start OVS ${TOOLS_SYSTEM_IP}
- Wait Until Keyword Succeeds 2min 20 sec Genius.Verify Tunnel Status as UP
+ Wait Until Keyword Succeeds 2min 20 sec Genius.Verify Tunnel Status as UP TZA
Verify Tunnel Down
[Documentation] In this we will check whether tunnel is in down or not