code: def sessions_info(self, hosts):
          
          info_by_id = {}
  
          for server_endpoint, dump in self.dump_by_server(hosts).items():
              server_ip, server_port = server_endpoint
              for line in dump.split("\n"):
                  mat = self.IP_PORT_REGEX.match(line)
                  if mat is None:
                      continue
                  ip, port, sid = mat.groups()
                  info_by_id[sid] = ClientInfo(sid, ip, port, server_ip, server_port)
  
          return info_by_id
docs: Returns ClientInfo per session.
  
          :param hosts: comma separated lists of members of the ZK ensemble.
          :returns: A dictionary of (session_id, ClientInfo).