| Branch: | Tag: | Revision:

mininet / mininet @ 125e6697

# Date Author Comment
125e6697 03/31/2015 03:40 AM Bob Lantz

Support multiple --controller arguments

a2486a6d 03/31/2015 02:43 AM Bob Lantz

Allow node.setIP() to pass extra arguments to intf.setIP()

1c4adde1 03/24/2015 10:22 PM Bob Lantz

Remove redundant processing for '/'

c2be20f0 03/18/2015 11:00 PM Bob Lantz

Rename node.RYU to node.Ryu

Perhaps it should be RyuController, but just Ryu for now.
RYU made no sense because it's not an acronym.

df56fa27 03/18/2015 10:47 PM Bob Lantz

2.2.1d1 -> 2.2.1d2

f49e2539 03/18/2015 10:32 PM Bob Lantz

Minor formatting, pass code check

4da7b3b7 03/18/2015 10:31 PM Bob Lantz

Fix exception for unknown class

c5779dee 03/18/2015 10:17 PM Bob Lantz

Pass code check

79c944ae 03/18/2015 10:12 PM Bob Lantz

Remove obsolete OVSLegacyKernelSwitch

a23c6a28 03/18/2015 10:10 PM Bob Lantz

Fix undefined constructors in customClass()

f6f6d928 03/14/2015 04:17 AM Bob Lantz

CustomConstructor -> CustomClass, which calls specialClass

specialClass is an analog of functools.partial but for classes.
We can now use it instead of partial() in mn, so that Mininet
can introspect on the actual base class.

Fixes #488

5224884e 03/13/2015 10:09 PM lantz

Merge pull request #473 from joerango/master

Support for running arbitrary command when starting terminal

613fac4b 02/21/2015 12:46 AM Bob Lantz

Move cmdloop() wrapper into a new run() method

I also added another try/catch block so that interrupting
the 'Interrupt' message should no longer occur.

e0cd11ab 02/20/2015 06:47 PM Rich Lane

cli: don't read/write readline history more than once

Previously, when creating multiple CLI objects, each one would append the
~/.mininet_history file to readline's internal list. When writing the file back
it would be duplicated for each CLI object created. So, over a few mininet runs...

5b818ad7 02/09/2015 06:55 PM Joseph Beshay

Support for running arbitrary command when starting terminal (other than bash)

17ba6a7c 02/04/2015 07:16 PM Bob Lantz

Add ip:port shorthand to Controller

Fixes #475

f77a8b9e 02/04/2015 06:56 PM Bob Lantz

Fix customConstructor to work correctly with newargs

3dd8c2cd 02/04/2015 06:30 PM Bob Lantz

A controller should delete its interfaces if necessary

This was causing to not clean up its interfaces, since
those interfaces were linked from the controller to the switch
rather than vice-versa!!

deleteIntfs already will only delete interfaces whose names match...

48a8ed85 02/04/2015 01:27 PM Bob Lantz

2.2.0+ -> 2.2.1d1

74c3511d 02/04/2015 01:27 PM Bob Lantz

pass code check

5ac113cf 02/04/2015 01:21 PM Bob Lantz

Batch link delete commands (and minor edits)

cd02954c 02/04/2015 12:45 PM Bob Lantz

pass code check

93be1d04 02/04/2015 12:44 PM Bob Lantz

Fix OVS protocols option

6a38811f 02/04/2015 12:44 PM Bob Lantz

Clarify makeIntfPair behavior and pass code check

340bf3cb 02/04/2015 12:29 PM Bob Lantz

Remove now-unused quietRun import

09e9c055 02/04/2015 12:27 PM Bob Lantz

Indent one line for consistency

ec9b23ba 02/04/2015 12:15 PM Bob Lantz

Delete tap9 for CE

In the future, we should probably not hardwire this,
or should at least make it a constant!!

d90a4551 02/04/2015 06:02 AM Bob Lantz

node shell: remove unnecessary -m and unset HISTFILE

Since we already disable job notification with +m, it doesn't
make sense to set it in the original invocation!

It's also annoying if all of the host commands end up overwriting
your regular bash_history!!

b2fe0778 02/04/2015 05:44 AM Bob Lantz

Change iperf() to use waitListening()

2e4dd134 02/04/2015 01:40 AM Bob Lantz

Turn off printPid by default to avoid mnexec fork/exec

a4e93368 01/29/2015 08:26 AM Bob Lantz

Set batch=False in OVSSwitch for low-level API

If you try to use the low-level API, you are probably
not going to call batchStartup()! So, we set batch=False
by default. This means that buildFromTopo() needs to set
it to True, so we add a bit of irritatingly complex machinery...

c11e9f33 01/29/2015 01:04 AM Bob Lantz

Fix OVS user switch (remove unnecessary % parameter)

acdcf9b6 01/27/2015 11:27 PM Bob Lantz

