Hugo Brito 6a5e0eace8 Adapt Load/Patch/Software audits for subcloud releases
This commit updates the code to properly handle load, patch, and
software audits across various subcloud releases. As we transition
to ongoing and future releases, support for load and patch audits
is being deprecated in favor of the software audit, which will
manage both major and patch releases. However, backward compatibility
is maintained for earlier releases that still require the original
load and patch audits. Additionally, special handling is implemented
for scenarios where a USM-enabler patch is applied to a subcloud.

Test Plan:
PASS: Verify correct handling of audits behavior.

| Controller | Subcloud | load      | patching    | software    |
|------------|----------|-----------|-------------|-------------|
| n          | n-1      | not-avail | out-of-sync | not-avail   |
| n          | n-1 USM  | not-avail | not-avail   | out-of-sync |
| n          | n        | not-avail | not-avail   | in-sync     |

Note:
1. n = actual release
2. n-1 = previous release

Story: 2010676
Task: 50610

Change-Id: I85329ee60851423bfc1dd73790d73c40b1828bd6
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
2024-08-16 15:25:52 +00:00
..