Revision 09e9c055

View differences:

mininet/net.py
489 489
            switch.start( self.controllers )
490 490
        started = {}
491 491
        for swclass, switches in groupby(
492
            sorted( self.switches, key=type ), type ):
492
                sorted( self.switches, key=type ), type ):
493 493
            switches = tuple( switches )
494 494
            if hasattr( swclass, 'batchStartup' ):
495 495
                success = swclass.batchStartup( switches )

Also available in: Unified diff