Searched refs:hosts (Results 1 - 25 of 224) sorted by relevance

123456789

/external/autotest/frontend/afe/
H A Ddirect_afe_unittest.py17 hosts = afe.get_hosts()
18 self.assertEquals(len(hosts), 0)
21 hosts = afe.get_hosts()
22 self.assertEquals(len(hosts), 1)
24 afe.create_job('job_name', hosts=['a_host'])
H A Dfrontend_test_utils.py13 """Populate the test database with some hosts and labels."""
21 self.hosts = [models.Host.objects.create(hostname=hostname)
26 acl_group.hosts = self.hosts
27 models.AclGroup.smart_get('Everyone').hosts = []
34 for host in self.hosts:
42 self.hosts[0].labels.add(self.label1)
43 self.hosts[1].labels.add(self.label2)
45 self.hosts[hostnum].labels.add(self.label6)
46 self.hosts[
[all...]
/external/boringssl/src/crypto/x509/
H A Dvpm_int.h63 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ member in struct:X509_VERIFY_PARAM_ID_st
/external/autotest/server/hosts/
H A Drepair.py9 from autotest_lib.client.common_lib import hosts namespace
13 class SshVerifier(hosts.Verifier):
37 raise hosts.AutoservVerifyError(msg % host.hostname)
45 class LegacyHostVerifier(hosts.Verifier):
64 class RebootRepair(hosts.RepairAction):
76 class RPMCycleRepair(hosts.RepairAction):
90 raise hosts.AutoservRepairError(
94 raise hosts.AutoservRepairError(
H A Dcros_repair.py13 from autotest_lib.client.common_lib import hosts namespace
17 from autotest_lib.server.hosts import repair
18 from autotest_lib.server.hosts import cros_firmware
70 class ACPowerVerifier(hosts.Verifier):
89 raise hosts.AutoservVerifyError(
96 raise hosts.AutoservVerifyError(
107 class WritableVerifier(hosts.Verifier):
140 raise hosts.AutoservVerifyError(msg)
147 class EXT4fsErrorVerifier(hosts.Verifier):
161 raise hosts
[all...]
H A Dtestbed_unittest.py11 from autotest_lib.server.hosts import testbed
29 hosts = [self.mox.CreateMockAnything(),
32 for host in hosts:
36 testbed_1.get_adb_devices().AndReturn(dict(zip(serials, hosts)))
53 hosts = [self.mox.CreateMockAnything(),
56 for host in hosts:
60 testbed_1.get_adb_devices().AndReturn(dict(zip(serials, hosts)))
75 hosts = [self.mox.CreateMockAnything(),
78 for host in hosts:
82 testbed_1.get_adb_devices().AndReturn(dict(zip(serials, hosts)))
[all...]
H A Dbase_classes.py8 You should import the "hosts" package instead of importing each type of host.
20 from autotest_lib.client.common_lib import hosts namespace
24 class Host(hosts.Host):
60 self.job.hosts.add(self)
74 self.job.hosts.discard(self)
H A Dservo_repair.py9 from autotest_lib.client.common_lib import hosts namespace
11 from autotest_lib.server.hosts import repair
14 class _UpdateVerifier(hosts.Verifier):
35 class _ConfigVerifier(hosts.Verifier):
79 raise hosts.AutoservVerifyError(
83 raise hosts.AutoservVerifyError(
128 # Not all servo hosts will have a servo serial so don't verify if it's
139 raise hosts.AutoservVerifyError(msg)
174 raise hosts.AutoservVerifyError(msg)
177 class _ServodJobVerifier(hosts
[all...]
H A Dcros_firmware.py40 from autotest_lib.client.common_lib import hosts namespace
96 class FirmwareStatusVerifier(hosts.Verifier):
125 raise hosts.AutoservVerifyError(
136 class FirmwareRepair(hosts.RepairAction):
148 raise hosts.AutoservRepairError(
152 raise hosts.AutoservRepairError(
161 class FirmwareVersionVerifier(hosts.Verifier):
247 raise hosts.AutoservVerifyError(
257 raise hosts.AutoservVerifyError(
287 raise hosts
[all...]
H A Dcros_host_unittest.py7 from autotest_lib.server.hosts import cros_host
8 from autotest_lib.server.hosts import servo_host
/external/autotest/server/site_tests/hardware_StorageQualSuspendStress/
H A Dhardware_StorageQualSuspendStress.py6 from autotest_lib.server import hosts namespace
16 client = hosts.create_host(client_ip)
/external/autotest/server/site_tests/hardware_StorageQualTrimStress/
H A Dhardware_StorageQualTrimStress.py6 from autotest_lib.server import hosts namespace
14 client = hosts.create_host(client_ip)
/external/autotest/scheduler/
H A Dmonitor_db_cleanup_test.py30 self.hosts[i].status = models.Host.Status.REPAIR_FAILED
31 self.hosts[i].save()
33 self.hosts[1].locked = True
34 self.hosts[1].save()
36 self.hosts[2].protection = host_protections.Protection.DO_NOT_VERIFY
37 self.hosts[2].save()
56 self.hosts[i].status = models.Host.Status.REPAIR_FAILED
57 self.hosts[i].save()
59 self.hosts[1].locked = True
60 self.hosts[
[all...]
H A Drdb.py34 """Base manager for host queries on all hosts.
41 """Update fields on a hosts.
43 @param host_ids: A list of ids of hosts to update.
63 """Finds valid hosts matching deps, acls.
69 @return: A set of matching hosts available.
80 """Query manager for requests on un-leased, un-locked hosts.
87 # handlers acquire hosts for a request and record the acquisition in
88 # an response_map dictionary keyed on the request itself, with the host/hosts
91 """Handler for requests related to hosts, leased or unleased.
105 that ran into an exception. Often this translates to reserving hosts
[all...]
/external/autotest/contrib/
H A Ddhcp_failed_machines.py73 hosts = sorted([lookup(h) for h in offenders]) variable
75 pprint.pprint(hosts)
81 (len(hosts), ', '.join(hosts)))
85 (len(hosts), ', '.join(hosts)))
89 (len(hosts), ', '.join(hosts)))
H A Ddeploy_puppet.sh78 hosts="$(${AUTOTEST_ROOT}/cli/atest server list ${STATUS_OPT} ${ROLE_OPT} ${HOSTNAME}| grep Hostname| awk {'print $3'})"
82 for host in ${hosts}; do
88 for host in ${hosts}; do
H A Dprint_host_labels.py9 from autotest_lib.server.hosts import factory
/external/autotest/server/site_tests/stress_ClientTestReboot/
H A Dstress_ClientTestReboot.py8 from autotest_lib.server import hosts namespace
17 host = hosts.create_host(client_ip)
/external/openssh/regress/
H A Dkeygen-knownhosts.sh8 # Generate some keys for testing (just ed25519 for speed) and make a hosts file.
13 echo "# $x" >> $OBJ/kh.hosts
26 echo "" >> $OBJ/kh.hosts
27 ) >> $OBJ/kh.hosts
33 cat $OBJ/kh.hosts >> $OBJ/kh.invalid
37 cp $OBJ/kh.hosts $OBJ/kh.hosts.orig
86 # find key among multiple hosts
89 check_find host-h "find multiple hosts"
127 # find key among multiple hosts
[all...]
/external/autotest/cli/
H A Dchange_protection_level.py15 assert len(leftover_args) > 1, 'Must pass protection level and hosts'
22 hosts = afe_proxy.run('get_hosts', hostname__in=leftover_args[1:]) variable
23 for host in hosts:
32 print 'Invalid hosts:'
33 print ','.join(set(leftover_args[1:]) - set(host['hostname'] for host in hosts))
/external/curl/docs/cmdline-opts/
H A Dnoproxy.d3 Help: List of hosts which do not use proxy
6 Comma-separated list of hosts which do not use a proxy, if one is specified.
7 The only wildcard is a single * character, which matches all hosts, and
/external/autotest/server/site_tests/cheets_CTS/
H A Dcontrol.arm.android.core.tests.libcore.package.com20 host = hosts.create_host(machine)
H A Dcontrol.x86.android.core.tests.libcore.package.com20 host = hosts.create_host(machine)
/external/autotest/server/cros/
H A Dhost_lock_manager_unittest.py55 def _host_modifier(self, hosts, operation, lock_reason=''):
58 Add hosts to self.locked_hosts for LOCK and remove hosts from
63 @param lock_reason: a string, a reason for locking the hosts
67 self.locked_hosts = self.locked_hosts.union(hosts)
69 self.locked_hosts = self.locked_hosts.difference(hosts)
125 """Tests host locking, all hosts not in self.locked_hosts."""
126 hosts = [self.HOST2]
129 manager.lock(hosts, lock_reason='Locking for test')
134 """Tests host locking, some hosts no
[all...]
/external/autotest/server/control_segments/
H A Dstage_server_side_package11 from autotest_lib.server import hosts
20 host = hosts.create_host(machine)

Completed in 2292 milliseconds

123456789