def do_ports(self, _line): "display ports and interfaces for each switch" dumpPorts(self.mn.switches)
def do_ports( self, _line ): "display ports and interfaces for each switch" dumpPorts( self.mn.switches )