Statistics
| Branch: | Tag: | Revision:

mininet / mininet @ master

# Date Author Comment
2e3258d2 04/22/2016 09:52 PM Luca Baldesi

apply ANS group patches.

Patches allow to use specific per-link delay distributions, and to assign deterministic IP address to TCIntf interfaces.
Patches also add a "deb" target to the Makefile in order to create the debian package.

1bd0e927 02/19/2016 09:26 AM Felician Nemeth

Fix documentation of failMode in OVSSwitch

04897513 01/22/2016 09:33 PM Bob Lantz

Collect all server output in iperf()

This still isn't ideal - this was breaking UDP iperf, which
can take a bit of time to print its output after you control-c it.

6a69c3c7 01/22/2016 12:59 AM Bob Lantz

Fix UDP iperf.

327af97c 01/21/2016 01:32 AM Bob Lantz

Try to fix iperf race condition

This is more complicated than it should be. We are also relying on
the fact that waitOutput should eat extra prompts most of the time.
Still not perfect - it's hard to get this exactly right, and we
should try to make it easier!...

b78b99b6 01/20/2016 09:33 PM Bob Lantz

monitor() should return on timeout; docstring changes

It appears that read() has been blocking for some time,
so for now it makes sense to change the documentation to
match the functionality!

It's not entirely clear if monitor() expects this functionality....

ce5738b4 01/12/2016 12:58 AM lantz

Merge pull request #533 from pichuang/node

Check for ovs-testcontroller in OVSController

0298e9be 11/09/2015 04:48 AM Rahman Pujianto

addNAT always use first switch

addNAT always use first switch even though another switch specified

7c6d645a 10/22/2015 11:34 PM Bob Lantz

Workaround for cgdelete deleting cgroup but returning error

fixes #513

d254d749 09/23/2015 11:02 PM Brian O'Connor

Removing unnecessary braces in RemoteController

8df24304 09/23/2015 12:29 AM Brian O'Connor

Updating OpenFlow default port to 6653

- Pass 6653 to controllers that Mininet starts
- Try to connect first on 6653 for RemoteController, then fallback to 6633

fixes #545

db3bffa9 07/06/2015 04:11 PM Roan Huang

Check for ovs-testcontroller in OVSController

The programe name changed from test-controller to ovs-testcontroller

Reference:
openvswitch/ovs 0bc1b46a38cca06023fdfa5d500c738ccdfa94e7

2cb17590 06/25/2015 10:42 PM Bob Lantz

Remove blank line

I'm not sure whether we really need to turn off ip_forward before
flushing iptables, but it might possibly be useful to avoid certain
unexpected behavior.

f7601da0 06/25/2015 10:38 PM Bob Lantz

Change quoting for '!'

90d50dcb 06/23/2015 08:57 PM Jonathan Hart

Enable NAT to use all interfaces.

Also put the net.ipv4.ip_forward option back to what it was before on exit,
rather than always setting back to 0.

5f68be22 06/11/2015 07:16 AM Bob Lantz

Remove debug print

c4a85ab1 06/11/2015 03:09 AM Bob Lantz

Add flush option to disable flushing iptables

bb35d041 06/08/2015 05:10 AM Bob Lantz

Fix TorusTopo for UserSwitch

UserSwitch requires a 12-digit dpid.

ba05fd36 06/05/2015 11:10 PM Bob Lantz

Warn if bridge netfilter (firewall) is enabled

Newer linux kernels enable filtering on the linux bridge;
this can prevent it from working in mininet!

b27cce08 05/28/2015 06:45 AM Brian O'Connor

Adding number of hosts per switch option to torus topo

a38896c2 05/16/2015 03:24 PM Bob Lantz

Avoid expanding a string into a list of chars

63ae13fc 05/13/2015 06:50 AM Bob Lantz

Fix #520

c5f6d0ff 05/02/2015 08:16 PM Bob Lantz

Restore use of self.intf (if present) in addLink

fixes #515

ab8c4e91 04/16/2015 11:05 PM Bob Lantz

2.2.1rc1 -> 2.2.1

435d0d68 04/14/2015 09:33 PM Bob Lantz

-> 2.2.1rc1

6cb68f26 04/14/2015 12:30 AM Bob Lantz

Simply use class names as option help

The justification for this is that 1) the options are
already documented in the API documentation and 2) the
class names are fairly self-explanatory, so adding short
descriptions doesn't add much.

In the future, however, we could add a short description...

0165d7bd 04/10/2015 06:19 AM Bob Lantz

Implement Switch.stop(), which doesn't call terminate

When I changed the switch implementations to call super().stop(),
I neglected to include a Switch.stop() method which didn't call
terminate(). This broke switch s1 stop and s1.stop().

Fixes #497

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 controlnet.py 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
EOF.

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

Conflicts:
mininet/node.py

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.