Disallow assigning an unmanaged subcloud to peer group
Request to add an unmanaged subcloud will be rejected.
Test plan:
- PASS: Verify that a managed/online/complete/prestage-complete subcloud can be added to the subcloud peer group.
- PASS: Verify that an offline or unmanaged subcloud cannot be
added to the subcloud peer group.
Closes-Bug: 2047066
Signed-off-by: Wang Tao <email address hidden>
Change-Id: Ie339f6645e7c42966af395dfa87a81898b1f0af7
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/903420 /opendev. org/starlingx/ distcloud/ commit/ 717ff7971da4037 e258d8bd3bf3d62 24f82ef5bd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 717ff7971da4037 e258d8bd3bf3d62 24f82ef5bd
Author: twang4 <email address hidden>
Date: Thu Dec 21 09:03:18 2023 +0800
Disallow assigning an unmanaged subcloud to peer group
Request to add an unmanaged subcloud will be rejected.
Test plan: online/ complete/ prestage- complete
subcloud can be added to the subcloud peer group.
- PASS: Verify that a managed/
- PASS: Verify that an offline or unmanaged subcloud cannot be
added to the subcloud peer group.
Closes-Bug: 2047066
Signed-off-by: Wang Tao <email address hidden> 966af395dfa87a8 1898b1f0af7
Change-Id: Ie339f6645e7c42