| Branch: | Tag: | Revision:

mininet / examples @ ae2ede79

# Date Author Comment
50cebe67 04/14/2012 12:42 AM Bob Lantz

Add pmonitor() to make it easy to monitor popen objects.

237a3c54 04/13/2012 10:50 PM Bob Lantz

Begin test/example for popen().

7cb340b7 04/10/2012 12:12 AM Bob Lantz

Pass code check.

50202e12 04/06/2012 04:38 AM Bob Lantz

Off by one... I dislike range()

d08d101e 04/04/2012 01:49 AM Bob Lantz

Added to examples.

1bb99035 04/04/2012 12:32 AM Bob Lantz

Added multipoll and multiping examples.

c1a6ae2b 04/01/2012 04:29 AM Bob Lantz

Remove blank line.

00d9b780 03/24/2012 01:41 AM Bob Lantz

Reinstate more complicated test.

612b21cb 03/24/2012 01:38 AM Bob Lantz

Pass code check.

74ea006d 03/24/2012 01:17 AM Bob Lantz

Increase the quota and cpu fraction to get max cfs performance.

4deb7354 03/22/2012 09:44 PM Bob Lantz

Simple cpu limiting example.

f89d9a4d 03/22/2012 09:43 PM Bob Lantz

Fix typo inadvertently saved in editor.

ba8d4f9b 03/22/2012 06:31 AM Bob Lantz

Add verySimpleLimit() for debugging.

0b7c277e 03/22/2012 06:07 AM Bob Lantz

Save parameters for future reference (e.g. OVS/tc workaround.)

e52d0ee1 03/20/2012 10:44 PM Bob Lantz

Fix to work with new Topo class.

14ff3ad3 03/11/2012 04:44 AM Bob Lantz

Fix codecheck and MininetWithControlNet.

a49c85a6 03/10/2012 12:06 AM Bob Lantz

Fix examples to work with new API (and vice-versa.)

8e3699ec 03/09/2012 10:10 PM Bob Lantz

Move init() into Mininet() and remove calls (since called automatically.)
Note: we should probably rename it "setup()" to avoid confusion.

216a4b7c 03/08/2012 08:05 AM Bob Lantz

Support for CFS bandwidth limiting.
Also trying to fix NOX cmdline opt, but broken at the moment.

4ac1148e 03/07/2012 07:52 AM Bob Lantz

Example/test of link and CPU bandwidth limits.

6f446f6e 03/02/2012 11:45 PM Bob Lantz

Make pylint happy.

54d320ce 10/28/2010 04:21 AM Bob Lantz

Pass code check.

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 and respectively,
which will hopefully be useful for monitoring large sets of hosts,
as is done in

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


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

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

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

Having a file with the same name as its package creates hard-to-diagnose
import error, so rename to 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 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
Hopefully fixed for real.

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

Fixed to import Cli, so it should work now.