MCPcopy Create free account
hub / github.com/mininet/mininet / start

Method start

mininet/node.py:1457–1466  ·  view source on GitHub ↗

Start on controller. Log to /tmp/cN.log

( self )

Source from the content-addressed store, hash-verified

1455 '\n'.join( clist ) )
1456
1457 def start( self ):
1458 """Start <controller> <args> on controller.
1459 Log to /tmp/cN.log"""
1460 pathCheck( self.command )
1461 cout = '/tmp/' + self.name + '.log'
1462 if self.cdir is not None:
1463 self.cmd( 'cd ' + self.cdir )
1464 self.cmd( self.command + ' ' + self.cargs % self.port +
1465 ' 1>' + cout + ' 2>' + cout + ' &' )
1466 self.execed = False
1467
1468 # pylint: disable=arguments-differ,signature-differs
1469 def stop( self, *args, **kwargs ):

Callers

nothing calls this directly

Calls 2

pathCheckFunction · 0.90
cmdMethod · 0.45

Tested by

no test coverage detected