Revision c26875cb

View differences:

examples/miniedit.py
592 592
    def start( self ):
593 593
        "Start network."
594 594
        if self.net is None:
595
            self.net = self.build()
595 596
            self.net.start()
596 597

  
597 598
    def stop( self ):
mininet/cli.py
239 239
            rest = ' '.join( rest )
240 240
            # Run cmd on node:
241 241
            builtin = isShellBuiltin( first )
242
            print "builtin =", builtin
243 242
            node.sendCmd( rest, printPid=( not builtin ) )
244 243
            self.waitForNode( node )
245 244
        else:
mininet/net.py
274 274
            pass
275 275

  
276 276
        info( '*** Adding controller\n' )
277
        self.addController( self.controller )
277
        self.addController( 'c0' )
278 278
        info( '*** Creating network\n' )
279 279
        info( '*** Adding hosts:\n' )
280 280
        for hostId in sorted( topo.hosts() ):

Also available in: Unified diff