/external/autotest/contrib/ |
repair_hosts | 22 # _think_ (but I don't know) that the AFE calls operate on all the 28 frontend.AFE().repair_hosts(hostnames=sys.argv[1:])
|
reverify_hosts | 22 # _think_ (but I don't know) that the AFE calls operate on all the 28 frontend.AFE().reverify_hosts(hostnames=sys.argv[1:])
|
shared_hosts.py | 10 cautotest = frontend.AFE(server='cautotest') 11 cautotest_cq = frontend.AFE(server='cautotest-cq')
|
task_runner.sh | 22 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
|
stage_build.py | 45 AFE = frontend.AFE() 46 AFE.set_host_attribute('job_repo_url', repo_url, hostname=options.host)
|
generate_rpm_mapping.py | 22 <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, 466 logging.info('Connected to %s', AFE.server) 468 AFE.get_hosts(),
|
find_suite_tasks.py | 30 parser.add_argument('--afe', type=str, action='store', 31 help='AFE server to connect to') 37 def GetSuiteHQEs(suite_job_id, look_past_seconds, afe=None, tko=None): 40 @param suite_job_id: Suite's AFE job id. 43 @param afe: AFE database handle. 50 if afe is None: 51 afe = frontend.AFE() 79 child_jobs = afe.get_jobs(parent_job_id=suite_job_id [all...] |
/external/autotest/server/ |
afe_utils.py | 5 """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. 19 AFE = frontend_wrappers.RetryingAFE(timeout_min=5, delay_sec=10) 20 _CROS_VERSION_MAP = AFE.get_stable_version_map(AFE.CROS_IMAGE_TYPE) 21 _FIRMWARE_VERSION_MAP = AFE.get_stable_version_map(AFE.FIRMWARE_IMAGE_TYPE) 22 _FAFT_VERSION_MAP = AFE.get_stable_version_map(AFE.FAFT_IMAGE_TYPE [all...] |
/external/autotest/test_suites/ |
dev_harness.py | 48 AFE = frontend.AFE(debug=True) 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/ |
direct_afe.py | 8 from autotest_lib.frontend.afe import rpc_interface 10 class directAFE(frontend.AFE): 12 A wrapper for frontend.AFE which exposes all of the AFE
|
/external/autotest/server/cros/network/ |
rf_switch_utils.py | 18 Locks the available RF Switch if it was discovered via AFE to prevent tests 21 @return an instance of AFE host object or None. 23 afe = frontend.AFE( 26 rf_switch_hosts = afe.get_hosts(label=RF_SWITCH_LABEL, locked=False) 30 if afe.lock_host(rf_switch.hostname, LOCK_REASON): 41 @param rf_switch_host: an instance of AFE Host object to unlock. 45 afe = frontend.AFE( 47 afe.unlock_hosts([rf_switch_host.hostname] [all...] |
rf_switch_client_box_test.py | 30 afe_instance = rf_switch_client_box.frontend.AFE() 42 afe_instance =rf_switch_client_box.frontend.AFE() 55 afe_instance = rf_switch_client_box.frontend.AFE() 70 afe_instance = rf_switch_client_box.frontend.AFE()
|
rf_switch_controller.py | 38 @param rf_switch_host: An AFE Host object of RF Switch. 46 afe = frontend.AFE( 48 self.hosts = afe.get_hosts(label=labels[0])
|
rf_switch_client_box.py | 29 @param client_box_host: Client Box AFE Host. 64 afe = frontend.AFE( 66 hosts = afe.get_hosts(label=self.client_box_label)
|
/external/autotest/site_utils/ |
test_push.py | 37 from autotest_lib.frontend.afe import models 38 from autotest_lib.frontend.afe import rpc_utils 45 from autotest_lib.frontend.afe import rpc_client_lib 56 AFE = frontend_wrappers.RetryingAFE(timeout_min=0.5, delay_sec=2) 113 hosts = AFE.run('get_hosts', status='Ready', locked=False) 144 AFE.run('abort_host_queue_entries', job=job_id) 152 AFE.reverify_hosts(hostnames=[hostname]) 158 hosts = [h.hostname for h in AFE.get_hosts()] 159 AFE.reverify_hosts(hostnames=hosts) 206 version_map = AFE.get_stable_version_map(AFE.CROS_IMAGE_TYPE [all...] |
abort_suite.py | 54 def abort_suites(afe, substring): 62 @param afe: An instance of frontend.AFE to make RPCs with. 67 hqe_info = afe.run('abort_host_queue_entries', 90 afe = frontend.AFE() 93 abort_suites(afe, name)
|
lxc_cleanup.py | 33 AFE = frontend_wrappers.RetryingAFE(timeout_min=0.1, delay_sec=10) 65 hqes = AFE.get_host_queue_entries(job_id=job_id)
|
dut_mon.py | 6 """A simple service to monitor DUT statuses from master db/afe.""" 34 host: A Host object as returned by afe. 75 afe = frontend.AFE() 100 hosts = afe.get_hosts()
|
/external/autotest/site_utils/stable_images/ |
stable_version_unittest.py | 73 def _dispatch_command_success(self, afe, argv, name_called): 81 stable_version._dispatch_command(afe, arguments) 87 afe = object() 90 stable_version._dispatch_command(afe, arguments) 95 afe = object() 97 afe, argv, 'list_all_mappings') 98 called_mock.assert_called_once_with(afe, None) 102 argv = ['command', '-t', frontend.AFE.CROS_IMAGE_TYPE] 103 afe = object() 105 afe, argv, 'list_all_mappings' [all...] |
stable_version.py | 16 Used to specify an alternative server for the AFE RPC interface. 80 @property _afe AFE RPC object. 81 @property _version_map AFE version map object for the image type. 89 def __init__(self, afe, dry_run): 90 self._afe = afe 92 self._version_map = afe.get_stable_version_map(self.TYPE) 141 the AFE. 185 TYPE = frontend.AFE.FIRMWARE_IMAGE_TYPE 190 TYPE = frontend.AFE.CROS_IMAGE_TYPE 235 TYPE = frontend.AFE.FAFT_IMAGE_TYP [all...] |
/external/autotest/utils/ |
reverify_repair_failed.py | 26 afe_client = frontend.AFE(debug=False, server=options.server)
|
tko_publish.py | 62 afe = frontend.AFE() 63 # the way AFE API is right now is to give a whole list of jobs and can't 65 finished_jobs = afe.get_jobs(finished=True)
|
/external/autotest/cli/ |
atest_migrate_host | 8 old = frontend.AFE(web_server='http://' + sys.argv[1]) 9 new = frontend.AFE(web_server='http://' + sys.argv[2])
|
/external/autotest/server/site_tests/moblab_Setup/ |
moblab_Setup.py | 36 afe = frontend.AFE(server='localhost', user='moblab') 39 live_statuses = afe.host_statuses(live=True) 42 for host in afe.get_hosts(): 79 # afe.reverify_hosts(hostnames=reverify_hostnames)
|
/external/autotest/server/site_tests/hardware_StorageQualCheckSetup/ |
hardware_StorageQualCheckSetup.py | 60 afe = frontend.AFE(server='localhost', user='moblab') 63 live_statuses = afe.host_statuses(live=True) 67 for host in afe.get_hosts():
|