This commit adds the command "subcloud deploy resume" to
dcmanager client.
Usage:
dcmanager subcloud deploy resume
<subcloud-name-or-id>
--sysadmin-password <password>
[--install-values <install-values.yaml>]
[--bmc-password <password>]
[--bootstrap-address <subcloud-bootstrap-address>]
[--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-address, --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/+/886104
Story: 2010756
Task: 48317
Change-Id: I8a984626007b43e685f326dd4dd05294cd50fcce
Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>