Statistics
| Branch: | Tag: | Revision:

mininet / examples @ 1d67218d

# Date Author Comment
1d67218d 10/26/2010 04:54 AM Bob Lantz

Modified to add eth1.

76521ef1 10/26/2010 04:53 AM Bob Lantz

Added example of adding hw interface to mininet.

7e643d36 10/26/2010 04:53 AM Bob Lantz

Removed udpbwgraph - not ready for prime time.

11782ae0 10/26/2010 04:52 AM Bob Lantz

Commented out kernel ref, moved to Open vSwitch.

74a56e2b 09/02/2010 03:50 AM Bob Lantz

Pass code check.

300efb2b 09/02/2010 02:54 AM Bob Lantz

Added simple example of using API just to create a namespace.

e0e69bbe 09/02/2010 02:53 AM Bob Lantz

Added new example of multiple controllers.

73a098a4 09/02/2010 02:51 AM Bob Lantz

Use dict.update to update an object's fields.

c26875cb 05/07/2010 08:15 AM Bob Lantz

Fixed minor breakage due to code cleanup.

e3f6ecca 05/07/2010 12:48 AM Bob Lantz

Pass codecheck.

82b72072 05/06/2010 11:24 PM Bob Lantz

Pass pylint.

259d7133 05/05/2010 02:11 AM Bob Lantz

Pass pyflakes.

c79882b7 05/05/2010 12:32 AM Bob Lantz

Fixed typo.

fa20913b 04/29/2010 11:18 PM Bob Lantz

Added space to one line.

6ef2973f 04/23/2010 12:16 AM Bob Lantz

Use switches rather than switches.keys().

Minor cosmetic change, really.

3758da2e 04/23/2010 12:08 AM Bob Lantz

Minor comment change.

b1458654 04/23/2010 12:04 AM Bob Lantz

Added comment advising use of high-level API.

d2ff558d 04/23/2010 12:02 AM Bob Lantz

Correctly handle xterm creation with new makeTerm interface.

34954fe6 04/23/2010 12:02 AM Bob Lantz

Minor comment change.

ab1fb093 04/23/2010 12:01 AM Bob Lantz

Added output hook and graph.

3482b446 04/13/2010 01:32 AM Bob Lantz

Changed to not print control chars we don't handle.

e7ba6b9e 04/11/2010 08:43 AM Bob Lantz

Add title to consoles.

fce4d59d 04/11/2010 08:12 AM Bob Lantz

Added ability to show switches and controllers.

6c82d1ba 04/11/2010 06:51 AM Bob Lantz

Added blurbs for new demos.

03e59652 04/11/2010 06:51 AM Bob Lantz

Changed to use info() and not call build() unnecessarily.

c3a583c8 04/11/2010 05:40 AM Bob Lantz

Changed comment on iperf.

e123afea 04/11/2010 05:38 AM Bob Lantz

Changed to let iperf run indefinitely. Simplifies things.

7ad48292 04/11/2010 05:27 AM Bob Lantz

Added iperf command.

a4db2c2f 04/11/2010 04:35 AM Bob Lantz

Removed unnecessary init() calls.

4720f559 04/11/2010 04:35 AM Bob Lantz

Fixed to import TreeNet and to skip unnecessary init().

56278434 04/11/2010 04:35 AM Bob Lantz

Changed to use library TreeNet() and remove unnecessary init().

8e4d818a 04/11/2010 04:01 AM Bob Lantz

Made the scroll bars narrower to fit ping output on my 15" screen.

d0e53ca8 04/11/2010 03:52 AM Bob Lantz

Added semi-interactive command line support.

Now you can type commands into each mini-console!

3e6b3dd2 04/11/2010 02:29 AM Bob Lantz

Added an example of how to make an empty Mininet and add things to it.

c58bb42f 04/11/2010 02:28 AM Bob Lantz

Added updbwgraph, a demo of how to graphically monitor node output.

afe0ce81 04/11/2010 02:26 AM Bob Lantz

Added simple console tool demo.

The console tool spawns and monitors a bunch of nodes.

e10abba0 04/11/2010 02:26 AM Bob Lantz

Added a simple graphical network editor demo.

b1affce8 04/11/2010 02:23 AM Bob Lantz

Removed TreeNet() convenience function (moved to topolib.)

41badb96 03/25/2010 12:08 AM Bob Lantz

Pass code check.

45e82d09 03/25/2010 12:04 AM Bob Lantz

Restored treeping64 and tre1024 examples and updated README.

d93c6ef6 03/25/2010 12:03 AM Bob Lantz

Change to use setLogLevel()

fe414722 03/25/2010 12:03 AM Bob Lantz

Change to use setLogLevel()

22f807fc 03/24/2010 10:20 PM Bob Lantz

Reinstated multitest example and updated examples/README.

cf6f6704 03/24/2010 09:41 PM Bob Lantz

Added two spaces before in-line # comments.

35341142 03/24/2010 08:42 PM Bob Lantz

Minor formatting changes.

6ab417cc 03/22/2010 11:24 PM Bob Lantz

Added setup for kernel switch.

3e624fb2 03/18/2010 06:43 AM Bob Lantz

Added openvswitch kernel switch.

ec7b211c 03/16/2010 09:59 PM Bob Lantz

Buffered output. Added net.monitor() and node.readline()

Moved monitor() and readline() into net.py and node.py respectively,
which will hopefully be useful for monitoring large sets of hosts,
as is done in udpbwtest.py.

