distcloud-client/distributedcloud-client/dcmanagerclient/tests
Christopher Souza f7487d291f Add the --upload-only option to dcmanager upgrade_strategy CLI
This commit adds a new option --upload-only to dcmanager
upgrade-strategy create. If this option is used, the releases
are uploaded to the subclouds and the strategy state is set to complete.

Depends-on: https://review.opendev.org/c/starlingx/distcloud/+/894170

Test Plan:
1. PASS - Run dcmanager help upgrade-strategy create and verify
that the --upload-only argument is present.
2. PASS - Create and apply a patch strategy using the --upload-only
option and verify that the strategy completes after uploading
the patches to the subclouds.
3. PASS - Create and apply a patch strategy without using the
--upload-only option and verify that the strategy continues
after uploading the patches to the subclouds.
4. PASS - Verify that the CLI output of dcmanager upgrade-strategy
create/delete/show/abort/apply contains the 'upload only' field.

Story: 2010676
Task: 48746

Change-Id: I3ab70ff7287ae54fa4c407ef0f3c15784bfc19a6
Signed-off-by: Christopher Souza <Christopher.DeOliveiraSouza@windriver.com>
2023-09-28 15:53:34 -03:00
..
v1 Add the --upload-only option to dcmanager upgrade_strategy CLI 2023-09-28 15:53:34 -03:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
base.py Add subcloud deploy install option to dcmanager 2023-06-26 16:36:05 -03:00
base_shell_test.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
test_client.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
test_help_and_bash_completion.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
test_httpclient.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
test_shell.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
test_utils.py Use multipart headers on subcloud-backup API calls 2022-12-14 18:13:50 -03:00