IVSSwitch: remove namespace warnings
IVS works fine using --innamespace.
This commit is contained in:
+1
-7
@@ -1019,17 +1019,11 @@ OVSKernelSwitch = OVSSwitch
|
|||||||
|
|
||||||
|
|
||||||
class IVSSwitch(Switch):
|
class IVSSwitch(Switch):
|
||||||
"""IVS virtual switch
|
"""IVS virtual switch"""
|
||||||
Currently only works in the root namespace.
|
|
||||||
"""
|
|
||||||
|
|
||||||
def __init__( self, name, **kwargs ):
|
def __init__( self, name, **kwargs ):
|
||||||
Switch.__init__( self, name, **kwargs )
|
Switch.__init__( self, name, **kwargs )
|
||||||
self.process = None
|
self.process = None
|
||||||
if self.inNamespace:
|
|
||||||
error( "IVSSwitch currently only works"
|
|
||||||
" in the root namespace.\n" )
|
|
||||||
exit( 1 )
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setup( cls ):
|
def setup( cls ):
|
||||||
|
|||||||
Reference in New Issue
Block a user