| Branch: | Tag: | Revision:

mininet / mininet @ 824afb84

# Date Author Comment
824afb84 12/20/2013 01:43 PM Rémy Léone

fixup: useless_parenthesis

2200d8d1 12/14/2013 07:12 PM Rich Lane

node: kill entire process group in terminate

mnexec already puts the shell into its own process group. Killing the entire
process group cleans up after any background processes the user left running.

17dbc7e0 12/12/2013 02:33 AM Bob Lantz

Minor codecheck fixes

96952b92 12/12/2013 02:08 AM Bob Lantz

2.1.0 -> 2.1.0+

c7e86f93 12/06/2013 01:30 AM Brian O'Connor

fixing CLI host rewriting when host's default interface does not have an IP

cd238fe5 11/15/2013 06:24 AM Baohua Yang

Fix error wiki url.

4a94f76e 10/08/2013 11:59 PM Rich Lane

IVSSwitch: bring up lo interface

ca5b0c56 09/17/2013 08:44 PM Bob Lantz

setLogLevel('warning') to avoid test spam

fc2a8fd5 09/17/2013 06:28 PM Brian O'Connor

fixed git download for testRemoteController in

47b24beb 09/17/2013 06:59 AM Brian O'Connor

Merge branch 'master' of

895ff6f4 09/17/2013 06:58 AM Brian O'Connor

adding runner to mininet/test, added

b5e8dd5e 09/16/2013 09:22 PM Bob

Merge pull request #210 from rlane/ivs-opts

IVSSwitch: support opts constructor parameter

d4fabc04 09/16/2013 08:33 PM Rich Lane

IVSSwitch: support opts constructor parameter

This parameter is already supported by the other switch classes.

8e1dade1 09/13/2013 08:06 PM Brian O'Connor

removing assert from

4ea0c093 09/12/2013 08:49 PM Brian O'Connor

Updated mininet/ to support better resource setting semantics and protected with try block

09b12391 09/11/2013 07:00 PM Brian O'Connor

fixing comment

e69355f7 09/11/2013 07:00 PM Bob Lantz

One last code check fix: line too long

9d14c841 09/11/2013 07:00 PM Bob Lantz

Pass code check

f796f01f 09/11/2013 07:00 PM Bob Lantz

add spaces to satisfy pylint ;-p

35029978 09/11/2013 07:00 PM Bob Lantz

code check fixes & add comment spaces

e9a835ac 09/11/2013 07:00 PM Brian O'Connor

print usage message for unknown command

b5580601 09/11/2013 07:00 PM Bob Lantz

Check for `Connected` in checkListening()

92bf2cf1 09/11/2013 07:00 PM Brian O'Connor

codecheck: removed unused variable in

0840af52 09/11/2013 07:00 PM Brian O'Connor

removing todos in

15146d90 09/11/2013 07:00 PM Brian O'Connor

changed CLI to MininetFacade; a great deal of logic also changed

54932125 09/11/2013 07:00 PM Bob Lantz

Add tests for OVS user switch (skipping hifi test for now) currently fails for OVS when datapath=user -
we should look at this and fix it.

45d365f9 09/11/2013 07:00 PM Bob Lantz

Need a few more skipUnless() checks.

94324e3f 09/11/2013 07:00 PM Bob Lantz

Skip IVS and UserSwitch tests if they are not installed

765d126e 09/11/2013 07:00 PM Bob Lantz

Delete leftover TAP interface from OVS with datapath=user
fixes #199

32507498 09/11/2013 07:00 PM Bob Lantz

Initial text and version updates for 2.1.0

d13505b6 08/26/2013 10:29 PM Brian O'Connor

updating setup to include examples

b635fd9e 08/15/2013 12:29 AM Brian O'Connor

Some cleanup and style fixes for fixlimits

867a6d67 08/14/2013 10:04 PM Brian O'Connor

Cleaned up sysctl and rlimit test and set
Use files instead of sysctl to set limits

b20c9470 08/12/2013 11:22 PM Brian O'Connor

add sysctl test and set
fixes #184

98cb3359 08/10/2013 12:10 AM Brian O'Connor

fixed comment in

9281719d 08/10/2013 12:07 AM Brian O'Connor

Made net compliant with dict semantics and added function comments
Fixed locals bug (now they are persisent across calls)

8e04a9f8 08/09/2013 07:20 PM Brian O'Connor

Replaced nodelist and nodemap in CLI with mn
Updated Mininet to be more compliant with dict
Fixes #182

6df4371d 08/06/2013 10:16 PM Brian O'Connor

Removing test prints from user switch merge

be13072f 08/06/2013 10:13 PM Brian O'Connor

Merge branch 'adf-userswitch-tclink' of into adferguson-adf-userswitch-tclink
Only sleep and reapply if slicing is enabled


1e5cdfd8 08/02/2013 08:36 PM Brian O'Connor

Merge branch 'master' of

bb0006b6 08/02/2013 08:35 PM Brian O'Connor

Merging MurphyMc LinearTopo pull request

786117dd 08/01/2013 01:20 AM Bob Lantz

