예제 #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 )