Searched refs:afe_host (Results 1 – 15 of 15) sorted by relevance
/external/autotest/site_utils/deployment/ |
D | install.py | 246 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/ |
D | utils.py | 47 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/ |
D | factory.py | 66 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'))
|
D | base_label_unittest.py | 78 def __init__(self, exists=True, afe_host=None): argument 81 self._afe_host = afe_host 193 mockhost = MockHost(afe_host=MockAFEHost(
|
D | testbed.py | 46 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,
|
D | servo_host.py | 368 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)
|
D | factory_unittest.py | 63 afe_host = base_label_unittest.MockAFEHost(labels, attributes) 67 'afe_host': afe_host,
|
D | abstract_ssh.py | 30 is_client_install_supported=True, afe_host=None, argument 70 self._afe_host = afe_host or utils.EmptyAFEHost()
|
/external/autotest/server/brillo/feedback/ |
D | client_factory.py | 36 afe_host = site_utils.get_afe_host_from_machine(machine) 37 serials = afe_host.attributes.get('serials')
|
/external/autotest/server/ |
D | site_utils.py | 736 _, 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]
|
D | server_job.py | 109 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/ |
D | config.py | 331 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/ |
D | add_detected_host_labels.py | 67 afe_host = afe.get_hosts(hostname=hostname)[0] 77 labels_to_delete = [l for l in afe_host.labels
|
D | test_runner_utils.py | 433 afe_host = hosts[0] 434 afe_host.add_labels(labels_to_add_to_afe_host)
|
/external/autotest/cli/ |
D | host.py | 657 afe_host = frontend.Host(None, data) 663 'afe_host': afe_host,
|