Restored scratchnet and scratchnetuser demos.
Also changed the str format for nodes to use str() ratherthan repr() so we don't end up with extraneous quotes.
Moved link creation into Node.addIntf() and fixed util:CreateLink().
Also tweaked cmd/cmdPrint to make them more beautiful and functional,and a few other minor changes, such as using a new idiom for verbose.
These changes support reinstating the examples.
Add xterm support
Remove/merge obsolete examples
Move TreeNet to new Mininet API
Also remove all non-object-oriented legacy Mininet code and updatetests.
User-space compatibility is untested, but most of the code for it isstill in.
Move Node functions into their own file
Nodes include Switch, Host, and Controller; move these to a separatefile.
This file still could use some attention to hide private functions.Node seems like a primary class to extend, for adding stuff like OpenvSwitch, so it could benefit from a simpler interface.
Move utility functions out of mininet.py
Having a file with the same name as its package creates hard-to-diagnoseimport error, so rename mininet.py to net.py. This commit moves utilityfunctions, generally those dealing with network namespaces and interface...
Rewrite Ripcord test and most of mininet
Make much of the Mininet code object-oriented around the new Mininetobject, 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...
Use setuptools to install python files
Now, to reference mininet files, use 'import mininet.mininet'.
PYTHONPATH mods are no longer required for installation.
Added simple all-to-all UDP bandwidth test.
Added missing value (60) in list. ;-)
Changed linearbandwidth.py to be much (!) smarter - it now reuses the network! Amazing.
Minor tweaks and corrections.Added commentary on control network to mininet.py.Hopefully fixed linearbandwidth.py for real.
Fixed treeping1024.py to import Cli, so it should work now.
Fixed iperf test.Not sure if I want nox_core -v in nox.py - it's useful for debugging.ripcordtest.py (and grid.py) still depend on routing, which I haven't beenable to test yet.
OK, now we run 'routing' for the nox configurations with loops.
Unfortunately, I can't test this at the moment since nox seems not tobe able to find the routing module.
Added/renamed examples: grid.py, tree1024.py
Added -v flag to nox arguments, so we have some chance of figuring...
Second crack at a ripcordtest.py that actually works.ripcord.py was a name conflict - ugh!This one creates a network successfully, but ping doesn't work withnox out of the box at least.
Added ripcord.py, which attempts to make a FatTree using ripcord andinstantiate a mininet Network based on its topology.
Also minor cleanup of nox.py and GridNet class in mininet.py.
First crack at allowing Controller to be customized.Network may now be used with custom controllers.An example of doing this is in nox.py, which instantiates at TreeNetusing a custom Controller, NoxController, that runs nox_core ratherthan the reference controller.
Tweaks to documentation files and sshd and xterms examples.
Added "from scratch" examples, to show how to create a network usinglow-level primitives.
The "nox.py" example attempts to use nox as a controller rather thancontroller(8).
More edits for INSTALL and README, and refinements for sshd and xtermexamples.
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)....
Changed cleanup to vaporize zombie screen sessions.Other minor cleanup.
Fixed treePing64.Minor tweaks to other files.
Renamed and tweaked treePing64.
Fixed bigTreePing64.More edits for INSTALL and README files.Batteries still not included (for the moment.) ;-)
Place 'root namespace' in xterm title to make it clearer thatthe node is running in the root namespace.
Added INSTALL file incorporating Brandon's suggestions.
More tweaks for examples, which are still in progress.
Added sshd example, which starts up sshd on each host, allowing host access via ssh.
(It also adds a route from the root namespace to the data network viathe first OpenFlow switch, so when you ssh in you go through OpenFlow!)
Modified Network() to optionally decouple starting the network, running...
Working on examples.Added new example to create xterms.Other minor changes.
Added examples, which may or may not work yet.