diff --git a/mininet/net.py b/mininet/net.py index a3ff824..2d44af3 100755 --- a/mininet/net.py +++ b/mininet/net.py @@ -340,7 +340,6 @@ class Mininet( object ): # quietRun( 'renice +18 -p ' + repr( host.pid ) ) # This may not be the right place to do this, but # it needs to be done somewhere. - host.cmd( 'ifconfig lo up' ) info( '\n' ) def buildFromTopo( self, topo=None ): diff --git a/mininet/node.py b/mininet/node.py index a6786f5..333dfe7 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -923,7 +923,6 @@ class UserSwitch( Switch ): for c in controllers ] ) ofdlog = '/tmp/' + self.name + '-ofd.log' ofplog = '/tmp/' + self.name + '-ofp.log' - self.cmd( 'ifconfig lo up' ) intfs = [ str( i ) for i in self.intfList() if not i.IP() ] self.cmd( 'ofdatapath -i ' + ','.join( intfs ) + ' punix:/tmp/' + self.name + ' -d %s ' % self.dpid + @@ -974,7 +973,6 @@ class OVSLegacyKernelSwitch( Switch ): def start( self, controllers ): "Start up kernel datapath." ofplog = '/tmp/' + self.name + '-ofp.log' - quietRun( 'ifconfig lo up' ) # Delete local datapath if it exists; # then create a new one monitoring the given interfaces self.cmd( 'ovs-dpctl del-dp ' + self.dp ) @@ -1193,7 +1191,6 @@ class IVSSwitch(Switch): logfile = '/tmp/ivs.%s.log' % self.name - self.cmd( 'ifconfig lo up' ) self.cmd( ' '.join(args) + ' >' + logfile + ' 2>&1