Changed iperf to use interactive command infrastructure (such as it...

6ab1f1ff 03/16/2010 09:59 PM Bob Lantz

Run in non-verbose mode, and print network sizes.

736038f8 03/16/2010 09:59 PM Bob Lantz

Added README for examples.

1a9d2eac 03/10/2010 05:47 AM Bob Lantz

Fixed createLink args and cleaned up slightly.

73a323f2 03/10/2010 05:46 AM Bob Lantz

Made compatible with rearranged args for createLink.

7ba9e055 03/08/2010 11:36 PM Bob Lantz

Fixed errors due to renaming buffer to buf.

80be5642 03/08/2010 11:32 PM Bob Lantz

Removed underscores for public Node methods. Minor cleanup & comments.

a16fae67 03/06/2010 01:19 AM Bob Lantz

Tweaks to separate command and options.

91b9e374 03/06/2010 01:13 AM Bob Lantz

Revived sshd.py example.

be963554 03/06/2010 01:01 AM Bob Lantz

Added some additional explanatory comments.

73360ab9 03/05/2010 11:15 PM Bob Lantz

Moved TreeTopo to mininet.topolib.

5156b389 03/05/2010 11:15 PM Bob Lantz

Renamed LinearTestTopo() and added full ping test.

fd21c46f 03/05/2010 10:49 PM Bob Lantz

Restored udpbwtest.py

c80e18cd 03/05/2010 10:12 PM Bob Lantz

Worked once on user, kernel for 1-20 switches.

95f6e7b7 03/05/2010 12:55 AM Bob Lantz

linearbandwidth.py now works for kernel switch.

47e26cce 03/05/2010 12:55 AM Bob Lantz

Fixed to be compatible with new setIP().

48a8d297 03/05/2010 12:52 AM Bob Lantz

Removed blank line.

dc630c54 03/03/2010 10:37 PM Bob Lantz

Restored scratchnet and scratchnetuser demos.

Also changed the str format for nodes to use str() rather
than repr() so we don't end up with extraneous quotes.

efc9a01c 03/03/2010 09:52 PM Bob Lantz

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.

8a034f4f 01/02/2010 06:58 PM Brandon Heller

Add xterm support

83086439 01/02/2010 06:55 PM Brandon Heller

Remove/merge obsolete examples

8b5062a3 12/26/2009 10:25 PM Brandon Heller

Move TreeNet to new Mininet API

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.

89bf3103 12/20/2009 10:19 PM Brandon Heller

Move Node functions into their own file

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.

220890a0 12/20/2009 05:32 PM Brandon Heller

Move utility functions out of mininet.py

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...

bc547080 12/20/2009 12:03 PM Brandon Heller

Rewrite Ripcord test and most of mininet

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...

51270ce4 12/18/2009 08:12 PM Brandon Heller

Use setuptools to install python files

Now, to reference mininet files, use 'import mininet.mininet'.

PYTHONPATH mods are no longer required for installation.

40580731 12/18/2009 12:31 AM Bob Lantz

Added simple all-to-all UDP bandwidth test.

9bb15c76 12/18/2009 12:31 AM Bob Lantz

Added missing value (60) in list. ;-)

7df36e47 12/16/2009 06:40 AM Bob Lantz

Changed linearbandwidth.py to be much (!) smarter - it now reuses the network! Amazing.

696a619d 12/16/2009 02:50 AM Bob Lantz

Minor tweaks and corrections.
Added commentary on control network to mininet.py.
Hopefully fixed linearbandwidth.py for real.

65733319 12/16/2009 01:22 AM Bob Lantz

Fixed treeping1024.py to import Cli, so it should work now.

9dbb68df 12/15/2009 06:37 AM Bob Lantz

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.

77131e8f 12/15/2009 06:13 AM Bob Lantz

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...

c53fa3ba 12/15/2009 05:35 AM Bob Lantz

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.

0b084dd5 12/15/2009 05:01 AM Bob Lantz

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.

2f534913 12/15/2009 04:14 AM Bob Lantz

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.

98332cb6 12/14/2009 09:22 PM Bob Lantz

Tweaks to documentation files and sshd and xterms examples.

Added scratchnetuser.

433503cf 12/14/2009 08:43 PM Bob Lantz

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.

55dd9368 12/11/2009 05:21 PM Bob Lantz

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)....

08cef003 12/11/2009 02:17 PM Bob Lantz

Changed cleanup to vaporize zombie screen sessions.
Other minor cleanup.

f4d9e05d 12/11/2009 12:25 PM Bob Lantz

Fixed treePing64.
Minor tweaks to other files.

2a0cad3c 12/11/2009 12:01 PM Bob Lantz

Renamed and tweaked treePing64.

b3dd44d4 12/11/2009 11:58 AM Bob Lantz

Fixed bigTreePing64.
More edits for INSTALL and README files.
Batteries still not included (for the moment.) ;-)

3da2b148 12/11/2009 11:33 AM Bob Lantz

Place 'root namespace' in xterm title to make it clearer that
the node is running in the root namespace.

af8f0b61 12/11/2009 11:22 AM Bob Lantz

Added INSTALL file incorporating Brandon's suggestions.

More tweaks for examples, which are still in progress.

42ba5d92 12/11/2009 10:34 AM Bob Lantz

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...

748e35d5 12/11/2009 07:39 AM Bob Lantz

Working on examples.
Added new example to create xterms.
Other minor changes.

4ccc7ee9 12/10/2009 09:47 AM Bob Lantz

Added examples, which may or may not work yet.