Home
last modified time | relevance | path

Searched refs:host_ids (Results 1 – 12 of 12) sorted by relevance

/external/autotest/venv/lucifer/
Dhandoffs.py56 host_ids = {id for id in hqes.values_list('host_id', flat=True)
58 logger.debug('Found Hosts associated with jobs: %r', host_ids)
59 _clean_up_hosts(host_ids)
72 def _clean_up_hosts(host_ids): argument
83 .filter(id__in=host_ids)
/external/autotest/scheduler/shard/
Dshard_client.py172 host_ids = [h['id'] for h in hosts_serialized]
173 logging.info('Heartbeat response contains hosts %s', host_ids)
281 host_ids = []
284 host_ids.append(h.id)
286 return job_ids, host_ids, host_statuses
Dshard_client_integration_tests.py51 job_ids, host_ids, _ = client._get_known_jobs_and_hosts()
92 job_ids, host_ids, _ = client._get_known_jobs_and_hosts()
/external/autotest/cli/
Dhost.py340 self.host_ids = {}
427 if host not in self.host_ids:
429 host_id = self.host_ids[host]
448 if host in self.host_ids:
449 host_id = self.host_ids[host]
535 self.host_ids[host['hostname']] = host['id']
537 if host not in self.host_ids:
540 host_id = self.host_ids[host]
Dhost_unittest.py1255 def _gen_acls_rpcs(self, hosts, acls, host_ids=[]): argument
1263 for host_id in host_ids:
1457 host_ids = []
1462 host_ids.append(host_id)
1493 rpcs += self._gen_acls_rpcs(hosts, acls, host_ids=host_ids)
/external/autotest/scheduler/
Drdb_lib.py90 def get_hosts(host_ids): argument
104 for host_id in host_ids:
Drdb.py40 def update_hosts(self, host_ids, **kwargs): argument
47 self.host_objects.filter(id__in=host_ids).update(**kwargs)
221 host_ids = set([request.host_id for request in host_requests])
226 for host in self.host_query_manager.get_hosts(host_ids):
Dagent_task.py161 self.host_ids = []
169 self.host_ids = []
174 self.host_ids.append(entry.host.id)
187 self.host_ids = [host.id]
Dmonitor_db_unittest.py35 host_ids = () variable in DummyAgent
85 agent_or_task.host_ids = agent_or_task.queue_entry_ids = id_list
207 def _assert_job_scheduled_on_number_of(self, job_id, host_ids, number): argument
210 for host_id in host_ids:
217 'Jobs scheduled: %s' % (job_id, number, host_ids, found))
220 'Jobs scheduled: %s' % (job_id, number, host_ids, found))
Dmonitor_db.py515 self._register_agent_for_ids(self._host_agents, agent.host_ids, agent)
536 self._unregister_agent_for_ids(self._host_agents, agent.host_ids,
1240 'queue_entry ids:%s' % (agent.host_ids,
1311 self.host_ids = task.host_ids
Dquery_managers.py392 host_ids = self._hosts_available.keys()
/external/autotest/frontend/afe/
Drpc_utils.py297 host_ids = [host.id for host in host_objects]
298 hosts_in_job = models.Host.objects.filter(id__in=host_ids)