Revision b924c5b5 mininet/cli.py

View differences:

mininet/cli.py
89 89
    def do_net( self, args ):
90 90
        "List network connections."
91 91
        for switch in self.mn.switches:
92
            info( '%s <->', switch.name )
92
            info( switch.name, '<->' )
93 93
            for intf in switch.intfs.values():
94 94
                name = switch.connection[ intf ][ 1 ]
95 95
                info( ' %s' % name )

Also available in: Unified diff