rlima 91c9d301d8 Fix issues introduced by pylint/pep8 for dcmanager
This commit fixes some regressions caused by the merge with
master in the original commit.
1 - Small formatting changes to be more consistent with
    existing code;
2 - Removal of require_audit_flag that was mistakenly
    reintroduced during a rebase;
3 - Repositioning of eventlet.monkey_patch() so it
    happens before the other imports;
4 - Fix the admin IP conditional so it matches previous
    behavior;
5 - Change the determine_image_fields conditional so it
    matches previous behavior.

Related commit:
 https://review.opendev.org/c/starlingx/distcloud/+/893000

Test Plan:
1. Perform `tox` command
- Pass in py39, pylint, pep8:

Closes-bug: 2033294

Change-Id: Icea2a80e2e4eed79f37bf49878e6fdea0db13a56
Signed-off-by: rlima <Raphael.Lima@windriver.com>
2024-01-19 11:29:25 -03:00
..
2024-01-18 21:51:25 +00:00
2024-01-18 21:51:25 +00:00
2024-01-18 21:51:25 +00:00
2024-01-18 21:51:25 +00:00

cmd

Scripts to start the DC Manager API and Manager services

api.py:

start API service python api.py --config-file=/etc/dcmanager.conf

manager.py:

start Manager service python manager.py --config-file=/etc/dcmanager.conf

audit.py:

start Audit service python audit.py --config-file=/etc/dcmanager.conf

orchestrator.py:

start Orchestrator service python orchestrator.py --config-file=/etc/dcmanager.conf

manage.py:

CLI interface for dcmanager database management dcmanager-manage --config-file /etc/dcmanager.conf db_sync dcmanager-manage --config-file /etc/dcmanager.conf db_version