This commit adds a new CLI command to reinstall a subcloud with its
previous install configurations. The reinstall process will reuse
the previous install values and use the same software version as the
system controller.
CLI format:
dcmanager subcloud reinstall <id/name>
Users are required to type "reinstall" to start the reinstall, any
other input will abort the reinstall operation. After the reinstall
and bootstrap tasks complete a subcloud reconfigure command with
deploy_config file is expected to deploy the subcloud and make it
online.
Tests see in https://review.opendev.org/#/c/746615/.
Change-Id: Iecc439ae23cc0f018bcc3d1eebcbf1d0a8b29d45
Story: 2007267
Task: 40731
Depends-On: https://review.opendev.org/#/c/746615/
Signed-off-by: Yuxing Jiang <yuxing.jiang@windriver.com>