IVSSwitch: remove namespace warnings

IVS works fine using --innamespace.
This commit is contained in:
Rich Lane
2013-07-01 16:05:52 -07:00
parent 803c0a6e22
commit 71ffb0028e
+1 -7
View File
@@ -1019,17 +1019,11 @@ OVSKernelSwitch = OVSSwitch
class IVSSwitch(Switch):
"""IVS virtual switch
Currently only works in the root namespace.
"""
"""IVS virtual switch"""
def __init__( self, name, **kwargs ):
Switch.__init__( self, name, **kwargs )
self.process = None
if self.inNamespace:
error( "IVSSwitch currently only works"
" in the root namespace.\n" )
exit( 1 )
@classmethod
def setup( cls ):