Li Zhu d205e1b40f Synchronize subcloud software version after manual upgrade
When the subclouds are manually upgraded by directly calling VIM APIs,
the dcmanager and dcorch databases on the system controller wouldn’t
automatically detect and update the software version. This task aims to
update the software version in the dcmanager and dcorch databases
if the software audit finds a different version on the subcloud.
Additionally, the software and Kubernetes audit intervals are changed
to 40 seconds to align with the interval of periodic subcloud audit.

Test Plan:
PASS: Verify that software and kubernetes audits run every 40 seconds.
PASS: Confirm that the subcloud software version is updated in both
      the dcmanager and dcorch databases following a manual upgrade and
      that the software audit status changes from out-of-sync to
      in-sync.

Story: 2010651
Task: 51334

Change-Id: Ib4657400362c59757b9946ce79304206bc548c9b
Signed-off-by: lzhu1 <li.zhu@windriver.com>
2024-11-18 15:36:22 -05:00
..
2024-07-30 16:29:39 -03:00
2024-07-30 16:29:39 -03:00
2024-07-30 16:29:39 -03:00
2024-07-30 16:29:39 -03:00
2024-07-30 16:29:39 -03: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