MCPcopy Create free account
hub / github.com/ceph/ceph / get_config

Method get_config

qa/tasks/ceph_manager.py:2105–2113  ·  view source on GitHub ↗

:param node: like 'mon.a' :param name: the option name

(self, service_type, service_id, name)

Source from the content-addressed store, hash-verified

2103 assert False
2104
2105 def get_config(self, service_type, service_id, name):
2106 """
2107 :param node: like 'mon.a'
2108 :param name: the option name
2109 """
2110 proc = self.wait_run_admin_socket(service_type, service_id,
2111 ['config', 'show'])
2112 j = json.loads(proc.stdout.getvalue())
2113 return j[name]
2114
2115 def inject_args(self, service_type, service_id, name, value):
2116 whom = '{0}.{1}'.format(service_type, service_id)

Callers 5

__init__Method · 0.45
setUpMethod · 0.45
tweaked_optionFunction · 0.45
taskFunction · 0.45
__init__Method · 0.45

Calls 1

wait_run_admin_socketMethod · 0.95

Tested by 1

setUpMethod · 0.36