Example #1
0
 def do_ports(self, _line):
     "display ports and interfaces for each switch"
     dumpPorts(self.mn.switches)
Example #2
0
File: cli.py Project: croft/mininet
 def do_ports( self, _line ):
     "display ports and interfaces for each switch"
     dumpPorts( self.mn.switches )