'Takes a list of hosts and updates their string representation
in the model. Potentially slow, makes len(hosts) requests to the server.
Return None.'

def update_relevant_host_names_in_model(self, hosts):

    hosts_ids = map((lambda h: h.id), hosts)
    relevant_hosts = filter(self._is_host_in_model_by_host_id, hosts_ids)
    host_iters = map((lambda h: self.host_id_to_iter[h]), relevant_hosts)
    map(self._update_single_host_name_in_model, relevant_hosts, host_iters)
