Home
last modified time | relevance | path

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

/external/autotest/scheduler/
Dquery_managers.py301 def _get_host_acls(self, host_ids): argument
307 return self._get_many2many_dict(query, host_ids)
310 def _get_label_hosts(self, host_ids): argument
311 if not host_ids:
317 """ % self._get_sql_id_list(host_ids)
414 host_ids = self._hosts_available.keys()
415 self._host_acls = self._get_host_acls(host_ids)
417 self._get_label_hosts(host_ids))
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)
222 host_ids = set([request.host_id for request in host_requests])
227 for host in self.host_query_manager.get_hosts(host_ids):
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))
Dagent_task.py158 self.host_ids = []
166 self.host_ids = [entry.host.id for entry in queue_entries]
172 self.host_ids = [host.id]
Dmonitor_db.py457 self._register_agent_for_ids(self._host_agents, agent.host_ids, agent)
478 self._unregister_agent_for_ids(self._host_agents, agent.host_ids,
1046 'queue_entry ids:%s' % (agent.host_ids,
1125 self.host_ids = task.host_ids
Dscheduler_models.py138 self.host_ids = ()
/external/autotest/scheduler/shard/
Dshard_client.py169 host_ids = [h['id'] for h in hosts_serialized]
170 logging.info('Heartbeat response contains hosts %s', host_ids)
260 host_ids = []
263 host_ids.append(h.id)
265 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.py339 self.host_ids = {}
426 if host not in self.host_ids:
428 host_id = self.host_ids[host]
447 if host in self.host_ids:
448 host_id = self.host_ids[host]
534 self.host_ids[host['hostname']] = host['id']
536 if host not in self.host_ids:
539 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/frontend/afe/
Dmodels.py543 host_ids = set(Host.objects.filter(
550 if host_ids:
551 Host.objects.filter(pk__in=host_ids).update(shard=shard)
552 return list(Host.objects.filter(pk__in=host_ids).all())
Drpc_utils.py318 host_ids = [host.id for host in host_objects]
319 hosts_in_job = models.Host.objects.filter(id__in=host_ids)