]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator: remove add_mon and remove_mon methods
authorJeff Layton <jlayton@redhat.com>
Wed, 13 Feb 2019 13:16:31 +0000 (08:16 -0500)
committerJeff Layton <jlayton@redhat.com>
Wed, 13 Feb 2019 14:10:42 +0000 (09:10 -0500)
We have update_mons already and the CLI is wired up to use that. Nothing
implements these other methods, so just remove them.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/pybind/mgr/orchestrator.py

index 54cee9a373e033240a8d1ca86be670585d9d4498..4eb799c1ac3a1a3e8f667d8c8ab83e2324dd8990 100644 (file)
@@ -347,24 +347,6 @@ class Orchestrator(object):
         """
         raise NotImplementedError()
 
-    def add_mon(self, node_name):
-        # type: (str) -> WriteCompletion
-        """
-        We operate on a node rather than a particular device: it is
-        assumed/expected that proper SSD storage is already available
-        and accessible in /var.
-
-        :param node_name:
-        """
-        raise NotImplementedError()
-
-    def remove_mon(self, node_name):
-        # type: (str) -> WriteCompletion
-        """
-        :param node_name: Remove MON from that host.
-        """
-        raise NotImplementedError()
-
     def upgrade_start(self, upgrade_spec):
         # type: (UpgradeSpec) -> WriteCompletion
         raise NotImplementedError()