changed CLI to MininetFacade; a great deal of logic also changed
This commit is contained in:
committed by
Brian O'Connor
parent
ad5a0e42d0
commit
15146d900c
+3
-1
@@ -183,7 +183,8 @@ class Node( object ):
|
||||
|
||||
def terminate( self ):
|
||||
"Send kill signal to Node and clean up after it."
|
||||
os.kill( self.pid, signal.SIGKILL )
|
||||
if self.shell:
|
||||
os.kill( self.pid, signal.SIGKILL )
|
||||
self.cleanup()
|
||||
|
||||
def stop( self ):
|
||||
@@ -1240,3 +1241,4 @@ class RemoteController( Controller ):
|
||||
if 'Unable' in listening:
|
||||
warn( "Unable to contact the remote controller"
|
||||
" at %s:%d\n" % ( self.ip, self.port ) )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user