It's possible that mn_clean is a bit easier to read; mnclean may be easier
to type, however.
Added variables to Makefile so that source files are listed in a single
location.
The packages argument was incorrectly specified, leading to an install
process that would appear to have succeeded, but would not actually copy
code.
The error likely occurred due to copying setup.py from another project
where the source files were located in a different position relative to
setup.py.
Auto MAC setup sets each host MAC equal to its DPID, which simplifies
debugging.
Auto ARP setup removes the need for broadcast support for ARP, which
enables a smaller NOX controller.
If ripcord.dctopo imports properly, then include its topologies in the
list of available ones. Also replace topo.py with new generic
topologies and update paths.
Also remove all non-object-oriented legacy Mininet code and update
tests.
User-space compatibility is untested, but most of the code for it is
still in.
Nodes include Switch, Host, and Controller; move these to a separate
file.
This file still could use some attention to hide private functions.
Node seems like a primary class to extend, for adding stuff like Open
vSwitch, so it could benefit from a simpler interface.
Having a file with the same name as its package creates hard-to-diagnose
import error, so rename mininet.py to net.py. This commit moves utility
functions, generally those dealing with network namespaces and interface
management, into their own file.
Also fix a few minor formatting bugs and clean up logging code (which
had issues when multiple files would import mininet.logging_mod).
Make much of the Mininet code object-oriented around the new Mininet
object, and create a generic way to build a Mininet.
Previously, each network topology was created by Mininet API calls,
which seems much less approachable for new users than passing in a
topology object along with controller, switch, and host classes.
The modified code is all in ripcordtest.py, but will need to replace the
main mininet.py code eventually.
Kernel-space support only, for now.