code: def dump_by_server(self, hosts):
          
          dump_by_endpoint = {}
  
          for endpoint in self._to_endpoints(hosts):
              try:
                  out = self.cmd([endpoint], "dump")
              except self.CmdFailed as ex:
                  out = ""
              dump_by_endpoint[endpoint] = out
  
          return dump_by_endpoint
docs: Returns the output of dump for each server.
  
          :param hosts: comma separated lists of members of the ZK ensemble.
          :returns: A dictionary of ((server_ip, port), ClientInfo).