distcloud/distributedcloud/dcorch/engine
Hugo Brito 3685223b28 Update tox pylint/pep8 for dcorch
This commit enables the check of new pylint/pep8
violations.

PYLINT - All convention related checks, except:
- missing-class-docstring
- missing-function-docstring
- missing-module-docstring
- consider-using-f-string
- invalid-name
- import-outside-toplevel
- too-many-lines
- consider-iterating-dictionary
- unnecessary-lambda-assignment

PEP8:
- E117: over-indented
- E123: closing bracket does not match indentation
  of opening bracket's line
- E125: continuation line with the same indent as the next
  logical line
- E305: expected 2 blank lines after class or function
  definition
- E402: module level import not at top of file
- E501: line too long
- H216: flag use of third party mock

Test Plan:
1. Verify that all Tox tests pass without errors:
- tox -e py39,pylint,pep8

Partial-bug: 2033294

Change-Id: I834d15ae1df6b2b449502dcb0bcf0c359a99514f
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
2024-01-18 10:48:08 -03:00
..
sync_services Update tox pylint/pep8 for dcorch 2024-01-18 10:48:08 -03:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
dc_orch_lock.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
fernet_key_manager.py Update tox pylint/pep8 for dcorch 2024-01-18 10:48:08 -03:00
generic_sync_manager.py Update tox pylint/pep8 for dcorch 2024-01-18 10:48:08 -03:00
initial_sync_manager.py Enable multiple dcorch-engine worker processes 2020-12-17 17:27:46 -05:00
quota_manager.py Update tox pylint/pep8 for dcorch 2024-01-18 10:48:08 -03:00
README.rst Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
scheduler.py Fix subcloud manage/unmanage issues caused by identity sync 2020-02-18 07:23:08 -06:00
service.py Update tox pylint/pep8 for dcorch 2024-01-18 10:48:08 -03:00
subcloud_lock.py Enable multiple dcorch-engine worker processes 2020-12-17 17:27:46 -05:00
sync_thread.py Update tox pylint/pep8 for dcorch 2024-01-18 10:48:08 -03:00

Service

Distributed Cloud Orchestration Engine Service has responsibility for:

Monitoring the subcloud status, and return the result if needed.

There is a single engine, with each subcloud having one persistent sync thread per endpoint-type. Sync audit threads will be created on demand as needed.

service.py:

run orchengine service, and establish RPC server

generic_sync_manager.py

Manages all the generic resource syncing.