Run Command On Remote System ${mininet_system} sudo mn -c
Run Command On Remote System ${mininet_system} sudo ps -elf | egrep 'usr/local/bin/mn' | egrep python | awk '{print "sudo kill -9",$4}' | sh
+Clean Up Ovs
+ [Arguments] ${mininet_system}=${MININET}
+ [Documentation] Cleans up the OVS instance and remove any existing common known bridges.
+ ${output}= Run Command On Remote System ${mininet_system} sudo ovs-vsctl list-br
+ Log ${output}
+ : FOR ${i} IN ${output}
+ \ Run Command On Remote System ${mininet_system} sudo ovs-vsctl --if-exists del-br ${i}
+ Run Command On Remote System ${mininet_system} sudo ovs-vsctl del-manager
+
Extract Value From Content
[Arguments] ${content} ${index} ${strip}=nostrip
[Documentation] Will take the given response content and return the value at the given index as a string
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