summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/orchestrator/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/orchestrator/__init__.py')
-rw-r--r--src/pybind/mgr/orchestrator/__init__.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/pybind/mgr/orchestrator/__init__.py b/src/pybind/mgr/orchestrator/__init__.py
new file mode 100644
index 000000000..c901284d3
--- /dev/null
+++ b/src/pybind/mgr/orchestrator/__init__.py
@@ -0,0 +1,20 @@
+# flake8: noqa
+
+from .module import OrchestratorCli
+
+# usage: E.g. `from orchestrator import StatelessServiceSpec`
+from ._interface import \
+ OrchResult, raise_if_exception, handle_orch_error, \
+ CLICommand, _cli_write_command, _cli_read_command, CLICommandMeta, \
+ Orchestrator, OrchestratorClientMixin, \
+ OrchestratorValidationError, OrchestratorError, NoOrchestrator, \
+ ServiceDescription, InventoryFilter, HostSpec, \
+ DaemonDescription, DaemonDescriptionStatus, \
+ OrchestratorEvent, set_exception_subject, \
+ InventoryHost, DeviceLightLoc, \
+ UpgradeStatusSpec, daemon_type_to_service, service_to_daemon_types, KNOWN_DAEMON_TYPES
+
+
+import os
+if 'UNITTEST' in os.environ:
+ import tests