| Branch: | Tag: | Revision:

mininet / examples @ c8b85746

# Date Author Comment
c8b85746 12/01/2012 05:00 AM Bob Lantz

pass code check

b96e1596 11/19/2012 11:02 PM Bob Lantz

Change to use Intf() class rather than string for interface.

Was broken in 2.0.0rc1

ab594b6a 11/16/2012 06:54 AM Bob Lantz

Merge branch '2.0dev' into 2.0merge


fcd01592 11/14/2012 03:55 PM Brandon Heller

Move CPU limit into net, to be reused in future unit tests

d7768ab2 11/14/2012 07:28 AM Brandon Heller

examples/simpleperf: Warn in docstring about effects of link settings

These include dropped pings and iperf hanging.

bf208cde 11/14/2012 06:44 AM Brandon Heller

Fix SSHD example by generalizing input intf args

A number of functions in look like this:
return self.intf( intf ).<other stuff>

Previously, self.intf(...) in Node would expect a string name for an
interface and return None if an object was passed in instead of a...

12fea0f6 11/14/2012 05:33 AM Brandon Heller

examples/baresshd: ensure root permissions

Prevent idiots like me from getting confused by non-obvious 'broken pipe'
errors when they forget to put 'sudo' in front :-)

36c9b040 11/14/2012 02:33 AM Brandon Heller

examples: Add new tests to README

2eb0593c 11/14/2012 02:06 AM Brandon Heller

examples/cpu: Fix typo, note existence in README

d40003e0 11/14/2012 02:05 AM Brandon Heller

examples: Make executable

2e089b5e 11/14/2012 01:17 AM Brandon Heller

pep8: Fix E127 continuation line over-indented

There are a bunch of these remaining, but I don't think the right course is
to 'fix' all of them to make pep8 happy, but instead to either change
the test in pep8 to consider that a continuation line may itself...

edf60032 11/14/2012 12:59 AM Brandon Heller

pep8: fix E128 continuation line under-indented errors

I wasn't sure this was worth fixing at first, but it does look more readable

c0095746 11/14/2012 12:08 AM Brandon Heller

pep8: Fix E121/126, continuation line indention

615ebb7a 11/13/2012 10:56 PM Brandon Heller

pep8: Fix E125 continuation line does not distinguish itself from next logical line

0bd5c651 11/13/2012 10:39 PM Brandon Heller

pep8: Fix E203 whitespace before punctutation

ce15c4f6 08/17/2012 01:48 AM Bob Lantz

rename Topo() methods for consistency: add_node() -> addNode()

6c947bca 05/24/2012 04:12 AM Bob Lantz

More indent errors - curse you emacs.

e4514a4e 05/24/2012 04:09 AM Bob Lantz

Still more indentation errors. ;-p

8c778bb0 05/24/2012 04:06 AM Bob Lantz

Fix indentation errors.

f1bf3c60 05/24/2012 03:56 AM Bob Lantz

Added example of using popen()/pmonitor()

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.

28f46c8d 03/12/2012 11:12 PM Bob Lantz

Pass code check.

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.