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.
Updating SPG
Test plan:
Pre-Steps: 1. Create the system peer group 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, renaming, bootstrap
address, bootstrap values or install values.
4. Updating SPG fields: max_subcloud_rehoming, group_state
PASS: Verify that informative message is not printed when running any
operation on the sublcoud which does not belong to a SPG.
PASS: Verify that informative message is printed when updating these
fields of a subcloud in SPG: location, description and group.
Closes-Bug: 2054124
Change-Id: I1614a719190b2645eb8139b158b0bab257d0f91d
Signed-off-by: lzhu1 <li.zhu@windriver.com>