distcloud-client/distributedcloud-client/dcmanagerclient/tests/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
mixins.py Add the --upload-only option to dcmanager patch-strategy CLI 2023-03-02 14:52:25 -03:00
test_alarm_manager.py Add coverage test: test_alarm_manager 2021-12-20 17:42:09 +00:00
test_fw_update_strategy.py Add distributed cloud kubernetes upgrade orchestration commands 2021-02-17 17:17:46 -06:00
test_kube_rootca_update_strategy.py Adding dcmanager kube-rootca-update-strategy CLI 2021-09-08 15:58:07 -05:00
test_kube_upgrade_strategy.py Add distributed cloud kubernetes upgrade orchestration commands 2021-02-17 17:17:46 -06:00
test_patch_update_strategy.py Add the --upload-only option to dcmanager patch-strategy CLI 2023-03-02 14:52:25 -03:00
test_phased_subcloud_deploy.py Add subcloud secondary status support and migration 2023-08-23 12:56:35 +00:00
test_step_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
test_subcloud_backup_manager.py Add 'subcloud deploy create' command to dcmanager 2023-06-16 18:47:06 -03:00
test_subcloud_deploy_manager.py Add 'subcloud deploy create' command to dcmanager 2023-06-16 18:47:06 -03:00
test_subcloud_group_manager.py Add subcloud secondary status support and migration 2023-08-23 12:56:35 +00:00
test_subcloud_manager.py Add subcloud secondary status support and migration 2023-08-23 12:56:35 +00:00
test_sw_prestage_manager.py Add release optionality to subcloud prestage 2023-05-17 21:01:53 +00:00
test_sw_update_manager.py Add coverage test: test_sw_update_manager 2021-12-20 19:02:45 +00:00
test_sw_update_options_manager.py Add coverage test: test_alarm_manager 2021-12-20 17:42:09 +00:00
test_sw_upgrade_strategy.py Add distributed cloud kubernetes upgrade orchestration commands 2021-02-17 17:17:46 -06:00
utils.py Add the --upload-only option to dcmanager patch-strategy CLI 2023-03-02 14:52:25 -03:00