Changed remaining refs to netns to refer to mnexec.
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
netns
|
mnexec
|
||||||
mininet.egg-info
|
mininet.egg-info
|
||||||
|
|||||||
+4
-4
@@ -105,10 +105,10 @@ def init():
|
|||||||
# Perhaps we should do so automatically!
|
# Perhaps we should do so automatically!
|
||||||
print "*** Mininet must run as root."
|
print "*** Mininet must run as root."
|
||||||
exit( 1 )
|
exit( 1 )
|
||||||
# If which produces no output, then netns is not in the path.
|
# If which produces no output, then mnexec is not in the path.
|
||||||
# May want to loosen this to handle netns in the current dir.
|
# May want to loosen this to handle mnexec in the current dir.
|
||||||
if not quietRun( [ 'which', 'netns' ] ):
|
if not quietRun( [ 'which', 'mnexec' ] ):
|
||||||
raise Exception( "Could not find netns; see INSTALL" )
|
raise Exception( "Could not find mnexec - check $PATH" )
|
||||||
fixLimits()
|
fixLimits()
|
||||||
|
|
||||||
class Mininet( object ):
|
class Mininet( object ):
|
||||||
|
|||||||
Reference in New Issue
Block a user