From 7976ac745aa83ac664f2628fb9fe7bbec0c07100 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Mon, 24 Feb 2020 07:50:05 -0700 Subject: [PATCH] mgr/orchestrator: rearrange interface to match impl. order rgw impl. happens before rbd impl Signed-off-by: Michael Fritch --- src/pybind/mgr/orchestrator/_interface.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pybind/mgr/orchestrator/_interface.py b/src/pybind/mgr/orchestrator/_interface.py index 6077fcdb7b3..4cf48c30857 100644 --- a/src/pybind/mgr/orchestrator/_interface.py +++ b/src/pybind/mgr/orchestrator/_interface.py @@ -1012,6 +1012,16 @@ class Orchestrator(object): """Update MDS cluster""" raise NotImplementedError() + def add_rgw(self, spec): + # type: (RGWSpec) -> Completion + """Create RGW daemon(s)""" + raise NotImplementedError() + + def apply_rgw(self, spec): + # type: (RGWSpec) -> Completion + """Update RGW cluster""" + raise NotImplementedError() + def add_rbd_mirror(self, spec): # type: (ServiceSpec) -> Completion """Create rbd-mirror daemon(s)""" @@ -1032,16 +1042,6 @@ class Orchestrator(object): """Update NFS cluster""" raise NotImplementedError() - def add_rgw(self, spec): - # type: (RGWSpec) -> Completion - """Create RGW daemon(s)""" - raise NotImplementedError() - - def apply_rgw(self, spec): - # type: (RGWSpec) -> Completion - """Update RGW cluster""" - raise NotImplementedError() - def add_prometheus(self, spec): # type: (ServiceSpec) -> Completion """Create new prometheus daemon""" -- 2.39.5