Home
last modified time | relevance | path

Searched refs:rpc_interface (Results 1 – 9 of 9) sorted by relevance

/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt7 # rpc_interface = rpc_client_lib.get_proxy(
10 >>> if 'rpc_interface' not in globals():
11 ... from autotest_lib.frontend.afe import rpc_interface, models
40 # mock up tko rpc_interface
42 >>> mock.mock_god().stub_function_to_return(rpc_interface.tko_rpc_interface,
50 >>> rpc_interface.echo('test string to echo')
57 >>> rpc_interface.add_label(name='test_label')
61 >>> rpc_interface.modify_label(1, kernel_config='/my/kernel/config')
64 >>> rpc_interface.modify_label('test_label', platform=True)
67 >>> data = rpc_interface.get_labels(name='test_label')
[all …]
D003_misc_rpc_features.txt5 >>> from autotest_lib.frontend.afe import rpc_interface
7 >>> rpc_interface.add_profiler(name='oprofile')
9 >>> rpc_interface.add_profiler(name='iostat')
13 >>> cf_info = rpc_interface.generate_control_file(
42 >>> cf_info = rpc_interface.generate_control_file(
68 >>> cf_info = rpc_interface.generate_control_file(
/external/autotest/frontend/afe/
Drpc_interface_unittest.py19 from autotest_lib.frontend.afe import rpc_interface
49 retval = rpc_interface.shard_heartbeat(
91 job_id = rpc_interface.create_job(name='dummy', priority=self._PRIORITY,
128 rpc_interface.remove_board_from_shard(shard1.hostname, label1.name)
228 rpc_interface.delete_shard(hostname=shard1.hostname)
260 self.old_respect_static_config = rpc_interface.RESPECT_STATIC_ATTRIBUTES
261 rpc_interface.RESPECT_STATIC_ATTRIBUTES = True
269 rpc_interface.RESPECT_STATIC_ATTRIBUTES = self.old_respect_static_config
285 hosts = rpc_interface.get_hosts(hostname=host1.hostname)
304 attributes = rpc_interface.get_host_attribute(
[all …]
Dviews.py8 from autotest_lib.frontend.afe import models, rpc_handler, rpc_interface
17 rpc_handler_obj = rpc_handler.RpcHandler((rpc_interface,
19 document_module=rpc_interface)
Ddirect_afe.py8 from autotest_lib.frontend.afe import rpc_interface
17 func = rpc_interface.__getattribute__(call)
Drpc_interface.py60 from autotest_lib.frontend.tko import rpc_interface as tko_rpc_interface
/external/autotest/site_utils/
Ddiagnosis_utils.py212 def __init__(self, rpc_interface): argument
217 self.rpc_interface = rpc_interface
234 self.rpc_interface,
289 hosts = self.rpc_interface.get_hosts(
333 incomplete_jobs = self.rpc_interface.get_jobs(
/external/autotest/frontend/tko/
Dviews.py1 from autotest_lib.frontend.tko import rpc_interface
5 rpc_handler_obj = rpc_handler.RpcHandler((rpc_interface,),
6 document_module=rpc_interface)
/external/autotest/site_utils/stats/
Dapache_access_log_metrics.py24 from autotest_lib.frontend.afe import rpc_interface
99 WHITELISTED_METHODS = (frozenset(dir(rpc_interface)) |