Change-Id: I85254e429c6e9038cbfae42849eb0e9e69af8bc2
Signed-off-by: JayaPr <jaya.priyadarshini@ericsson.com>
${output} = Utils.Write Commands Until Expected Prompt sudo ovs-ofctl -O OpenFlow13 dump-flows ${switch} ${DEFAULT_LINUX_PROMPT_STRICT}
BuiltIn.Log ${output}
[Return] ${output}
+
+Verify Ovsdb State
+ [Arguments] ${dpn_ip} ${state}=ACTIVE
+ [Documentation] Verify ovsdb state for the given DPN
+ ${output} = Utils.Run Command On Remote System And Log ${dpn_ip} sudo ovsdb-client dump -f list Open_vSwitch Controller | grep state
+ BuiltIn.Log ${output}
+ BuiltIn.Should Contain ${output} state=${state}
BgpOperations.Restart BGP Processes On ODL ${ODL_SYSTEM_IP}
Verify Ping between Inter Intra And Enterprise host
+Verify The Subnet Route When Vswitch Hosting Subnet Route Is Restarted On Single Vswitch Topology
+ [Documentation] Restart single OVS node on which subnet route is configured and verify enterprise hosts reachability
+ OVSDB.Restart OVSDB ${OS_COMPUTE_2_IP}
+ BuiltIn.Wait Until Keyword Succeeds 10s 20s OVSDB.Verify Ovsdb State ${OS_COMPUTE_2_IP}
+ VpnOperations.Verify Tunnel Status as UP
+ Verify Ping between Inter Intra And Enterprise host
+
*** Keywords ***
Suite Setup
[Documentation] Test Suite for Subnet_Routing_and_Multicast_Deployments.