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