Home
last modified time | relevance | path

Searched refs:get_hosts (Results 1 – 25 of 48) sorted by relevance

12

/external/autotest/server/hosts/
Dafe_store_unittest.py38 self.mock_afe.get_hosts.return_value = [
47 self.mock_afe.get_hosts.return_value = []
54 self.mock_afe.get_hosts.return_value = [
64 self.mock_afe.get_hosts.return_value = [
81 self.mock_afe.get_hosts.return_value = [
91 self.mock_afe.get_hosts.return_value = [
102 self.mock_afe.get_hosts.return_value = [
113 self.mock_afe.get_hosts.return_value = [
150 self.mock_afe.get_hosts.return_value = [
161 self.mock_afe.get_hosts.return_value = [
[all …]
Dmoblab_host.py197 existing_hosts = [host.hostname for host in self.afe.get_hosts()]
279 self.afe.get_hosts()
306 if not self.afe.get_hosts(status='Ready'):
307 for host in self.afe.get_hosts():
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt105 >>> data = rpc_interface.get_hosts()
133 >>> data = rpc_interface.get_hosts()
149 >>> rpc_interface.get_hosts() == []
221 >>> data = rpc_interface.get_hosts(hostname='host1')
224 >>> data = rpc_interface.get_hosts(hostname='host2')
232 >>> data = rpc_interface.get_hosts(labels__name='label1')
235 >>> data = rpc_interface.get_hosts(labels__name='label2')
241 >>> data = rpc_interface.get_hosts(hostname='host1')
244 >>> rpc_interface.get_hosts(labels__name='label2')
258 >>> data = rpc_interface.get_hosts(hostname='host1')
[all …]
/external/autotest/server/cros/network/
Drf_switch_utils_test.py35 afe_instance.get_hosts.return_value = [mock_host_instance]
47 afe_instance.get_hosts.return_value = [mock_host_instance]
59 afe_instance.get_hosts.return_value = []
71 afe_instance.get_hosts.return_value = [mock_host_instance]
81 afe_instance.get_hosts.return_value = [mock_host_instance]
Drf_switch_controller_test.py45 afe_instance.get_hosts.return_value = [
59 afe_instance.get_hosts.return_value = [
74 afe_instance.get_hosts.return_value = [self.client_box_host]
89 afe_instance.get_hosts.return_value = [self.client_box_host]
Drf_switch_client_box_test.py31 afe_instance.get_hosts.return_value = [self.client_box_host, dut_host]
43 afe_instance.get_hosts.return_value = [self.client_box_host]
56 afe_instance.get_hosts.side_effect = [[stumpy_host]]
71 afe_instance.get_hosts.side_effect = [[self.client_box_host],
Drf_switch_utils.py26 rf_switch_hosts = afe.get_hosts(label=RF_SWITCH_LABEL, locked=False)
48 rf_switch = afe.get_hosts(hostnames=(rf_switch_host.hostname,))
Drf_switch_controller.py48 self.hosts = afe.get_hosts(label=labels[0])
Drf_switch_client_box.py66 hosts = afe.get_hosts(label=self.client_box_label)
/external/autotest/site_utils/
Ddiagnosis_utils_unittest.py47 self.afe_mock.get_hosts.return_value = self._mockZeroHost()
65 self.afe_mock.get_hosts.return_value = self._mockTwoAvailableHosts()
91 self.afe_mock.get_hosts.return_value = self._mockTwoFailedHosts()
Ddut_mon.py100 hosts = afe.get_hosts()
Dadd_detected_host_labels.py67 afe_host = afe.get_hosts(hostname=hostname)[0]
/external/autotest/scheduler/
Drdb_unittest.py33 rdb_requests.HostRequest, rdb.get_hosts)
106 self.handler.host_query_manager.get_hosts = mock.MagicMock(
240 len(self.available_hosts_query_manager.get_hosts(
247 hosts = self.all_hosts_query_manager.get_hosts([db_host.id])
253 hosts = self.all_hosts_query_manager.get_hosts([hosts[0].id])
Drdb_lib.py90 def get_hosts(host_ids): function
103 rdb_requests.HostRequest, rdb.get_hosts)
Drdb.py51 def get_hosts(self, ids): member in BaseHostQueryManager
226 for host in self.host_query_manager.get_hosts(host_ids):
481 def get_hosts(host_requests): function
/external/autotest/server/cros/
Dhost_lock_manager_unittest.py80 self.afe.get_hosts(hostname=self.HOST1).AndReturn(None)
89 self.afe.get_hosts(hostname=self.HOST1).AndReturn(host_info)
98 self.afe.get_hosts(hostname=self.HOST1).AndReturn(host_info)
107 self.afe.get_hosts(hostname=self.HOST1).AndReturn(host_info)
117 self.afe.get_hosts(hostname=self.HOST1).AndReturn(host_info)
/external/autotest/frontend/afe/
Ddirect_afe_unittest.py17 hosts = afe.get_hosts()
21 hosts = afe.get_hosts()
/external/autotest/contrib/
Dmanage_powerunit_info.py64 if not afe.get_hosts(hostname=device):
103 hosts = afe.get_hosts()
118 hosts = afe.get_hosts(hostname__in = devices)
/external/autotest/site_utils/deployment/
Dinstall.py365 afe_host = afe.get_hosts(id=host_id)[0]
395 afe_host = afe.get_hosts(id=afe_host.id)[0]
422 hostlist = afe.get_hosts([hostname])
451 afe_host = afe.get_hosts([hostname])[0]
675 for h in afe.get_hosts(hostnames=successful_hosts):
728 afe_host = afe.get_hosts(hostname=host)
790 afe_hosts = afe.get_hosts(hostname=host_info.hostname)
/external/toolchain-utils/
Dafe_lock_machine.py242 host_info = self.local_afe.get_hosts(hostname=m)
279 host_info = self.local_afe.get_hosts(hostname=m)
515 host_info = self.afe.get_hosts(hostname=mod_host)
520 host_info = self.local_afe.get_hosts(hostname=m)
/external/autotest/server/site_tests/moblab_Setup/
Dmoblab_Setup.py42 for host in afe.get_hosts():
/external/autotest/server/
Dfrontend.py484 def get_hosts(self, hostnames=(), status=None, label=None, **dargs): member in AFE
498 self.get_hosts(status=status, label=label, **dargs)]
521 return self.get_hosts(id=id)[0]
610 for host in self.get_hosts(hostname__in=hostnames):
/external/autotest/cli/
Datest_migrate_host14 old_host = old.get_hosts(hostname=hostname)[0]
/external/autotest/server/site_tests/moblab_RunSuite/
Dmoblab_RunSuite.py55 dut = host.afe.get_hosts()[0]
/external/autotest/server/site_tests/hardware_StorageQualCheckSetup/
Dhardware_StorageQualCheckSetup.py67 for host in afe.get_hosts():

12