Skip to content
Snippets Groups Projects
Commit 71ffb002 authored by Rich Lane's avatar Rich Lane
Browse files

IVSSwitch: remove namespace warnings

IVS works fine using --innamespace.
parent 803c0a6e
No related branches found
No related tags found
No related merge requests found
...@@ -1019,17 +1019,11 @@ def stop( self ): ...@@ -1019,17 +1019,11 @@ def stop( self ):
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 ):
......
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