Commit Graph
1885 Commits
Author SHA1 Message Date
Bob Lantz 696a619d0e Minor tweaks and corrections.
Added commentary on control network to mininet.py.
Hopefully fixed linearbandwidth.py for real.
2009-12-15 18:50:44 -08:00
Bob Lantz ea420ee29f First crack at converting cleanup to Python. 2009-12-15 18:49:46 -08:00
Bob Lantz 2708cadd40 Fixed LinearNet to pass correct parametersto GridNet.__init__() 2009-12-15 17:31:36 -08:00
Bob Lantz 657333199b Fixed treeping1024.py to import Cli, so it should work now. 2009-12-15 17:22:56 -08:00
Bob Lantz 6a30c394b1 Changed to include linux/sched.c for compiling on debian-stable. 2009-12-15 17:14:30 -08:00
Bob Lantz 93519c04f9 Fixed control network/user datapath networks. 2009-12-15 06:13:52 -08:00
Bob Lantz 9dbb68df9e 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 been
able to test yet.
2009-12-14 22:37:19 -08:00
Bob Lantz 77131e8f24 OK, now we run 'routing' for the nox configurations with loops.
Unfortunately, I can't test this at the moment since nox seems not to
be 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
out why nox is dying, as it generally is.
2009-12-14 22:13:53 -08:00
Bob Lantz c53fa3ba32 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 with
nox out of the box at least.
2009-12-14 21:35:08 -08:00
Bob Lantz 0b084dd51a Added ripcord.py, which attempts to make a FatTree using ripcord and
instantiate a mininet Network based on its topology.

Also minor cleanup of nox.py and GridNet class in mininet.py.
2009-12-14 21:01:45 -08:00
Bob Lantz 2f53491343 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 TreeNet
using a custom Controller, NoxController, that runs nox_core rather
than the reference controller.
2009-12-14 20:14:44 -08:00
Bob Lantz 845dedca32 One more change to revert the broken exec behavior. 2009-12-14 19:21:17 -08:00
Brandon Heller 0608b5939b Add notes on installing NOX on Deb testing. 2009-12-12 04:47:13 -08:00
Brandon Heller ea7c8795f5 Ensure netns is in the path. 2009-12-12 02:54:52 -08:00
Bob Lantz ac75d7cff4 Inadvertently added verbosity into Node.setIP(); removed. 2009-12-14 13:46:36 -08:00
Bob Lantz fb7658c8ca Since execing controller/ofprotocol was broken, reverting to just running in background.
This should eliminate ofprotocol bogons living on past the end of a test.
2009-12-14 13:38:10 -08:00
Bob Lantz 98332cb616 Tweaks to documentation files and sshd and xterms examples.
Added scratchnetuser.
2009-12-14 13:22:03 -08:00
Bob Lantz 433503cf8a Added "from scratch" examples, to show how to create a network using
low-level primitives.

The "nox.py" example attempts to use nox as a controller rather than
controller(8).

More edits for INSTALL and README, and refinements for sshd and xterm
examples.
2009-12-14 12:43:42 -08:00
Bob Lantz 55dd936829 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!
2009-12-11 09:21:36 -08:00
Bob Lantz 08cef003f7 Changed cleanup to vaporize zombie screen sessions.
Other minor cleanup.
2009-12-11 06:17:42 -08:00
Bob Lantz f4d9e05d05 Fixed treePing64.
Minor tweaks to other files.
2009-12-11 04:25:31 -08:00
Bob Lantz 2a0cad3c85 Renamed and tweaked treePing64. 2009-12-11 04:01:56 -08:00
Bob Lantz b3dd44d41b Fixed bigTreePing64.
More edits for INSTALL and README files.
Batteries still not included (for the moment.) ;-)
2009-12-11 03:58:54 -08:00
Bob Lantz 3da2b1482c Place 'root namespace' in xterm title to make it clearer that
the node is running in the root namespace.
2009-12-11 03:33:38 -08:00
Bob Lantz d8ef79dff7 Tweaks for install and readme files. 2009-12-11 03:31:45 -08:00
Bob Lantz af8f0b61b6 Added INSTALL file incorporating Brandon's suggestions.
More tweaks for examples, which are still in progress.
2009-12-11 03:22:09 -08:00
Bob Lantz 42ba5d92c3 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 via
the first OpenFlow switch, so when you ssh in you go through OpenFlow!)

Modified Network() to optionally decouple starting the network, running
tests, and stopping the network. This allows multiple tests to be run
(or additional modifications to be made to the network before actually
starting the switches and controller.)

Still tweaking xterms - it sort of works but the screen sessions are not
cleaned up, which leads to nasty garbage.
2009-12-11 02:34:21 -08:00
Bob Lantz 748e35d50f Working on examples.
Added new example to create xterms.
Other minor changes.
2009-12-10 23:39:06 -08:00
Bob Lantz 4ccc7ee941 Added examples, which may or may not work yet. 2009-12-10 01:47:00 -08:00
Bob Lantz 95d9a374b2 Added README.
Modified cleanup to use dpctl to remove kernel datapaths.
2009-12-10 00:21:26 -08:00
Bob Lantz 994c68f648 Modified test infrastructure to return results.
Ping and iperf tests now return something possibly useful.
2009-12-09 23:24:27 -08:00
Bob Lantz 9011e0d22c Fixed user datapath support. 2009-12-09 22:13:46 -08:00
Bob Lantz 6bd22292b6 Added checks for tun and ofdatapath kernel modules. 2009-12-09 21:59:18 -08:00
Bob Lantz eddef947a4 Organized routines into classes:
Node -> { Host, Switch, Controller }
Network -> { TreeNet, GridNet -> LinearNet }

Modified cleanup to clean up kernel datapaths.
2009-12-09 21:13:17 -08:00
Bob Lantz 98d4f1891c Initial commit - first development version of Mininet 2009-12-08 18:08:03 -08:00