| Branch: | Tag: | Revision:

mininet / mininet @ 21b2c2c4

# Date Author Comment
21b2c2c4 11/04/2012 04:38 AM Bob Lantz

VERSION -> 2.0.0rc1

4b1dc93b 10/30/2012 11:58 PM Bob Lantz

Avoid modifying keyword parameter dictionary in customized()

f58f83c0 10/30/2012 11:50 PM Bob Lantz

Allow controller to optionally be a list of constructors/classes

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

Add custom name to customized functions.

Note: we could probably use functools.partial.

cec44763 10/29/2012 11:10 PM Angad Singh

Merge pull request - closes #36

4ff6243f 10/05/2012 02:02 AM Bob Lantz

Update version number to 2.0.0d3 (and pass version check)

b69ef234 09/15/2012 01:23 AM Bob Lantz

Fix multi-controller/failover support on User, OVSLegacy switches

2aafefc2 08/17/2012 10:26 PM Bob Lantz

Fix typo in RemoteController.__init__ comment.
Thanks to Isaku Yamahata.

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

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

54c51c02 08/06/2012 06:41 PM Bob Lantz

Fix whitespace and change no controller exception to warning.

2b35a2ca 08/06/2012 10:08 AM James Page

Override remote controller check to ensure that remote controller is contactable

fa24f22d 08/01/2012 12:23 AM Bob Lantz

Re-enable slicing in UserSwitch since it's fixed with newer kernels.

55179737 07/07/2012 06:44 AM Bob Lantz

Change version to 2.0.0d2 - there has to be a better way.

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

Workaround for openvswitch_mod rename and pass code check.

39128f8c 07/04/2012 05:08 AM Bob Lantz

Add VERSION string.

ec969b7f 07/02/2012 03:31 AM Bob Lantz

Change default controller for mn to ovsc (ovs-controller.)

Also add check to see if another controller is running -
eventually we should really detect errors from starting the

0f832c92 06/25/2012 09:14 PM Bob Lantz

Propagate prefix length to host IP configuration.

107785dd 06/05/2012 07:18 PM Nikhil Handigol

RED bug fix in another place

6bb5e123 06/05/2012 07:16 PM Nikhil Handigol

RED bug fix: change avg. packet size

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.

f509ae28 05/25/2012 11:34 PM Brandon Heller

cli: add time command

06f7408c 05/24/2012 03:04 AM Bob Lantz

Fix popen to allow popen( cmd, arg1, arg2, arg3 )

e1ca7196 05/23/2012 08:37 PM Bob Lantz

configHosts(): don't try to configure nonexistent interfaces.

8f310286 05/22/2012 06:09 AM Bob Lantz

Add setLinkInfo() which seems to be missing.

ae2ede79 05/17/2012 05:05 PM Nikhil Handigol

bug fix: link config

b9100834 05/17/2012 06:59 AM Bob Lantz

Fix pexec('echo foo', shell=True)

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

Fix typo.

b97c1dbd 05/13/2012 10:11 PM Bob Lantz

Set dpid on OVSSwitch.

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

Pass code check.

0d94548a 05/11/2012 05:36 AM Bob Lantz

Fix default dpid which should be 12 digits for reference user switch.

4c3ff8f1 05/11/2012 05:23 AM Bob Lantz

Remove accidentally added debugging line.

0eba655d 05/10/2012 11:52 PM Bob Lantz

Fix RemoteController which was still using defaultIP rather than ip.

cece39e4 05/10/2012 11:32 PM Bob Lantz

Fix poller to only check if stdin and node are readable.
Thanks to James Zeng for pointing this out!

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

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

55cf19c4 04/25/2012 09:21 PM Bob Lantz

Improve error handling for defaultDpid()

I think it's worth considering how we want to specify dpids for
switches. One way would be to have Mininet (optionally) pick them
automatically. Another way, which I have currently implemented, is
to intuit them from the name, for example s1 -> 1. The latter is...

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

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

5ca91f9c 04/13/2012 10:50 PM Bob Lantz

White space edits for code check.

df600200 04/13/2012 10:50 PM Bob Lantz

CPULimiteHost.popen(): set cgroup and (optionally) RT priority

089e8130 04/13/2012 10:50 PM Bob Lantz

Add popen() to regular hosts (cpu limited in progress)

669e420c 04/13/2012 07:38 AM Bob Lantz

Add default value mems=0 for memory placement.

92b601ab 04/10/2012 12:12 AM Bob Lantz

Allow fail-mode to be set.
Probably we should have a generic mechanism to specify OVS options.

548580d8 04/09/2012 11:54 PM Bob Lantz

Allow lists of nodes to be passed to getNodeByName
....which should perhaps be renamed!!!

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

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

197b083f 04/09/2012 03:49 AM Bob Lantz

Add static cpu (and memory) assignment.

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

Add mountCgroups() and tweak/correct fixLimits()

a9c28885 04/04/2012 12:22 AM Bob Lantz

Bring up loopback interface when configuring hosts.

d776bd3a 04/02/2012 11:39 PM Bob Lantz

Add handle 10: to netem for hifi compat, reconfiguration.

78606a35 04/01/2012 04:29 AM Bob Lantz

