The osd dump command displays pool types using numerics instead of
symbolic names. Create constants in the CephManager class to use instead
of numbers.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Ceph manager object.
Contains several local functions that form a bulk of this module.
"""
+
+ REPLICATED_POOL = 1
+ ERASURE_CODED_POOL = 3
+
def __init__(self, controller, ctx=None, config=None, logger=None):
self.lock = threading.RLock()
self.ctx = ctx