Cleanup of doc files.
Fixed xterm.py (and cleanup) to clean up screen sessions. Cleaned up sshd.py (though interface is still in flux.) Added 1024-node network example (treenet1024.py). Added example showing multiple tests on a single network (multitest.py). Renamed examples to make them easier to type!
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Unfortunately, Mininet and OpenFlow don't always clean up
|
||||
# properly after themselves. Until they do (or until cleanup
|
||||
# functionality is integrated into the python code), this
|
||||
# script may be used to get rid of unwanted garbage. It may
|
||||
# also get rid of "false positives", but hopefully nothing
|
||||
# irreplaceable!
|
||||
|
||||
echo "Removing all links of the pattern foo-ethX"
|
||||
|
||||
for f in `ip link show | egrep -o '(\w+-eth\w+)' ` ; do
|
||||
@@ -14,7 +21,7 @@ killall -9 controller ofprotocol ofdatapath ping 2> /dev/null
|
||||
echo "Removing excess kernel datapath processes"
|
||||
ps ax | egrep -o 'dp[0-9]+' | sed 's/dp/nl:/' | xargs -l1 echo dpctl deldp
|
||||
|
||||
echo "Removing vconn junk in /tmp"
|
||||
echo "Removing junk in /tmp"
|
||||
rm -f /tmp/vconn* /tmp/vlogs* /tmp/*.out /tmp/*.log
|
||||
|
||||
echo "Removing old screen sessions"
|
||||
|
||||
Reference in New Issue
Block a user