Initial commit - first development version of Mininet

This commit is contained in:
Bob Lantz
2009-12-08 18:08:03 -08:00
commit 98d4f1891c
3 changed files with 661 additions and 0 deletions
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
echo "Removing all links of the pattern foo-ethX"
for f in `ip link show | egrep -o '(\w+-eth\w+)' ` ; do
cmd="ip link del $f"
echo $smd
$cmd
done
echo "Removing excess controllers/ofprotocols/ofdatapaths/pings"
killall -9 controller ofprotocol ofdatapath ping 2> /dev/null
echo "Removing vconn junk in /tmp"
rm -f /tmp/vconn* /tmp/vlogs* /tmp/*.out /tmp/*.log