update/software/software
Luis Eduardo Bonatti 9c990c4d5e Create message class to sync deploy state between controllers
This commit creates classes to handle the communication and sync
of deploy state between controllers and also add a operation
counter of deploy states.

This commit also synced with peer controller when deploy starts.

Test Plan:

PASS: Software.json of peer controller updated on deploy start.
PASS: Software.json of synced folder on peer controller matches
active controller on deploy start.
PASS: Software.json of peer controller updated with deploy state
change.
PASS: deploy state synced to peer in DX system when software deploy
start succeed.

Depends-on: https://review.opendev.org/c/starlingx/update/+/904362

Story: 2010676
Task: 49325

Change-Id: Id69b15e38402b5314657de963f5b69f164e2c351
Signed-off-by: Luis Eduardo Bonatti <LuizEduardo.Bonatti@windriver.com>
2024-02-16 15:51:49 +00:00
..
api Create message class to sync deploy state between controllers 2024-02-16 15:51:49 +00:00
authapi Unified error handling 2024-02-06 20:13:19 +00:00
db Software deploy host list implementation 2023-12-05 20:43:05 -03:00
templates USM State Machine 2023-06-29 17:53:39 +00:00
tests Merge "Create release_data wrapper classes" 2024-02-16 15:14:07 +00:00
utilities data migration worker 2023-12-20 17:15:57 +00:00
__init__.py Package the pecan templates with the code 2023-07-17 15:33:45 +00:00
apt_utils.py Fix pep8 errors 2024-01-23 20:22:42 +00:00
base.py Update unit tests for new software component 2023-05-01 21:09:15 +00:00
certificates.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
config.py Use "apt-ostree" to manage software deploy start 2024-01-10 21:23:24 +00:00
constants.py Create message class to sync deploy state between controllers 2024-02-16 15:51:49 +00:00
exceptions.py Create release_data wrapper classes 2024-02-14 18:35:35 +00:00
messages.py Create message class to sync deploy state between controllers 2024-02-16 15:51:49 +00:00
ostree_utils.py Add retry logic for mount 2023-11-29 21:09:06 +00:00
release_data.py Create release_data wrapper classes 2024-02-14 18:35:35 +00:00
release_signing.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
release_verify.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
software_agent.py Create message class to sync deploy state between controllers 2024-02-16 15:51:49 +00:00
software_controller.py Create message class to sync deploy state between controllers 2024-02-16 15:51:49 +00:00
software_entities.py Ensure all tox is passing 2023-12-14 14:50:09 +00:00
software_functions.py Merge "Create release_data wrapper classes" 2024-02-16 15:14:07 +00:00
software_worker.py Create wrapper to run commands and log structured output 2023-11-24 16:26:07 -03:00
sysinv_utils.py Implement USM software deploy start for upgrade 2023-12-27 16:07:53 -03:00
utils.py Create message class to sync deploy state between controllers 2024-02-16 15:51:49 +00:00