From 4c528aeb2dc1713c2f6e11ba5a19a0fe4cf32b4d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 5 Nov 2019 13:54:25 -0600 Subject: [PATCH] mgr/orchestrator_cli: document orchestrator option Signed-off-by: Sage Weil --- src/pybind/mgr/orchestrator_cli/module.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/orchestrator_cli/module.py b/src/pybind/mgr/orchestrator_cli/module.py index d3c5839a90b..057dea6bfa5 100644 --- a/src/pybind/mgr/orchestrator_cli/module.py +++ b/src/pybind/mgr/orchestrator_cli/module.py @@ -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) -- 2.47.3