ceph.ceph_admin.common module

Contains common functions that can used across the module.

ceph.ceph_admin.common.config_dict_to_string(data: Dict) str

Convert the provided data to a string of optional arguments.

Parameters

data (Dict) – Key/value pairs that are CLI optional arguments

Returns

string instead of the a data dict (Str)

ceph.ceph_admin.common.fetch_method(obj, method)

Fetch object attributes by name

Parameters
  • obj (CephAdmin) – class object

  • method (Str) – name of the method

Returns

function (Func)