| Branch: | Tag: | Revision:

mininet / mininet / @ 21b2c2c4

History | View | Annotate | Download (14.8 KB)

# Date Author Comment
4b1dc93b 10/30/2012 11:58 PM Bob Lantz

Avoid modifying keyword parameter dictionary in customized()

22b8e5e4 10/30/2012 11:45 PM Bob Lantz

Add custom name to customized functions.

Note: we could probably use functools.partial.

28c2cdc2 07/07/2012 06:30 AM Bob Lantz

Workaround for openvswitch_mod rename and pass code check.

928c0761 05/30/2012 07:08 AM Brandon Heller

Move code from mn into mininet/util to enable reuse

Any code in mn is not usable by other Python code.

Hence, move this code into util, so other scripts can use it.

6e64deec 05/13/2012 10:29 PM Bob Lantz

Fix typo.

e8d60e0f 05/11/2012 05:37 AM Bob Lantz

Pass code check.

cfd38113 05/10/2012 05:59 AM Bob Lantz

Fix errRun to not exit until all of stdout and stderr have been read.

50cebe67 04/14/2012 12:42 AM Bob Lantz

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

149a1f56 04/09/2012 03:49 AM Bob Lantz

Apparently errRun isn't as flexible as I thought...

a7648e78 04/09/2012 03:49 AM Bob Lantz

Add mountCgroups() and tweak/correct fixLimits()

beb05a71 03/24/2012 01:17 AM Bob Lantz

Move dumpNetConnections to util() because it's useful!

a5af91d0 03/23/2012 02:08 AM Bob Lantz

Have errFail report cmd and stderr as well as exit code.

5a8bb489 03/20/2012 07:17 AM Bob Lantz

Attempt at revised/simplified topo class:

- keys are strings
- metadata is simply a dict
- buildFromTopo greatly simplified

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

Fix codecheck and MininetWithControlNet.

82f483f5 03/10/2012 01:44 AM Bob Lantz

Add support for specifying host IP range with --ipbase.

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

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

d8c88bed 03/07/2012 07:49 AM Bob Lantz

Add custom() function for customizing constructors.

551a3666 03/05/2012 11:01 PM Bob Lantz

Tweak errRun; add errFail and numCores.

134a75ef 03/02/2012 11:43 PM Bob Lantz

Fix pylint complaint and add natural sort key function.

daa576c4 02/10/2012 10:59 PM Bob Lantz

Add errRun to run a command with stderr, stdout, return code and monitoring.

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

Pass pylint.

8bc00379 04/23/2010 12:05 AM Bob Lantz

Fixed link check and updated quietRun interface.

Link check wasn't quite right - e.g. 'eth1' could be found in
'eth10' previously.

Updated quietRun to allow passing in args directly rather than
as a list.

bcacfc05 03/14/2010 02:23 AM Bob Lantz

Support for control-C. Finally.

I've changed the way things work a bit:

1. netns is replaced by mnexec, a general-purpose mininet helper.

2. For interactive commands, we now use mnexec -p, which prints out
the pid, so we can kill it when someone hits control-C!...

740d7ce3 03/13/2010 12:17 AM Bob Lantz

Added newline at EOF.

d44a5843 03/10/2010 05:48 AM Bob Lantz

Reinstantiated inNamespace and routed control network.

We need to figure out how to specify the IP addresses for the
routed control network. For now I'm going back to 192.168.12x.y

Also changed controller params to use IP strings rather than
numbers. However, we still need to clarify what ControllerParams...

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

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

bb941950 03/05/2010 05:29 AM Brandon Heller

Add flexible topology input parsing

Now you can pass a topology name followed by params. For example, to
create a switch with 3 hosts:

sudo mn --topo single,3
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.

e85f8bdf 02/06/2010 01:22 AM Bob Lantz

Removed hash-bang in module files which aren't executed directly,
with the exception of, which I haven't touched.

7d4b7b7f 02/06/2010 01:18 AM Bob Lantz

Comment tweaks and additions.

281f6e59 02/06/2010 12:42 AM Bob Lantz

Minor changes to get 'make test' to pass.

- some namespace conflicts due to unpep8
- fixed infinite recursion caused by removing redundant makeIntfPair

80a8fa62 02/05/2010 10:33 AM Bob Lantz

First crack at restoring mininet python style, assisted by handy
'unpep8' script, which does most of the work.

- is still in pep8
- not all examples work, but this is due to other issues

0df8b195 02/03/2010 11:38 PM Bob Lantz

Renamed ->

Updated other files accordingly.

723d068c 01/10/2010 01:59 AM Brandon Heller

Add static code checking for style and errors

This required a change to logging, which now uses a singleton pattern.

For all future checkins, 'make codecheck' should pass.

376bcba4 01/03/2010 05:16 PM Brandon Heller

Add options for auto MAC and ARP setup.

Auto MAC setup sets each host MAC equal to its DPID, which simplifies

Auto ARP setup removes the need for broadcast support for ARP, which
enables a smaller NOX controller.

ac65ea3f 01/03/2010 10:43 AM Brandon Heller

Increase createLink retry count

Was seeing occasional errors with tests run back-to-back.

54037995 01/01/2010 11:16 AM Brandon Heller

Add MAC auto set for switches

Also use indexing for DPIDs to avoid zeroed MAC

e3621eb0 12/26/2009 03:40 PM Brandon Heller

Move fixLimits function to util

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