Merge branch 'ivs' of into rlane-ivs


fixes #159

43ba774e 07/31/2013 01:31 AM Brian O'Connor

Merge pull request #181 from mininet/devel/ping

pingall now reports fraction received

f7439671 07/31/2013 01:28 AM Brian O'Connor

pingall now reports fraction received
fixes #168

9c4b7343 07/30/2013 06:52 PM Bob Lantz

Fix indentation in LinearTopo()

5b48a7d9 07/30/2013 06:51 PM Bob Lantz

Reimplemented and corrected Graph as MultiGraph
fixes #172

4316be95 07/26/2013 09:43 PM Brian O'Connor

Prevent Mininet from crashing when display not set
fixes #173

d5f57784 07/24/2013 12:05 AM Brian O'Connor

Merge branch 'master' of

1ecc63df 07/24/2013 12:03 AM Brian O'Connor

improved check for downed link in parsePingFull
fixes #176

1e4e8b70 07/23/2013 05:14 AM Brian O'Connor

Merge pull request #174 from pantuza/master

Dynamic Network with Remote Controller example; Extended LinearTopo

92112315 07/19/2013 10:56 PM Brian O'Connor

Simplified and refactored examples/
Extended LinearTopo to support mulitple hosts per switch

0a543602 07/19/2013 12:50 AM Rich Lane

IVSSwitch: support running IVS in a namespace

This change uses the `Node.cmd` method instead of `Popen`. The `cmd` method
sends the input to a shell which may be in another namespace (if --innamespace
is in use), while `Popen` would always run in the root namespace.

5c242637 07/18/2013 08:50 PM Rich Lane

clean: send SIGTERM before SIGKILL

IVS needs to be sent SIGTERM so it has a chance to clean up the kernel

433ca2ec 07/13/2013 08:31 PM Piyush Srivastava

Fix issue with mountCgroups not recognizing mounted cgroup

