]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator: rearrange interface to match impl. order
authorMichael Fritch <mfritch@suse.com>
Mon, 24 Feb 2020 14:50:05 +0000 (07:50 -0700)
committerSage Weil <sage@redhat.com>
Thu, 26 Mar 2020 01:55:48 +0000 (20:55 -0500)
rgw impl. happens before rbd impl

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 7976ac745aa83ac664f2628fb9fe7bbec0c07100)

src/pybind/mgr/orchestrator/_interface.py

index d72d8af97eb7bffacd39190434fcbe6a7426f0e7..329f0a1bc1cdc423365d0f00c49a040f1012f41f 100644 (file)
@@ -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"""