This commit adds the command "subcloud redeploy" to
dcmanager client.
Usage:
dcmanager subcloud redeploy
<subcloud-name-or-id>
--sysadmin-password <password>
[--install-values <install-values.yaml>]
[--bmc-password <password>]
[--bootstrap-values <bootstrap-values.yaml>]
[--deploy-config <deployment-config.yaml>]
[--release <release>]
Test Plan:
- PASS: Verify the command works with or without --install-values,
--bmc-password, --bootstrap-values, --deploy-config
and --release.
- PASS: Verify that all provided parameters are successfully passed
to the backend.
- PASS: Verify that the CLI asks for the sysadmin-password and
bmc-password if they are not provided in the command
(bmc-password is only prompt if --install-values
is also provided).
- PASS: Verify that the dcmanager help subcloud deploy resume
shows the correct help message containing all options.
Depends-on: https://review.opendev.org/c/starlingx/distcloud/+/889975
Story: 2010756
Task: 48497
Change-Id: I16857f6779205c4dfcc6d255e0aabdd83496f4c7
Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>