]> git-server-git.apps.pok.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)
committerMichael Fritch <mfritch@suse.com>
Wed, 25 Mar 2020 22:26:12 +0000 (16:26 -0600)
rgw impl. happens before rbd impl

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/orchestrator/_interface.py

index 6077fcdb7b354fb7ceb0c277d6ee77f8aebf3fe8..4cf48c30857e5960ffec03f6bf5c409761054fae 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"""