Пример #1
0
 def set_ceph_conf(self, subsys, key, value):
     if subsys not in self._ctx.ceph['ceph'].conf:
         self._ctx.ceph['ceph'].conf[subsys] = {}
     self._ctx.ceph['ceph'].conf[subsys][key] = value
     write_conf(
         self._ctx
     )  # XXX because we don't have the ceph task's config object, if they
Пример #2
0
 def clear_ceph_conf(self, subsys, key):
     del self._ctx.ceph['ceph'].conf[subsys][key]
     write_conf(self._ctx)
Пример #3
0
 def set_ceph_conf(self, subsys, key, value):
     if subsys not in self._ctx.ceph['ceph'].conf:
         self._ctx.ceph['ceph'].conf[subsys] = {}
     self._ctx.ceph['ceph'].conf[subsys][key] = value
     write_conf(self._ctx)  # XXX because we don't have the ceph task's config object, if they