cluster: add batchStartup/Shutdown, cleanup

c702840a 01/27/2015 11:24 PM Bob Lantz

Remove debug print lines

254fae2d 01/27/2015 11:23 PM Bob Lantz

Clarify which intf pair failed and raise exception

bdad3e8c 01/27/2015 02:01 AM Bob Lantz

Merge OVSBatch into OVSSwitch

Note that we are changing the interface of batchStartup/Shutdown
slightly so that the method can choose not to start some of the
switches. We might wish to refine this a bit...

574d634f 01/26/2015 10:06 PM Bob Lantz

Don't clean up links that may have been dumped into root NS.

This should rarely happen - in the usual case, either the
links will be shut down by Mininet.stop(), or the interfaces
will be deleted by node.stop( deleteIntfs=True ), or the
links or interfaces will be explicitly deleted or stopped...

7485b035 01/26/2015 10:06 PM Bob Lantz

make 'ovs-vsctl' string symmetric

8014a702 01/26/2015 10:06 PM Bob Lantz

Fix super() typo

bec34e72 01/26/2015 10:06 PM Bob Lantz

Clean up - TCReapply still broken!

9ca63226 01/26/2015 10:06 PM Bob Lantz

Remove shared reconnectms, improve self.started

We still need to set it in batchShutdown()

957fe1db 01/26/2015 10:06 PM Bob Lantz

Refactor for compatibility with isOldOVS() == True

3b4738c2 01/26/2015 10:06 PM Bob Lantz

First crack at setting controller backoff in single command

30ebb852 01/26/2015 10:06 PM Bob Lantz

errRun: add debug( results )

959586bc 01/26/2015 10:06 PM Bob Lantz

Add debug(cmd) to errRun()

9bda9848 01/26/2015 10:06 PM Bob Lantz

Add OVSBatch class (experimental)

This implements batch startup for OVS switches.

c68e4e76 01/26/2015 09:55 PM Bob Lantz

Clarify bandwidth limit for TCIntfs

In the future, we would like to support higher bandwidth
limits for TCIntfs, but we'll probably need to adjust some
of the parameters dynamically.

98a8231c 01/24/2015 12:43 AM Bob Lantz

Exit poll loop on POLLHUP or anything unexpected

In my opinion, we really shouldn't even get POLLHUP, but
we do. In case we get anything else odd, quite polling on
that fd.

28ce13d1 01/24/2015 12:41 AM Bob Lantz

Fix polling in errRun

It's tricky to get this right, but basically we want to read
if there is something to read; if not, we want to check for

ef59cd88 01/24/2015 12:39 AM Bob Lantz

Return correct success condition in cgroupDel

Without this, we end up retrying until we fail, instead
of returning immediately on success!

9db6cdc2 01/22/2015 11:22 AM Bob Lantz

Call delete() in link.stop() ; warn on exited node.cmd()

We should think a bit about the semantics that we want here.
The comments say "stop and clean up link" so perhaps that's
what we want. However, we could also imagine stop stopping
forwarding on the link (and possibly allowing restarts)....

f7b29333 01/19/2015 07:35 AM Bob Lantz

2.2.0 -> 2.2.0+

b93cc989 01/19/2015 07:35 AM Bob Lantz

Pass code check

a8cc243a 01/19/2015 06:59 AM Bob Lantz

Add stp param to OVS and connected() to OVSBridge

This allows --switch ovsbr,stp=True to work correctly

e65dc4c6 01/19/2015 05:56 AM Bob Lantz

OVSLink: use isinstance() to detect OVSSwitch subclasses

d4be9271 01/19/2015 12:09 AM Bob Lantz

Merge del-br into cmd, and add reconnectms param

With newer versions of OVS, this allows us to set up a switch
with a single OVS command (if reconnectms is zero.) If reconnectms
is specified, then it slows things down slightly (but not much.)

026130bd 01/17/2015 09:33 PM Bob Lantz

pass code check

c1b48fb5 01/15/2015 10:43 AM Bob Lantz

Stub out RemoteOVSSwitch.batchShutdown()

Eventually we should implement true batch shutdown.
In the mean time, we just ignore it. Note there's no good
way that I know of for a subclass to remove a superclass
method, so we changed the protocol a bit to require a return...

b1983548 01/15/2015 10:36 AM Bob Lantz

Fix indentation error

d66b9626 01/15/2015 10:07 AM Bob Lantz

Don't stop switches that we've already stopped.

Note that this also changes the way that links are deleted;
the reason is that the batch shutdown doesn't currently delete
the links, but OVSSwitch.stop() does. We may wish to revisit
this in the future.

d7e9c3bb 01/15/2015 10:07 AM Bob Lantz

Add comment about redundant intf.delete()

7a4a865b 01/15/2015 10:07 AM Bob Lantz

customize makeIntfPair to eliminate fastIntfPair

