From d8c6804bb98758f1a3a4e360ddf4385cf36c6adb Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Wed, 13 Feb 2019 08:16:31 -0500 Subject: [PATCH] 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 --- src/pybind/mgr/orchestrator.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/pybind/mgr/orchestrator.py b/src/pybind/mgr/orchestrator.py index 54cee9a373e..4eb799c1ac3 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() -- 2.47.3