Add a minor enhancement to GEO-redundancy. Output an informative message
after running below out-of-sync operations, informing the operator that
a sync command should be executed.
Adding subcloud(s) to the SPG.
Removing subcloud(s) from the SPG.
Updating subcloud(s) in the SPG.
Test plan:
Pre-Steps: 1. Create the system peer from Site A to Site B
2. Create System peer from Site B to Site A
3. Create the subcloud peer group in the Site A
4. Add subcloud(s) to the peer group
5. Create peer group association to associate system peer
and subcloud peer group - Site A
6. Check current sync status on Sites A and B. Verify
they are 'in-sync'.
PASS: Verify that the corresponding informative message is printed out
after running below out-of-sync operations:
1. Adding subcloud to the SPG.
2. Removing subcloud from the SPG.
3. Updating subcloud in the SPG, for example, bootstrap address,
bootstrap values or install values.
PASS: Verify that informative message is not printed when running any
operation on the sublcoud which does not belong to an SPG.
Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/909277
Closes-Bug: 2054124
Change-Id: I1614a719190b2645eb8139b158b0bab257d0f91d
Signed-off-by: lzhu1 <li.zhu@windriver.com>