1a569cd926
This commit introduces the enroll command endpoint. Test Plan: PASS: Deploy a system controller and run subcloud add enroll without bootstrap-values. Verify that the API returns an error. PASS: Deploy a system controller and run subcloud add enroll passing all required parameters. Verify in dcmanager log that the API returned a success code. Change-Id: I525d26166dbb7d7afcb26b96191b5045eee7b52d Signed-off-by: Gustavo Pereira <gustavo.lyrapereira@windriver.com> |
||
---|---|---|
.. | ||
__init__.py | ||
peer_group_audit_manager.py | ||
peer_monitor_manager.py | ||
README.rst | ||
service.py | ||
subcloud_manager.py | ||
system_peer_manager.py |
Service
- DC Manager Service has responsibility for:
-
Main subcloud state machine as well as all operations on subclouds including creation, deletion and update.
- service.py:
-
run DC Manager service in multi-worker mode, and establish RPC server
- subcloud_manager.py:
-
Manages all subcloud related activities such as creation, deletion, availability status, management state
- audit_manager.py:
-
A Periodic audit to contact each subcloud and ensure that at least one of each service group is up and active, which is a pre-requisite for declaring a subcloud as online.
- scheduler.py:
-
Thread group manager, also responsible for periodic timer tasks - ie. audit.