Removed unused param in add_link.

1dd3de0d 04/01/2012 04:29 AM Bob Lantz

Remove unused burst.

e5653fb6 03/27/2012 07:31 AM Bob Lantz

Change back to match mininet-hifi, except for max_queue_len=1000.

3f61ea71 03/26/2012 05:10 AM Bob Lantz

Restore deleted deleteIntfs in OVSSwitch.stop()

2ec866d2 03/26/2012 03:18 AM Bob Lantz

TCLink: pass correct parameters to superclass.

e1246c37 03/25/2012 10:39 PM Bob Lantz

Simplify port specification.

For the moment, I've removed the ability to specify
a dict of options without using **. This is a slightly
unfortunate trade-off since it simplifies implementation
at the expense of making the API slightly less convenient
(if somewhat more consistent.)

2d924f8a 03/25/2012 10:38 PM Bob Lantz

Add Mininet object to locals as 'net'

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

Pass code check.

8139695d 03/24/2012 01:37 AM Bob Lantz

Use 's%s' for bw speedup; change burst to fix tbf and htb performance.

e8146dd1 03/24/2012 01:36 AM Bob Lantz

Change to allow addLink() without specifying ports.

44af37bc 03/24/2012 01:18 AM Bob Lantz

Change default period to 100 ms, which seems to help cfs at least...
rt is still somewhat broken.

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

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

8dcefd5f 03/23/2012 08:33 PM Bob Lantz

Fix OVS legacy switch.

28833d86 03/23/2012 02:08 AM Bob Lantz

Retry deleting cgroup for the moment because it seems flaky.

Ultimately we may wish to create a mininet/ cgroup and do a recursive
delete at the end.

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

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

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

Fix printing pid for background tasks.

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

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

1aec55d9 03/22/2012 05:39 AM Bob Lantz

Workaround: reapply tc config after OVS destroys it.

59542784 03/22/2012 12:28 AM Bob Lantz

Make CPULimitedHost method sig friendlier, and make 'cfs' default sched.

41245f50 03/22/2012 12:27 AM Bob Lantz

Add getNodeByName for hifi compatibility.

b684ff78 03/20/2012 11:23 PM Bob Lantz

Fix convenience configuration methods.

9005ce32 03/20/2012 10:48 PM Bob Lantz

Whitespace fixes.

efc99154 03/20/2012 10:46 PM Bob Lantz

Add warning in defaultIntf() if host has no interfaces.

Possibly this should be in intf() instead, as intf() is assumed
to always succeed.

8bebd377 03/20/2012 10:45 PM Bob Lantz

Fix is_switch() to always succeed + whitespace edits.

ff568819 03/20/2012 10:43 PM Bob Lantz

Add TCLink for simplified tc-limited link creation.

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

318ae55e 03/20/2012 07:10 AM Bob Lantz

Allow sendCmd( [ cmd, arg1, ... ] )

bf9c6ab7 03/12/2012 07:29 AM Bob Lantz

Clarify comments and finally remove ControllerParams definition.

14c19260 03/12/2012 07:20 AM Bob Lantz

Use port 0 for control interface on switches.

d7e5dfc5 03/12/2012 07:20 AM Bob Lantz

Minor tweaks: specify port, new repr()

8856d284 03/12/2012 02:44 AM Bob Lantz

Fix CLI commands.

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

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.

e3c074b8 03/09/2012 09:53 PM Bob Lantz

Remove deprecated ControllerParams (for now.)

9addfc13 03/09/2012 07:48 AM Bob Lantz

Add OVSController to complete out-of-box Ubuntu experience.

d27a3c52 03/09/2012 06:08 AM Bob Lantz

Allow various subsets of (delay, bw, loss) and clean up status output.

2db4268b 03/09/2012 06:07 AM Bob Lantz

Fix NOX controller so that mn --controller nox,pyswitch,... works.

0dbfd3a6 03/08/2012 09:48 PM Bob Lantz

Add CPULimitedHost to file comment.

a908fafa 03/08/2012 09:48 PM Bob Lantz

Change default to vanilla Intf. Also edit comments.

8a622c3a 03/08/2012 09:39 PM Bob Lantz

Reorganize CPULimitedHost and add cgroup cleanup.

bf5becc7 03/08/2012 09:38 PM Bob Lantz

Get rid of SWITCH_PORT_BASE since it's 1 for OF >= 1.0.

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.

cbe20c75 03/08/2012 08:05 AM Bob Lantz

Remove unused imports.

edf46e95 03/08/2012 07:38 AM Bob Lantz

Slightly cleaned up setParam to match

b1f90976 03/07/2012 08:03 AM Bob Lantz

Remove default classes since Mininet() really handles them.

84a91a14 03/07/2012 07:52 AM Bob Lantz

New configuration scheme and support for CPU limits (RT).

94c02695 03/07/2012 07:50 AM Bob Lantz

Clarify precedence of default classes.

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.

03dd914e 03/03/2012 04:34 AM Bob Lantz

Tease out intfList() from intfNames().

a6bcad8f 03/02/2012 11:45 PM Bob Lantz

Intf and Link classes. Latter support bandwidth limits using tc.