示例#1
0
 def do_ports(self, _line):
     "display ports and interfaces for each switch"
     dumpPorts(self.mn.switches)
示例#2
0
文件: cli.py 项目: croft/mininet
 def do_ports( self, _line ):
     "display ports and interfaces for each switch"
     dumpPorts( self.mn.switches )