338ceaca81
This commit deprecates the dcmanager subcloud reinstall and reconfig in favor of the new 'dcmanager subcloud redeploy' and 'dcmanager subcloud deploy config' commands, respectively. This commit also removes unused constants, add missing deploy states to the subcloud audit function and to the subcloud restore invalid state list, and fixes the api-ref method for the deploy install and resume commands. Test Plan: 1. PASS - Call the reinstall API endpoint and verify that it returns the 410 status code with the deprecation notice instructing the use of the /v1.0/subclouds/{subcloud}/redeploy URL; 2. PASS - Call the reconfigure API endpoint and verify that it returns the 410 status code with the deprecation notice instructing the use of the /v1.0/phased-subcloud-deploy/{subcloud}/configure URL. 3. PASS - Change the subcloud deploy state to the new states added to the INVALID_DEPLOY_STATES_FOR_RESTORE, call the subcloud backup restore and verify that the operation is not allowed; 4. PASS - Change the subcloud deploy state to the new states added to the audit function and verify that the audit is not skipped. Story: 2010756 Task: 48572 Change-Id: I9a502a89ec1c6eb23f286a80c7bf39fcbed0b2c4 Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com> |
||
---|---|---|
.. | ||
v1 | ||
__init__.py | ||
test_root_controller.py |