distcloud/distributedcloud/dcmanager/api/controllers/v1
Jessica Castelino 4fd65e9913 CLI command to deploy a subcloud
If deployment failed, the user has no option than to delete and
re-add it. If the user was re-adding the subcloud without
re-installing, it would further result in a bootstrap failure.
Thus, to simplify things, a new CLI command is provided to allow
re-deployment. Furthermore, if the user still chooses to delete
the subcloud and re-add it without a re-install, a better error
message is provided asking them to re-install the host.

CLI:
dcmanager subcloud reconfig <id/name> --deploy-config <file>

Test Cases:
1) Successfully add a subcloud with or without deployment option
2) Fail to re-add a subcloud without re-installation after a failed
   deployment
3) Re-deploy with new CLI command after successful and unsuccessful deployment
4) Re-deploy with new CLI command before and after the subcloud is unlocked
5) Test new CLI command by passing wrong parameters

Change-Id: I9fe7e3791e3887160668281048c3c12a7f40c2af
Partial-Bug: 1864756
Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
2020-06-10 13:05:27 -04:00
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
alarm_manager.py Remove dcorch-snmp and move alarm audit to dcmanager 2020-04-07 20:27:30 -04:00
root.py Upgrade strategy support 2020-05-07 13:41:46 -05:00
subcloud_deploy.py Support subcloud deploy upload the common files 2020-04-21 09:09:38 -04:00
subcloud_group.py Adding DistributedCloud subcloud group feature 2020-04-14 06:21:06 -05:00
subclouds.py CLI command to deploy a subcloud 2020-06-10 13:05:27 -04:00
sw_update_options.py Keystone token and resource caching 2020-03-23 21:31:04 -04:00
sw_update_strategy.py Upgrade strategy support 2020-05-07 13:41:46 -05:00