distcloud/distributedcloud/dcmanager/tests/unit/api/v1
Swapna Gorre eeb70d47c2 Add 'subcloud deploy delete' command to dcmanager
This commit adds the subcloud deploy delete command to dcmanager.
It is used to delete deploy files under /opt/platform/deploy.

Test Cases:

1) PASS: dcmanager subcloud deploy delete with no release
2) PASS: dcmanager subcloud deploy delete --release 23.09
3) PASS: dcmanager subcloud deploy delete --release 22.12
4) PASS: dcmanager subcloud deploy delete --release 21.12
         fails using the load 23.09 we support n-1.
5) PASS: dcmanager subcloud deploy delete --prestage-image
6) PASS: dcmanager subcloud deploy delete --deployment-files
7) PASS: dcmanager subcloud deploy delete fails when
	 deploy files doesn't exist already.

Story: 2010718
Task: 49190

Change-Id: I94d629009b185f67e3da45d010a6492b9b6d6f17
Signed-off-by: Swapna Gorre <swapna.gorre@windriver.com>
2024-01-09 03:51:31 -05:00
..
controllers Add 'subcloud deploy delete' command to dcmanager 2024-01-09 03:51:31 -05:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00