Changed mountCgroups to use the file /proc/mounts (instead of the
current case where it uses the less reliable
/etc/mtab thorugh the mount program

fec98e27 07/11/2013 06:30 PM Brian O'Connor

Added output line to ping that is closer to ping program output

c188bee3 07/11/2013 06:17 PM Brian O'Connor

Fixed divide by 0 error in ping command when no packets are sent
fixes #143

0e2cc609 07/10/2013 06:19 PM Rich Lane

tests: run all tests with OVS, IVS, and userspace switches

Each switch gets its own class so that the test results are listed separately.

5d529edf 07/09/2013 11:34 PM Brian O'Connor

Removing unused import in mininet/

59eeeadb 07/09/2013 11:30 PM Brian O'Connor

Style changes in mininet/ and removing used import in mininet/

5c019d2a 07/09/2013 10:48 PM Brian O'Connor

CPULimitedHost cleanup() calls superclass method
fixes #161

60abb344 07/09/2013 03:36 PM Rich Lane

clean: kill ivs processes

94ff77f2 07/09/2013 03:34 PM Rich Lane

clean: don't wait forever for ovsdb

This could happen if OVS was installed but not running.

10be691b 07/05/2013 02:27 AM Bob Lantz

Clean up intfs in root NS, and avoid deleting HW intfs

It appears that under certain conditions, such as when a
namespace exits, both ends of a veth pair may get dumped
into the root namespace. We therefore now remove an interface
both from its home namespace and from the root namespace.

71ffb002 07/01/2013 11:05 PM Rich Lane

IVSSwitch: remove namespace warnings

IVS works fine using --innamespace.

803c0a6e 06/30/2013 01:11 AM Rich Lane

IVSSwitch: use ovs-ofctl for dpctl functionality

91261b27 06/28/2013 12:56 AM Rich Lane

IVSSwitch: add support for dpctl

dpctl is not included with IVS. The user will need to obtain it from the
OpenFlow reference repository.

812c91cc 06/27/2013 09:50 PM Rich Lane

test_hifi: use SWITCH to pick the switch class

27da832d 06/27/2013 09:50 PM Rich Lane

add support for the IVS virtual switch

IVS is an open source virtual switch available for download at It uses the openvswitch
kernel module.

aa554d98 06/26/2013 01:21 PM Bob Lantz

Workaround: add default dpopts='--no-slicing' to UserSwitch

This disables slicing by default but fixes bandwidth limits.
Eventually we want to enable both to work together, but for now
this enables one or the other depending on the dpopts setting.

804c4bbf 06/26/2013 01:14 PM Bob Lantz

Workaround: add dpopts to UserSwitch

Currently, slicing on the user switch breaks bandwidth limits.
We don't yet have a good way of using both of them at the same time.
I'm inclined to turn off slicing by default, but I have to think
about it and also see if any one is using it...

1a658054 06/26/2013 12:00 PM Bob Lantz

Ensure dpid is a valid hex string in OVSSwitch

33e39a24 06/26/2013 03:26 AM Bob Lantz

Fix some pylint messages.

538a856c 06/26/2013 03:16 AM Bob Lantz

Add Switch.connected() and OVSSwitch.controllerUUIDs()

877e7efb 06/26/2013 02:39 AM Bob Lantz

Minor comment change and text change.

bdd43bea 06/26/2013 02:31 AM Bob Lantz

Clean up (and fix) OVSSwitch fast reconnect

12758046 06/25/2013 07:51 PM Bob Lantz

Fix setDefaultRoute to work with passed parameters.

e5d7b380 06/21/2013 01:51 AM Brandon Heller

topo: make new minimal Graph object a Graph, not a DiGraph

Fixes another Graph regression relative to NetworkX.

RipL broke because the NetworkX Graph object that was used previously
for topologies is an undirected graph:

import networkx as nx

4e1630e1 06/20/2013 11:27 PM Brandon Heller

topo: add getitem for Graph

Commit 65c35b65 'Remove networkx dependency' broke this line from RipL:

nodes = [n for n in self.g[name] if self.layer(n)  layer]

To work around this, RipL code would have to be changed to something
like this:

nodes = [n for n in[name] if self.layer(n)  layer]...
448ac9dc 06/19/2013 07:22 PM Bob

Merge pull request #150 from MurphyMc/ovs_fast_reconnect

node: Make OVS switches reconnect quickly

dd21df3c 06/18/2013 12:09 AM Bob Lantz

Don't flush ALL routes and enable OPTIONAL default route/gw

fixes #152 hopefully

3df07feb 06/06/2013 11:28 PM Murphy McCauley

node: Make OVS switches reconnect quickly

Ordinarily, OVS switches back off when they can't reach their controllers.
Under the type of scenarios where Mininet is used, I think this is
probably just inconvenient. This patch set controllers to attempt to
reconnect every second.

153d598d 06/06/2013 11:23 PM Murphy McCauley

node: Allow OVSSwitch to run in userspace mode

This adds a datapath parameter to OVSSwitch which allows one to tell OVS to
run in userspace mode rather than kernel mode. From the commandline, this
is --switch=ovsk,datapath=user.

Note that this makes "ovsk" and the OVSKernelSwitch alias misnomers. Since...

a22e2618 06/06/2013 11:18 PM Murphy McCauley

topo: Add host count param to LinearTopo

Previously, LinearTopo took one parameter (k), which controlled the number
of switches; each of these got one host. This adds a second parameter (j),
which controls the number of hosts per switch, defaulting to 1 (as before)....

5fae96eb 06/03/2013 10:37 PM Bob Lantz

Change to only split once so that cargs='--foo=1 --bar=2' works.
fixes #144

e3d07bc1 05/29/2013 05:10 AM Bob Lantz

Add 'x' command to open an X11 tunnel (and run a client)
fixes #142

e5754ae9 05/23/2013 08:31 PM Shaun Crampton

Fix method name mismatch for setDefaultRoute.

2485d57f 05/22/2013 10:40 PM Bob Lantz

Edits to pass code check and make style consistent.

65c35b65 05/22/2013 10:24 PM ryanc

Remove networkx dependency



closes #100

1ea5c91f 05/22/2013 10:06 PM Bob Lantz

Update host's IP address during name-IP substitution
fixes #139

76c5b9d0 05/22/2013 10:03 PM Bob Lantz

Add ovs-controller to shutdown list

229f112f 04/29/2013 09:04 PM Bob Lantz

Change OVSSwitch.dpctl() to call ovs-ofctl

This should fix the problem of dump-flows not showing the OpenFlow
flow table flows and only showing cached kernel flow table flows.

fixes #136

3236d33b 04/21/2013 07:47 PM Andrew Ferguson

allow user switch to be used with TCIntf's

0f6bf4ce 04/10/2013 03:10 AM Bob Lantz

start xterm with TERM=ansi to preserve title from bash.bashrc
fixes #128

e09254ee 03/30/2013 09:50 PM Andrew Ferguson

Adjust numbering to support tc-based switch QoS
both the reference switch and Open vSwitch assume ids with major 1
can be used for tc-based QoS

e5a15ced 03/29/2013 01:14 AM Bob Lantz

Change popen() to detach from terminal/process group.
This may or may not be the right thing to do - an alternative
would be to ignore SIGINT, but that would make the popen()
job unkillable by normal means! So we'll try this and see
how well it works.
Fixes #124

c771b2d7 03/24/2013 11:14 PM Bob Lantz

Add source node option to moveIntf() (note: low-level API!!)
In the future we may wish to enable moving interfaces across
nodes which are not in the root NS, and this would provide
the low-level mechanism to do so.
closes #122

477e84ad 03/24/2013 10:58 PM Bob Lantz

More code check nits.

3482d941 03/24/2013 09:48 PM Bob Lantz

Fix code check.

1bf1a4d5 03/23/2013 01:38 AM Bob Lantz

Tag node bash processes and add attach script
Try invoking bash processes with -s mininet:host,
for easy identification of hosts. This enables
easy attachment using the util/m script.
closes #121

a0f69d98 03/22/2013 10:48 PM Bob Lantz

Change makeTerm() to tunnel X11 using socat if needed
For local display, allow local root access
For remote display, tunnel with socat/mnexec
This should enable wireshark in hosts and fix #119