Style changes in mininet/node.py and removing used import in mininet/link.py
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ Link: basic link class for creating veth pairs
|
||||
|
||||
from mininet.log import info, error, debug
|
||||
from mininet.util import makeIntfPair, quietRun
|
||||
from time import sleep
|
||||
#from time import sleep
|
||||
import re
|
||||
|
||||
class Intf( object ):
|
||||
|
||||
+2
-2
@@ -619,8 +619,8 @@ class CPULimitedHost( Host ):
|
||||
return Host.popen( self, *args, mncmd=mncmd, **kwargs )
|
||||
|
||||
def cleanup( self ):
|
||||
super(CPULimitedHost, self).cleanup()
|
||||
"Clean up our cgroup"
|
||||
"Clean up Node, then clean up our cgroup"
|
||||
super( CPULimitedHost, self ).cleanup()
|
||||
retry( retries=3, delaySecs=1, fn=self.cgroupDel )
|
||||
|
||||
def chrt( self ):
|
||||
|
||||
Reference in New Issue
Block a user