Home
last modified time | relevance | path

Searched refs:rpc_interface (Results 1 – 10 of 10) 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/tko/
Drpc_interface_unittest_fixme.py9 from autotest_lib.frontend.tko import models, rpc_interface
242 test = rpc_interface.get_detailed_test_views()[0]
260 rpc_interface.set_test_attribute('foo', 'bar', test_name='mytest1')
261 test = rpc_interface.get_detailed_test_views()[0]
266 rpc_interface.set_test_attribute('foo', 'goo', test_name='mytest1')
267 test = rpc_interface.get_detailed_test_views()[0]
272 rpc_interface.set_test_attribute('foo', None, test_name='mytest1')
273 test = rpc_interface.get_detailed_test_views()[0]
279 self.assertRaises(ValueError, rpc_interface.set_test_attribute,
284 tests = rpc_interface.get_test_views()
[all …]
Dviews.py2 from autotest_lib.frontend.tko import rpc_interface, graphing_utils
6 rpc_handler_obj = rpc_handler.RpcHandler((rpc_interface,),
7 document_module=rpc_interface)
/external/autotest/frontend/afe/
Drpc_interface_unittest.py19 from autotest_lib.frontend.afe import rpc_interface
49 self.assertRaises(model_logic.ValidationError, rpc_interface.add_label,
52 self.assertRaises(model_logic.ValidationError, rpc_interface.add_host,
59 rpc_interface. label_add_hosts, id='platform2',
62 rpc_interface.host_add_labels,
65 platforms = rpc_interface.get_labels(
77 hosts = rpc_interface.get_hosts()
80 hosts = rpc_interface.get_hosts(hostname='host1')
90 hosts = rpc_interface.get_hosts(
98 hosts = rpc_interface.get_hosts(hostname__in=['host1', 'host2'],
[all …]
Ddirect_afe.py8 from autotest_lib.frontend.afe import rpc_interface
17 func = rpc_interface.__getattribute__(call)
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)
Drpc_interface.py58 from autotest_lib.frontend.tko import rpc_interface as tko_rpc_interface
/external/autotest/site_utils/
Ddiagnosis_utils.py216 def __init__(self, rpc_interface): argument
221 self.rpc_interface = rpc_interface
239 self.rpc_interface,
304 hosts = self.rpc_interface.get_hosts(
349 incomplete_jobs = self.rpc_interface.get_jobs(
/external/autotest/server/
Dsite_utils_unittest.py9 from autotest_lib.frontend.afe import rpc_interface
45 (build, rpc_interface.canonicalize_suite_name(suite)))