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

Method list_pools

qa/tasks/ceph_manager.py:2044–2050  ·  view source on GitHub ↗

list all pool names

(self)

Source from the content-addressed store, hash-verified

2042 return int(self.get_pool_dump(pool)['pool'])
2043
2044 def list_pools(self):
2045 """
2046 list all pool names
2047 """
2048 osd_dump = self.get_osd_dump_json()
2049 self.log(osd_dump['pools'])
2050 return [str(i['pool_name']) for i in osd_dump['pools']]
2051
2052 def clear_pools(self):
2053 """

Callers 9

__init__Method · 0.95
clear_poolsMethod · 0.95
pool_existsMethod · 0.95
test_full_healthMethod · 0.45
test_pool_listMethod · 0.45
test_pool_list_attrsMethod · 0.45
test_pool_list_statsMethod · 0.45
test_pool_getMethod · 0.45

Calls 2

get_osd_dump_jsonMethod · 0.95
logMethod · 0.45

Tested by 6

test_full_healthMethod · 0.36
test_pool_listMethod · 0.36
test_pool_list_attrsMethod · 0.36
test_pool_list_statsMethod · 0.36
test_pool_getMethod · 0.36