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

Method get_pool_dump

qa/tasks/ceph_manager.py:2095–2103  ·  view source on GitHub ↗

get the osd dump part of a pool

(self, pool)

Source from the content-addressed store, hash-verified

2093 time.sleep(5)
2094
2095 def get_pool_dump(self, pool):
2096 """
2097 get the osd dump part of a pool
2098 """
2099 osd_dump = self.get_osd_dump_json()
2100 for i in osd_dump['pools']:
2101 if i['pool_name'] == pool:
2102 return i
2103 assert False
2104
2105 def get_config(self, service_type, service_id, name):
2106 """

Callers 3

get_pool_numMethod · 0.95
test_objectstoreFunction · 0.80

Calls 1

get_osd_dump_jsonMethod · 0.95

Tested by 1

test_objectstoreFunction · 0.64