]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | # This is an interface definition of classes that are generated within C++. |
2 | # Used by mypy to do proper type checking of mgr modules. | |
3 | # Without this file, all classes have undefined base classes. | |
4 | ||
5 | class BasePyOSDMap(object): | |
6 | def _get_epoch(self): ... | |
7 | def _get_crush_version(self): ... | |
8 | def _dump(self):... | |
9 | def _new_incremental(self):... | |
10 | def _apply_incremental(self, inc:int):... | |
11 | def _get_crush(self):... | |
12 | def _get_pools_by_take(self, take):... | |
13 | def _calc_pg_upmaps(self, inc, max_deviation, max_iterations, pool):... | |
14 | def _map_pool_pgs_up(self, poolid):... | |
15 | def _pg_to_up_acting_osds(self, pool_id, ps):... | |
16 | def _pool_raw_used_rate(self, pool_id):... | |
17 | ||
18 | class BasePyOSDMapIncremental(object): | |
19 | def _get_epoch(self):... | |
20 | def _dump(self):... | |
21 | def _set_osd_reweights(self, weightmap):... | |
22 | def _set_crush_compat_weight_set_weights(self, weightmap):... | |
23 | ||
24 | class BasePyCRUSH(object): | |
25 | def _dump(self):... | |
26 | def _get_item_weight(self, item):... | |
27 | def _get_item_name(self, item):... | |
28 | def _find_takes(self):... | |
29 | def _get_take_weight_osd_map(self, root):... | |
30 | ||
31 | class BaseMgrStandbyModule(object): | |
32 | def __init__(self, capsule): pass | |
33 | def _ceph_get_mgr_id(self):... | |
34 | def _ceph_get_module_option(self, key, prefix=None):... | |
35 | def _ceph_get_option(self, key):... | |
36 | def _ceph_get_store(self, key):... | |
37 | def _ceph_get_active_uri(self):... | |
38 | ||
39 | class BaseMgrModule(object): | |
40 | def __init__(self, py_modules_ptr, this_ptr): pass | |
41 | def _ceph_get_version(self):... | |
42 | def _ceph_get_release_name(self):... | |
43 | def _ceph_cluster_log(self, channel, priority, message):... | |
44 | def _ceph_get_context(self):... | |
45 | def _ceph_get(self, data_name):... | |
46 | def _ceph_get_server(self, hostname):... | |
47 | def _ceph_get_perf_schema(self, svc_type, svc_name):... | |
48 | def _ceph_get_counter(self, svc_type, svc_name, path):... | |
49 | def _ceph_get_latest_counter(self, svc_type, svc_name, path):... | |
50 | def _ceph_get_metadata(self, svc_type, svc_id):... | |
51 | def _ceph_get_daemon_status(self, svc_type, svc_id):... | |
52 | def _ceph_send_command(self, *args, **kwargs):... | |
53 | def _ceph_set_health_checks(self, checks):... | |
54 | def _ceph_get_mgr_id(self):... | |
55 | def _ceph_get_option(self, key):... | |
56 | def _ceph_get_module_option(self, key, default, localized_prefix=""):... | |
57 | def _ceph_get_store_prefix(self, key_prefix):... | |
58 | def _ceph_set_module_option(self, module, key, val):... | |
59 | def _ceph_set_store(self, key, val):... | |
60 | def _ceph_get_store(self, key):... | |
61 | def _ceph_get_osdmap(self):... | |
62 | def _ceph_set_uri(self, uri):... | |
63 | def _ceph_have_mon_connection(self):... | |
64 | def _ceph_update_progress_event(self, evid, desc, progress):... | |
65 | def _ceph_complete_progress_event(self, evid):... | |
66 | def _ceph_clear_all_progress_events(self):... | |
67 | def _ceph_dispatch_remote(self, module_name, method_name, *args, **kwargs):... | |
68 | def _ceph_add_osd_perf_query(self, query):... | |
69 | def _ceph_remove_osd_perf_query(self, query_id):... | |
70 | def _ceph_get_osd_perf_counters(self, query_id):... | |
71 | def _ceph_unregister_client(self, addrs):... | |
72 | def _ceph_register_client(self, addrs):... | |
73 | def _ceph_is_authorized(self, arguments):... |