def do_connected(self, cmd):
        """prints a list of connected interfaces and their id."""
        if len(self.FSIs.keys()) <= 1:
            self.stdout.write("No Interfaces connected.\n")
        for k in sorted(self.FSIs.keys()):
            if k == INTERN_FS_ID:
                continue
            i = self.FSIs[k]
            name = i.repr()
            self.stdout.write("{k}: {n}\n".format(k=k, n=name))
prints a list of connected interfaces and their id.
bin/mc.py