diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/pybind/mgr/orchestrator/__init__.py | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/pybind/mgr/orchestrator/__init__.py')
-rw-r--r-- | src/pybind/mgr/orchestrator/__init__.py | 20 |
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 |