Home
last modified time | relevance | path

Searched refs:afe_host (Results 1 – 15 of 15) sorted by relevance

/external/autotest/site_utils/deployment/
Dinstall.py246 def _create_host(hostname, afe, afe_host): argument
255 'afe_host': afe_host,
262 def _try_lock_host(afe_host): argument
274 afe_host.modify(locked=True,
282 def _try_unlock_host(afe_host): argument
294 afe_host.modify(locked=False, lock_reason='')
358 afe_host = hostlist[0]
359 if not afe_host.locked:
360 if _try_lock_host(afe_host):
364 if afe_host.status not in host_states.IDLE_STATES:
[all …]
/external/autotest/site_utils/rpm_control_system/
Dutils.py47 def get_powerunit_info(afe_host): argument
55 if (not POWERUNIT_HOSTNAME_KEY in afe_host.attributes or
56 not POWERUNIT_OUTLET_KEY in afe_host.attributes):
60 ' in the host\'s attributes.' % (afe_host.hostname,
63 hydra_hostname=(afe_host.attributes[HYDRA_HOSTNAME_KEY]
64 if HYDRA_HOSTNAME_KEY in afe_host.attributes
67 device_hostname=afe_host.hostname,
69 powerunit_hostname=afe_host.attributes[POWERUNIT_HOSTNAME_KEY],
70 outlet=afe_host.attributes[POWERUNIT_OUTLET_KEY],
/external/autotest/server/hosts/
Dfactory.py66 hostname, afe_host = server_utils.get_host_info_from_machine(machine)
88 'afe_host': afe_host,
174 afe_host = detected_args['afe_host']
180 for label in afe_host.labels:
189 or OS_HOST_DICT.get(afe_host.attributes.get('os_type'))
Dbase_label_unittest.py78 def __init__(self, exists=True, afe_host=None): argument
81 self._afe_host = afe_host
193 mockhost = MockHost(afe_host=MockAFEHost(
Dtestbed.py46 def __init__(self, hostname='localhost', afe_host=None, adb_serials=None, argument
60 self._afe_host = afe_host or utils.EmptyAFEHost()
65 hostname=hostname, afe_host=self._afe_host, **dargs)
78 adb_serial=adb_serial, afe_host=self._afe_host,
Dservo_host.py368 for afe_host in afe_hosts:
369 if afe_host.status not in host_states.UNAVAILABLE_STATES:
370 return afe_host.hostname
388 for afe_host in afe_hosts:
389 hqes = afe.get_host_queue_entries(host=afe_host.id, complete=0)
Dfactory_unittest.py63 afe_host = base_label_unittest.MockAFEHost(labels, attributes)
67 'afe_host': afe_host,
Dabstract_ssh.py30 is_client_install_supported=True, afe_host=None, argument
70 self._afe_host = afe_host or utils.EmptyAFEHost()
/external/autotest/server/brillo/feedback/
Dclient_factory.py36 afe_host = site_utils.get_afe_host_from_machine(machine)
37 serials = afe_host.attributes.get('serials')
/external/autotest/server/
Dsite_utils.py736 _, afe_host = get_host_info_from_machine(machine)
737 return afe_host
777 _, afe_host = get_host_info_from_machine(machine)
778 return len(afe_host.attributes.get('serials', '').split(',')) > 1
841 idle_duts = [afe_host.hostname for afe_host in afe_hosts
842 if afe_host.status in host_states.IDLE_STATES]
Dserver_job.py109 afe_host = server_utils.EmptyAFEHost()
112 afe_host.attributes.update(host_attributes)
121 afe_host = _create_afe_host(machine)
126 'afe_host' : afe_host,
/external/autotest/site_utils/lxc/
Dconfig.py331 afe_host = config.get_config_value('SERVER', 'hostname')
332 if afe_host.lower() in local_names:
335 new_host = socket.getfqdn(afe_host)
/external/autotest/site_utils/
Dadd_detected_host_labels.py67 afe_host = afe.get_hosts(hostname=hostname)[0]
77 labels_to_delete = [l for l in afe_host.labels
Dtest_runner_utils.py433 afe_host = hosts[0]
434 afe_host.add_labels(labels_to_add_to_afe_host)
/external/autotest/cli/
Dhost.py657 afe_host = frontend.Host(None, data)
663 'afe_host': afe_host,