From: Jeff Layton Date: Wed, 13 Feb 2019 13:16:31 +0000 (-0500) Subject: mgr/orchestrator: remove add_mon and remove_mon methods X-Git-Tag: v14.1.0~64^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d8c6804bb98758f1a3a4e360ddf4385cf36c6adb;p=ceph.git mgr/orchestrator: remove add_mon and remove_mon methods 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 --- diff --git a/src/pybind/mgr/orchestrator.py b/src/pybind/mgr/orchestrator.py index 54cee9a373e0..4eb799c1ac3a 100644 --- a/src/pybind/mgr/orchestrator.py +++ b/src/pybind/mgr/orchestrator.py @@ -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()