Home
last modified time | relevance | path

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

/external/autotest/site_utils/deployment/
Dinstall.py257 def _create_host(hostname, afe, afe_host): argument
270 'afe_host': afe_host,
276 def _try_lock_host(afe_host): argument
288 afe_host.modify(locked=True,
296 def _try_unlock_host(afe_host): argument
308 afe_host.modify(locked=False, lock_reason='')
365 afe_host = afe.get_hosts(id=host_id)[0]
366 if afe_host.status in host_states.IDLE_STATES:
372 def _ensure_host_idle(afe, afe_host): argument
393 if afe_host.shard:
[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,
189 afe_host = detected_args['afe_host']
195 for label in afe_host.labels:
203 or OS_HOST_DICT.get(afe_host.attributes.get('os_type'))
Dfactory_unittest.py63 afe_host = base_label_unittest.MockAFEHost(labels, attributes)
67 'afe_host': afe_host,
Dabstract_ssh.py48 afe_host=None, host_info_store=None, connection_pool=None, argument
87 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/site_utils/lxc/
Dconfig.py322 afe_host = config.get_config_value('SERVER', 'hostname')
323 if afe_host.lower() in local_names:
326 new_host = socket.getfqdn(afe_host)
/external/autotest/server/
Dsite_utils.py719 _, afe_host = get_host_info_from_machine(machine)
720 return afe_host
810 idle_duts = [afe_host.hostname for afe_host in afe_hosts
811 if afe_host.status in host_states.IDLE_STATES]
Dserver_job.py120 afe_host = server_utils.EmptyAFEHost()
123 afe_host.attributes.update(host_attributes)
127 afe_host = _create_afe_host(machine)
131 afe_host = server_utils.EmptyAFEHost()
137 'afe_host' : 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.py493 afe_host = hosts[0]
494 afe_host.add_labels(labels_to_add_to_afe_host)
/external/autotest/cli/
Dhost.py846 afe_host = frontend.Host(None, data)
852 'afe_host': afe_host,