a8b8077983
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> |
||
---|---|---|
.. | ||
v1 | ||
__init__.py | ||
base.py | ||
client.py | ||
httpclient.py |