Searched refs:AFE (Results 1 - 25 of 44) sorted by relevance

12

/external/autotest/contrib/
H A Dshared_hosts.py10 cautotest = frontend.AFE(server='cautotest')
11 cautotest_cq = frontend.AFE(server='cautotest-cq')
H A Dreverify_hosts14 # I _think_ (but I don't know) that the AFE calls operate on all the
23 frontend.AFE().reverify_hosts(hostnames=sys.argv[1:])
H A Dtask_runner.sh22 AFE=localhost:8001
70 $AT_DIR/cli/atest host delete $hostnames --web $AFE
71 $AT_DIR/cli/atest label delete $labels --web $AFE
73 $AT_DIR/cli/atest host create $hostnames --web $AFE
74 $AT_DIR/cli/atest label add -m $hostnames $labels --web $AFE
126 $AT_DIR/cli/atest shard delete $SHARD_NAME --web $AFE
128 $AT_DIR/cli/atest shard create $SHARD_NAME -l $SHARD_BOARD --web $AFE
H A Dstage_build.py45 AFE = frontend.AFE()
46 AFE.set_host_attribute('job_repo_url', repo_url, hostname=options.host)
H A Dgenerate_rpm_mapping.py22 <Upload mapping information in csv file to AFE>
400 @param hosts: hosts objects get from AFE.
459 help='AFE server that the script will be talking to. '
464 AFE = frontend_wrappers.RetryingAFE(timeout_min=5, delay_sec=10, variable
466 logging.info('Connected to %s', AFE.server)
468 AFE.get_hosts(),
/external/autotest/server/
H A Dafe_utils.py5 """Utility functions for AFE-based interactions.
8 utilities that require accessing the AFE, should do so by creating
9 their own instance of the AFE client and interact with it directly.
16 AFE = frontend_wrappers.RetryingAFE(timeout_min=5, delay_sec=10) variable
20 """Check if the host is in the lab and an object the AFE knows.
24 case it then verifies the host is registed with the configured AFE
33 return AFE.get_hosts(hostname=host.hostname)
37 """Retrieve the current build for a given host from the AFE.
39 Looks through a host's labels in the AFE to determine its build.
48 return utils.get_build_from_afe(host.hostname, AFE)
[all...]
H A Dfrontend_unittest.py61 my_afe = frontend.AFE(user='david')
/external/autotest/test_suites/
H A Ddev_harness.py48 AFE = frontend.AFE(debug=True) variable
51 m = random.choice(AFE.get_hostnames(label='board:'+new_globals['board']))
53 label = AFE.get_labels(
56 AFE.set_host_attribute(constants.JOB_REPO_URL, repo_url, hostname=m)
/external/autotest/frontend/afe/
H A Ddirect_afe.py11 class directAFE(frontend.AFE):
13 A wrapper for frontend.AFE which exposes all of the AFE
/external/autotest/utils/
H A Dreverify_repair_failed.py26 afe_client = frontend.AFE(debug=False, server=options.server)
H A Dtko_publish.py62 afe = frontend.AFE()
63 # the way AFE API is right now is to give a whole list of jobs and can't
/external/autotest/cli/
H A Datest_migrate_host8 old = frontend.AFE(web_server='http://' + sys.argv[1])
9 new = frontend.AFE(web_server='http://' + sys.argv[2])
/external/autotest/site_utils/
H A Dabort_suite.py66 @param afe: An instance of frontend.AFE to make RPCs with.
93 afe = frontend.AFE()
H A Dtest_push.py50 AFE = frontend_wrappers.RetryingAFE(timeout_min=0.5, delay_sec=2) variable
229 hosts = AFE.get_hosts(label=constants.Labels.BOARD_PREFIX+board)
233 AFE.run('host_remove_labels', id=host.id, labels=[label])
245 AFE.reverify_hosts(hostnames=[host.hostname])
283 while not AFE.get_jobs(id=suite_job_id, finished=True):
287 AFE.run('abort_host_queue_entries', job=suite_job_id)
311 found_build = site_utils.get_build_from_afe(hostname, AFE)
H A Dlxc_cleanup.py36 AFE = frontend_wrappers.RetryingAFE(timeout_min=0.1, delay_sec=10) variable
83 hqes = AFE.get_host_queue_entries(job_id=job_id)
H A Dsync_cloudsql_access.py64 rpc = frontend.AFE(server=afe)
H A Dadd_detected_host_labels.py45 @param afe: A frontend.AFE() instance.
125 afe = frontend.AFE()
H A Dlabel_cleaner.py142 server = frontend.AFE(server=GLOBAL_AFE).run(
/external/autotest/site_utils/suite_scheduler/
H A Dboard_enumerator_unittest.py25 self.afe = self.mox.CreateMock(frontend.AFE)
55 """Listing boards raises an exception from the AFE."""
/external/autotest/server/cros/dynamic_suite/
H A Dtools_unittest.py32 self.afe = self.mox.CreateMock(frontend.AFE)
H A Dfrontend_wrappers.py37 class RetryingAFE(frontend.AFE):
38 """Wrapper around frontend.AFE that retries all RPCs.
/external/autotest/server/cros/network/
H A Dwifi_cell_test_base.py60 afe = frontend.AFE(debug=True)
H A Dchaos_clique_utils.py24 Locks the allocated machine if the machine was discovered via AFE
35 afe = frontend.AFE(debug=True,
44 Locks the allocated machine if the machine was discovered via AFE
51 afe = frontend.AFE(debug=True,
/external/autotest/server/cros/
H A Drepair_utils.py101 rpc = frontend.AFE()
H A Dsonic_client_utils.py152 afe = frontend.AFE(debug=True)

Completed in 513 milliseconds

12