| Branch: | Tag: | Revision:

mininet / mininet / @ 163a66c6

History | View | Annotate | Download (47.2 KB)

# Date Author Comment
163a66c6 05/22/2014 08:06 PM Rich Lane

IVSSwitch: add an option to control the --verbose flag

5cb4a542 05/03/2014 08:21 PM Gregory Gee

Add ability for for OVS switch start connect to controllers using protocols other than TCP.

net.addController( 'c0', protocol='ssl' )

This now allows OVS to connect to a controller using SSL. The default of protocol is 'tcp'
as it currently is.

14e14f1b 04/14/2014 01:44 AM lantz

Merge pull request #286 from lantz/devel/ovsbatch

Enable batch startup/shutdown of OVS

Not perfect, but it moves us forward at least.

bffe0452 04/01/2014 06:50 PM lantz

Merge pull request #290 from backb1/patch/netstatnumeric

Netstat: do not resolve addresses

a7eb5576 03/18/2014 06:04 PM Rich Lane

IVSSwitch: wait for ivs to terminate before tearing down node

This was a problem when running IVS in a container. IVS would begin the process
of closing controller connections on receiving SIGTERM, but often mininet would
have continued on and removed the control network interface from the container...

2e19ceb0 03/01/2014 02:45 AM Bob Lantz

Use a single ovs-vsctl command for speed/atomicity

3e2eb713 02/17/2014 08:23 AM Bob Lantz

Fix default of in-band control for OVS.
fixes #279

06115a04 02/07/2014 01:56 AM Bob Lantz

Add support for batch shutdown of OVS switches.

This saves about 10 seconds for a 200 switch network.

74c71bc8 02/04/2014 01:55 AM Bob Lantz

Minor tweak of return value.

0b5609f5 02/04/2014 01:52 AM Bob Lantz

Check (and canonicalize) dpid arguments to Switch()

This seems slightly ugly, but it has bitten many people.

Closes #268

29988c8b 01/30/2014 12:54 AM Bob Lantz

Canonicalize dpid by removing colons and padding with zeros
closes #268

0dd96ebc 01/24/2014 09:59 PM Andrew Ferguson

userspace switch can be reached on unix port by dpctl

28454708 01/20/2014 10:45 PM Andrew Ferguson

don't crash when link is TCLink but without options

caused by optimized return in in TCIntf.config()

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.

c34a000e 12/14/2013 03:11 PM backb1

Do not resolve addresses

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

IVSSwitch: bring up lo interface

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.

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

Check for `Connected` in checkListening()

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

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

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

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

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


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

Merge branch 'ivs' of into rlane-ivs


fixes #159

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.

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

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.

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.

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

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

Fix method name mismatch for setDefaultRoute.

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

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

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

0aefb0e0 12/20/2012 12:11 AM Bob Lantz

Fix Node.MAC to return intf.MAC rather than intf.IP
Fixes #89 ; Thanks to Nikhil S. Menon for the bug report

c8b85746 12/01/2012 05:00 AM Bob Lantz

pass code check

b453e006 11/26/2012 11:22 PM Brandon Heller

node: verify telnet installation for controller checking

Reported-by: Julius Bachnick

163a6cf3 11/16/2012 06:56 AM Bob Lantz

Fix whitespace error.

ab594b6a 11/16/2012 06:54 AM Bob Lantz

Merge branch '2.0dev' into 2.0merge


3744638e 11/15/2012 08:50 AM Brandon Heller

node: add OVS passive listening support

915c6d4a 11/15/2012 08:50 AM Brandon Heller

node: Use space, rather than comma, to separate controllers
for OVS

Otherwise, OVS thinks the second controller is a parameter of the first, and
only creates one controller entry as seen in 'ovs-vsctl show'.

bf208cde 11/14/2012 06:44 AM Brandon Heller

Fix SSHD example by generalizing input intf args

A number of functions in look like this:
return self.intf( intf ).<other stuff>

Previously, self.intf(...) in Node would expect a string name for an
interface and return None if an object was passed in instead of a...

2e089b5e 11/14/2012 01:17 AM Brandon Heller

pep8: Fix E127 continuation line over-indented

There are a bunch of these remaining, but I don't think the right course is
to 'fix' all of them to make pep8 happy, but instead to either change
the test in pep8 to consider that a continuation line may itself...

edf60032 11/14/2012 12:59 AM Brandon Heller

pep8: fix E128 continuation line under-indented errors

I wasn't sure this was worth fixing at first, but it does look more readable

c0095746 11/14/2012 12:08 AM Brandon Heller

pep8: Fix E121/126, continuation line indention

33d548b4 11/13/2012 11:01 PM Brandon Heller

pep8: Fix E121 continuation line indentation is not a multiple of four

0bd5c651 11/13/2012 10:39 PM Brandon Heller

pep8: Fix E203 whitespace before punctutation

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.

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.

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

Workaround for openvswitch_mod rename and pass code check.

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

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

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

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

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

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

Set dpid on OVSSwitch.

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

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

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

Fix RemoteController which was still using defaultIP rather than ip.

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

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.

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

Add static cpu (and memory) assignment.

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

Restore deleted deleteIntfs in OVSSwitch.stop()

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

Pass code check.

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.

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.

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

Fix printing pid for background tasks.

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.

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

Fix convenience configuration methods.

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.

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

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

28f46c8d 03/12/2012 11:12 PM Bob Lantz

Pass code check.

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.

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.

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.

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

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