Statistics
| Branch: | Tag: | Revision:

mininet @ a4e93368

# Date Author Comment
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...

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

Change to OVSSwitch

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+

24520fc9 01/19/2015 07:35 AM Bob Lantz

Allow + in version number

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

79f5d39d 01/17/2015 09:56 PM Bob Lantz

Comment edits and pass code check

6da3fcde 01/17/2015 09:38 PM Bob Lantz

Add bridges s1-s3 to topology and explain some details

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

c62812a9 01/15/2015 10:29 AM Bob Lantz

Update cluster.py for new makeIntfPair

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

a7ad7390 12/17/2014 09:49 PM Bob Lantz

Disable IPv6 via grub command line

Unfortunately disabling IPv6 via sysctl doesn't actually
disable it on all of the interfaces by default. Disabling
it via grub disables it entirely in the VM.

Helps with #454

a84bec97 12/17/2014 09:48 PM Bob Lantz

Disable splash and quiet individually (more robust)

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.

beeea4b2 12/08/2014 11:27 PM Bob Lantz

Exclude miniedit from pep8 checking for now

(Also untabbed comment lines, flagged by emacs et al.)

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

908e85d9 12/04/2014 05:27 PM Bob Lantz

Remove PLFMT since options are moved to .pylint

e341526f 12/04/2014 05:26 PM Bob Lantz

Raise line limit to 4000 for miniedit.py (see note)

Future versions of pylint will allow this to be disabled
in the file itself, so we can drop the limit back to
1500 or something more reasonable!!

03461ce9 12/04/2014 05:17 PM Bob Lantz

Add 'slowtest' make target to test walkthrough, examples

8c37975d 12/04/2014 05:03 PM Bob Lantz

Remove erroneous self.cmd = None

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

643c9f91 12/04/2014 01:55 PM Bob Lantz

More pylint changes...

49654212 12/04/2014 10:57 AM Bob Lantz

More pylint fixes...

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

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

Parseable output format for newer pylint

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

3c9f5ad5 12/01/2014 11:38 PM Bob Lantz

Disable pep8 whitespace errors

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

0094997a 11/26/2014 01:18 AM Brian O'Connor

fixing install-mininet-vm.sh

7a411b6b 11/25/2014 09:01 PM lantz

Merge pull request #453 from cdburkard/master

update examples README with new examples

c2341cd4 11/25/2014 03:43 AM cody burkard

update examples README with new examples

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

2.2.0b2

08ab7e8d 11/25/2014 03:13 AM lantz

Merge pull request #452 from mininet/nat-cmd

Updating NAT class to use gateway interface

3ef6bcfa 11/25/2014 03:04 AM lantz

Additional info about --nat and LinuxRouter

ab97dfa1 11/25/2014 02:36 AM Brian O'Connor

fixing no --nat issue

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

015cd9e7 11/24/2014 08:30 PM lantz

Merge pull request #443 from cdburkard/devel/cluster

use rcmd instead of quietRun when shutting down remote nodes

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

3d44bcdc 11/24/2014 01:32 AM Bob Lantz

MiniNet -> Mininet

1817cbc3 11/24/2014 01:31 AM Bob Lantz

Pass pyflakes

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

Minor code cleanup

37bdf14b 11/24/2014 01:11 AM Bob Lantz

Rename examples.{intfOptions,multiLink} -> {intfoptions,multilink}

292e69f8 11/24/2014 01:07 AM Bob Lantz

Renamed to intfoptions.py for consistency

dd876e69 11/24/2014 01:04 AM Bob Lantz

DemoCLI -> ClusterCLI

596fd9d0 11/23/2014 10:59 PM lantz

Merge pull request #449 from cdburkard/devel/cluster_controlPaths

use ControlPersist ssh option to fix ControlPath shutdown

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 )

9a8bdfd7 11/23/2014 06:59 PM Bob Lantz

use isinstance( obj, basestring) to allow unicode strings

fixes #448