]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: add entrypoints for the exporter
authorPaul Cuzner <pcuzner@redhat.com>
Thu, 12 Nov 2020 02:24:31 +0000 (15:24 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Thu, 12 Nov 2020 02:24:31 +0000 (15:24 +1300)
Add dummy entry points for the cephadm-exporter and
fix some errnoneous method docstrings

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/orchestrator/_interface.py

index 117d3d0b3d6d07ea2db164ff8486e43dc52469b0..9f0f5651abb1867f7d707555b727af895c1e31df 100644 (file)
@@ -1092,11 +1092,11 @@ class Orchestrator(object):
         raise NotImplementedError()
 
     def add_grafana(self, spec: ServiceSpec) -> Completion[List[str]]:
-        """Create a new Node-Exporter service"""
+        """Create a new grafana service"""
         raise NotImplementedError()
 
     def apply_grafana(self, spec: ServiceSpec) -> Completion[str]:
-        """Update existing a Node-Exporter daemon(s)"""
+        """Update existing a grafana service"""
         raise NotImplementedError()
 
     def add_alertmanager(self, spec: ServiceSpec) -> Completion[List[str]]:
@@ -1107,6 +1107,14 @@ class Orchestrator(object):
         """Update an existing AlertManager daemon(s)"""
         raise NotImplementedError()
 
+    def add_cephadm_exporter(self, spec: ServiceSpec) -> Completion[List[str]]:
+        """Create a new cephadm exporter daemon"""
+        raise NotImplementedError()
+
+    def apply_cephadm_exporter(self, spec: ServiceSpec) -> Completion[str]:
+        """Update an existing cephadm exporter daemon"""
+        raise NotImplementedError()
+
     def upgrade_check(self, image: Optional[str], version: Optional[str]) -> Completion[str]:
         raise NotImplementedError()