Lines Matching refs:host_objects
310 def check_job_dependencies(host_objects, job_dependencies): argument
317 host_ids = [host.id for host in host_objects]
323 failing_hosts = (set(host.hostname for host in host_objects) -
375 def check_atomic_group_create_job(synch_count, host_objects, metahost_objects, argument
394 if (host_objects and not metahost_objects and
395 len(host_objects) < minimum_required):
399 (len(host_objects), synch_count)})
414 if not host_objects and not metahost_objects:
419 host_set = set(host.hostname for host in host_objects)
555 def check_for_duplicate_hosts(host_objects): argument
558 for host in host_objects:
569 def create_new_job(owner, options, host_objects, metahost_objects, argument
571 all_host_objects = host_objects + metahost_objects
577 synch_count, host_objects, metahost_objects,
586 id__in=[host.id for host in host_objects],
596 check_for_duplicate_hosts(host_objects)
606 check_job_dependencies(host_objects, dependencies)
923 host_objects = models.Host.smart_get_bulk(hosts)
925 shard_host_map = bucket_hosts_by_shard(host_objects)
928 len(shard_host_map.values()[0]) != len(host_objects))):
977 host_objects.append(this_host)
1003 host_objects=host_objects,