distcloud/distributedcloud/dcmanager/api/controllers/v1
Christopher Souza 42d7851bcc Set the correct deploy_status value in subcloud restore response
In this commit, the deploy_status value is set to pre-restore in
the subcloud-backup restore response as opposed to the last
deploy_status value saved in the database.

Test Case:
PASS: run subcloud-backup restore command for a group of subclouds
and verify that deploy_status value is pre-restore in
the command output.
PASS: run subcloud-backup for a group of subclouds that have
deploy_status restore failed and verify that deploy_status value
is pre-restore in the command output.
PASS: run subcloud-backup restore command for a single subcloud
and verify that deploy_status value is pre-restore in
the command output.

Closes-Bug: 2023216

Signed-off-by: Christopher Souza <Christopher.DeOliveiraSouza@windriver.com>
Change-Id: Ic1d113dcb855e80e8e8473fb1f6deeca079bef25
2023-06-19 14:44:29 -03:00
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
alarm_manager.py Implement access control for DC API 2022-09-22 18:26:35 -03:00
notifications.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
root.py Add subcloud backup create operation to dcmanager 2022-09-12 11:45:19 -03:00
subcloud_backup.py Set the correct deploy_status value in subcloud restore response 2023-06-19 14:44:29 -03:00
subcloud_deploy.py Add release optionality to subcloud add/reinstall 2023-04-03 00:12:39 +00:00
subcloud_group.py Fix subcloud-group endpoint routing conflict 2022-12-06 13:21:14 +00:00
subclouds.py Rename config_sync_status field 2023-05-24 17:57:11 -03:00
sw_update_options.py Implement access control for DC API 2022-09-22 18:26:35 -03:00
sw_update_strategy.py Implement access control for DC API 2022-09-22 18:26:35 -03:00