Hi, ceph developments:
Could we add one more function in rados.py to list the pool?
I had already implemented the function. Thanks a lot!
class Rados(object):
def list(self):
size = c_size_t(512)
while True:
c_names = create_string_buffer(size.value)
ret = self.librados.rados_pool_list(self.cluster,
byref(c_names), size)
if ret > size.value:
size = ret
else:
break
return filter(lambda name: name != '', c_names.raw.split('\0'))
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html