]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: implement apply_mon
authorSage Weil <sage@redhat.com>
Fri, 6 Mar 2020 20:57:35 +0000 (14:57 -0600)
committerSage Weil <sage@redhat.com>
Sat, 7 Mar 2020 17:22:55 +0000 (11:22 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py

index daf1c04783cefbdc8b7dc0d66b533b8dab052f1f..5a2ca3a7aca03b95abd8ec0a507eab4083d7a5f8 100644 (file)
@@ -2352,6 +2352,9 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
 
         return create_func_map(args)
 
+    def apply_mon(self, spec):
+        return self._apply(spec)
+
     def _create_mon(self, name, host, network):
         """
         Create a new monitor on the given host.