Searched refs:host_ids (Results 1 – 13 of 13) sorted by relevance
/external/autotest/scheduler/ |
D | query_managers.py | 301 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))
|
D | rdb_lib.py | 90 def get_hosts(host_ids): argument 104 for host_id in host_ids:
|
D | rdb.py | 40 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):
|
D | monitor_db_unittest.py | 35 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))
|
D | agent_task.py | 158 self.host_ids = [] 166 self.host_ids = [entry.host.id for entry in queue_entries] 172 self.host_ids = [host.id]
|
D | monitor_db.py | 457 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
|
D | scheduler_models.py | 138 self.host_ids = ()
|
/external/autotest/scheduler/shard/ |
D | shard_client.py | 169 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
|
D | shard_client_integration_tests.py | 51 job_ids, host_ids, _ = client._get_known_jobs_and_hosts() 92 job_ids, host_ids, _ = client._get_known_jobs_and_hosts()
|
/external/autotest/cli/ |
D | host.py | 339 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]
|
D | host_unittest.py | 1255 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/ |
D | models.py | 543 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())
|
D | rpc_utils.py | 318 host_ids = [host.id for host in host_objects] 319 hosts_in_job = models.Host.objects.filter(id__in=host_ids)
|