Skip to content
Snippets Groups Projects
Commit aa554d98 authored by Bob Lantz's avatar Bob Lantz
Browse files

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.
parent 804c4bbf
No related branches found
No related tags found
No related merge requests found
......@@ -801,9 +801,10 @@ class UserSwitch( Switch ):
dpidLen = 12
def __init__( self, name, dpopts='', **kwargs ):
def __init__( self, name, dpopts='--no-slicing', **kwargs ):
"""Init.
name: name for the switch"""
name: name for the switch
dpopts: additional arguments to ofdatapath (--no-slicing)"""
Switch.__init__( self, name, **kwargs )
pathCheck( 'ofdatapath', 'ofprotocol',
moduleName='the OpenFlow reference user switch' +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment