distcloud-client/distributedcloud-client/dcmanagerclient/api/v1
twang4 a8b8077983 Add subcloud secondary status support and migration
Add "subcloud migrate" to rehome a 'secondary' state
subcloud.

Update "dcmanager subcloud add --secondary" command

Update "dcmanager subcloud update --bootstrap-address
--bootstrap-values"
to save data for day-2's rehome/migrate purpose.

Update "dcmanager list subcloud --all" include show
'secondary/secondary-failed' subclouds

Update result of "subcloud show",
add rehome_data section.

Usage:
dcmanager subcloud add --secondary
--bootstrap-address IP
--bootstrap-values [yaml file]

dcmanager subcloud update SUBCLOUD
--bootstrap-address IP
--bootstrap-values [yaml file]

dcmanager subcloud list --all

dcmanager subcloud show SUBCLOUD

dcmanager subcloud migrate SUBCLOUD
--sysadmin-password PASSWORD

Test Plan:
1. PASS - Verify that the dcmanager help subcloud migrate shows
          the correct help message;
2. PASS - Run 'dcmanager subcloud add --secondary' and verify that the
          correct API call is made;
3. PASS - Run 'dcmanager subcloud update --bootstrap-address
          --bootstrap-values' and verify that the
          correct API call is made;

4. PASS - Run 'dcmanager subcloud migrate' and verify that the
          correct API call is made;
5. PASS - Verify that the subcloud name/id parameter is required.

Story: 2010852
Task: 48489
Task: 48504
Depends-On: I9a308a4e2cc5057091ba195c4d05e9d1eb4a950c
Change-Id: Idd10267370dd2cd562c6eacc0d24c47cf68e9fd5
Signed-off-by: Wang Tao <tao.wang@windriver.com>
2023-08-23 12:56:35 +00:00
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
alarm_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
client.py Add 'subcloud deploy create' command to dcmanager 2023-06-16 18:47:06 -03:00
fw_update_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
kube_rootca_update_manager.py dcmanager kube-root-ca-update-strategy extra args 2021-09-29 10:15:51 -05:00
kube_upgrade_manager.py Adding 'force' support and 'to-version' for kube-upgrade 2021-12-24 08:37:18 -06:00
phased_subcloud_deploy_manager.py Add 'subcloud deploy complete' command to dcmanager 2023-07-28 09:29:30 -03:00
strategy_step_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
subcloud_backup_manager.py Use multipart headers on subcloud-backup API calls 2022-12-14 18:13:50 -03:00
subcloud_deploy_manager.py Add release optionality to subcloud-deploy upload/show 2023-03-23 20:34:30 -04:00
subcloud_group_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
subcloud_manager.py Add subcloud secondary status support and migration 2023-08-23 12:56:35 +00:00
sw_patch_manager.py Add the --upload-only option to dcmanager patch-strategy CLI 2023-03-02 14:52:25 -03:00
sw_prestage_manager.py Add release optionality to subcloud prestage 2023-05-17 21:01:53 +00:00
sw_strategy_manager.py Make sw_strategy_manager return extra_args without filtering it 2023-03-07 11:24:54 -03:00
sw_update_manager.py Add the --upload-only option to dcmanager patch-strategy CLI 2023-03-02 14:52:25 -03:00
sw_update_options_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
sw_upgrade_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00