da4dcf37 01/15/2015 10:07 AM Bob Lantz

Add addresses to fastIntfPair() and fix codecheck

5383b0e6 01/15/2015 10:07 AM Bob Lantz

Update comment to reflect OVS patch link limits

9d2e6404 01/15/2015 10:07 AM Bob Lantz

add fastIntfPair to speed up link creation

91a73bd1 01/15/2015 10:07 AM Bob Lantz

use isinstance( intf, OVSIntf )

c069542c 01/15/2015 10:07 AM Bob Lantz

Add OVSLink/--link ovs, which uses OVS patch links when possible

127f35a9 01/14/2015 10:18 PM Bob Lantz

Revert to using OVS default OpenFlow versions.

It makes sense to follow Open vSwitch's lead here.
OVS 2.3 enables OpenFlow 1.0 through 1.3 by default.
OVS 2.0 has incomplete support for 1.3, but you can enable
it with protocols=OpenFlow13

171e8151 01/14/2015 10:15 PM Bob Lantz

Set OVSSwitch default protocols to OpenFlow10,OpenFlow13

For OVS versions 1.9 or earlier, this setting is ignored.

3ac5cafe 01/07/2015 12:26 AM Bob Lantz

Fix code minor code check errors

05dbf82e 12/12/2014 01:03 AM Bob Lantz

Correctly set controller backoff for OVS.

Also report connected in standalone/bridge mode

Fixes #460


c75eb471 12/09/2014 09:37 PM Bob Lantz

2.2.0rc1 -> 2.2.0

9945864a 12/08/2014 11:37 PM Bob Lantz

2.2.0rc1 -> 2.2.0rc2

Basically no changes except for whitespace and satisfying pep8.

7a3159c9 12/08/2014 11:10 PM Bob Lantz

Spacing tweaks for pep8 checker

ccd6b5cd 12/04/2014 05:28 PM Bob Lantz

version -> 2.2.0rc1 and update copyright date

4d55ef11 12/04/2014 04:57 PM Bob Lantz

Restore missing space in RT_GROUP_SCHED message

342d47cf 12/04/2014 04:56 PM Bob Lantz

call to run() should be to runCmd()

554abdd5 12/04/2014 04:38 PM Bob Lantz

warn -> debug in connected; change IVS class comment

061598f0 12/04/2014 04:21 PM Bob Lantz

Change from numeric to symbolic pylint error codes

d754a7ce 12/04/2014 03:36 PM Bob Lantz

Call super(deleteIntfs)

Maybe this is better - maybe not. ;-p

18aab5b7 12/04/2014 08:51 AM Bob Lantz

More pylint changes

11a9c469 12/03/2014 07:22 AM Bob Lantz

Fix missing imports

b1ec912d 12/03/2014 07:00 AM Bob Lantz

Fixing pylint errors

2256a538 12/03/2014 06:59 AM Bob Lantz

Fix pylint error

03ef5567 12/03/2014 06:58 AM Bob Lantz

Add cleanup and fix pylint errors

c45bfab3 12/03/2014 06:58 AM Bob Lantz

Add cleanup

b2fcab82 12/03/2014 06:58 AM Bob Lantz

Add cleanup and fix pylint errors

1471da95 12/03/2014 06:57 AM Bob Lantz

Fix pylint errors

b905dddf 12/03/2014 04:26 AM Bob Lantz

Reorganize and pass pylint

5a530af1 12/01/2014 11:39 PM Bob Lantz

Remove trailing whitespace. ;-/

c5d9e0e0 12/01/2014 11:10 PM Bob Lantz

Set default route in one cmd line to avoid dc'ing root NS

Usually you won't want to create a node in the root namespace,
and usually you won't want to use the Mininet API to set your
(real) default route, but if you do then you will probably want
to use a single command line to avoid disconnecting an SSH...

4219b229 11/25/2014 03:35 AM Bob Lantz


af1ccf93 11/25/2014 02:16 AM Brian O'Connor

Updating NAT class to use gateway interface

Also, passing CLI args to NAT constructor

fixes #437

4e644d74 11/24/2014 07:27 PM lantz

Merge pull request #450 from mininet/sw-cmd

adding deleteIntfs option to switches and corresponding CLI command

e0bf8ece 11/24/2014 01:17 AM Bob Lantz

Minor code cleanup

474f6860 11/23/2014 07:13 PM Bob Lantz

Make pylint happier for no particular reason

50774e40 11/23/2014 07:11 PM Bob Lantz

Remove unused imports

8e63e2c5 11/23/2014 07:10 PM Bob Lantz

Fix undefined sleep()

273c4e94 11/23/2014 07:09 PM Bob Lantz

Fix typo. ;-p

c273f490 11/23/2014 07:06 PM Bob Lantz

type( foo ) is bar -> isinstance( foo, bar )