Introduce a Clean up OVS utility to use in Robot.
[integration/test.git] / test / csit / suites / ovsdb / Openstack_Neutron / 001__connection_manager.robot
index f487211aaf49aef2a1364fc8508b2a912fc8325b..21372c8cba1072621cb7983f6e15c8f72d5df467 100644 (file)
@@ -34,9 +34,7 @@ ${PING_NOT_CONTAIN}    Destination Host Unreachable
 Make the OVS instance to listen for connection
     [Documentation]    Connect OVS to ODL
     [Tags]    OVSDB netvirt
-    Run Command On Remote System    ${MININET}    sudo ovs-vsctl --if-exists del-port br-int
-    Run Command On Remote System    ${MININET}    sudo ovs-vsctl --if-exists del-br br-int
-    Run Command On Remote System    ${MININET}    sudo ovs-vsctl del-manager
+    Clean Up Ovs   ${MININET}
     Run Command On Remote System    ${MININET}    sudo ovs-vsctl set-manager tcp:${CONTROLLER}:${OVSDB_PORT}
     ${output}    Run Command On Remote System    ${MININET}    sudo ovs-vsctl show
     ${pingresult}   Run Command On Remote System    ${MININET}    ping ${CONTROLLER} -c 4