changed CLI to MininetFacade; a great deal of logic also changed

This commit is contained in:
Brian O'Connor
2013-09-11 12:00:13 -07:00
committed by Brian O'Connor
parent ad5a0e42d0
commit 15146d900c
3 changed files with 64 additions and 39 deletions
+3 -1
View File
@@ -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 ) )