]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator_cli: document orchestrator option
authorSage Weil <sage@redhat.com>
Tue, 5 Nov 2019 19:54:25 +0000 (13:54 -0600)
committerSage Weil <sage@redhat.com>
Thu, 5 Dec 2019 16:08:49 +0000 (10:08 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/orchestrator_cli/module.py

index d3c5839a90b1fd2d107b95c6d958019d4486a5e0..057dea6bfa54a77ab18818a5a366b518dc774881 100644 (file)
@@ -22,8 +22,16 @@ import orchestrator
 
 class OrchestratorCli(orchestrator.OrchestratorClientMixin, MgrModule):
     MODULE_OPTIONS = [
-        {'name': 'orchestrator'}
+        {
+            'name': 'orchestrator',
+            'default': None,
+            'desc': 'Orchestrator backend',
+            'enum_allowed': ['ssh', 'rook', 'ansible', 'deepsea',
+                             'test_orchestrator'],
+            'runtime': True,
+        },
     ]
+    NATIVE_OPTIONS = []
 
     def __init__(self, *args, **kwargs):
         super(OrchestratorCli, self).__init__(*args, **kwargs)