distcloud-client/distributedcloud-client/dcmanagerclient/commands/v1
Li Zhu eb4e7eeeb0 Display prestage status and versions in subcloud list
The prestage release can be either the previous or current release for
a subcloud. Checking the prestage release individually on thousands of
subclouds is impractical. Therefore, a new column called "prestage
versions" is added to the output of the "dcmanager subcloud list'
command. Besides, decoupling prestage status from deploy status.

This commit also introduces the following changes:
- 'backup datetime' column removal and addition of 'prestage status'
  column to 'dcmanager subcloud list' output.
- 'dcmanager subcloud show' and similar commands now display 'prestage
  status' and 'prestage versions' columns in their output.
- New '-d/--detail' option is added to 'dcmanager subcloud list' to
  display all columns of the subclouds.
- '-c/--column' option of 'dcmanager subcloud list' can be used to
  specify the column(s) of the subclouds. eg. -c column1 -c column2 ...

Test plan:
PASS: Verify the correct "prestage status" and "prestage versions"
      output of the "dcmanager subcloud list" command.
PASS: Verify the correct output of the new arguments -d/--detail and
      -c/--column.

Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/904541

Story: 2010611
Task: 49369

Change-Id: I8d127220fcd705dca542afeca2ac8f19f20172a1
Signed-off-by: lzhu1 <li.zhu@windriver.com>
2024-01-24 14:39:36 +00:00
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
alarm_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
base.py Subcloud-backup CLI outputs list or detail 2022-11-16 17:20:26 -03:00
fw_update_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
kube_rootca_update_manager.py Adding 'force' support and 'to-version' for kube-upgrade 2021-12-24 08:37:18 -06:00
kube_upgrade_manager.py Adding 'force' support and 'to-version' for kube-upgrade 2021-12-24 08:37:18 -06:00
peer_group_association_manager.py Add association_type for association CLI list and detail 2023-12-20 22:11:41 +08:00
phased_subcloud_deploy_manager.py Add 'subcloud deploy complete' command to dcmanager 2023-07-28 09:29:30 -03:00
subcloud_backup_manager.py Add release parameter to subcloud-backup restore 2023-04-14 17:15:13 -03:00
subcloud_deploy_manager.py Add 'subcloud deploy delete' command to dcmanager 2024-01-08 12:01:27 -05:00
subcloud_group_manager.py Subcloud Name Reconfiguration 2023-09-06 17:18:14 -03:00
subcloud_manager.py Display prestage status and versions in subcloud list 2024-01-24 14:39:36 +00:00
subcloud_peer_group_manager.py Remove peer group add/update priority from CLI; Add heartbeat_status for 2023-10-20 15:09:13 +08:00
sw_patch_manager.py Add the --upload-only option to dcmanager patch-strategy CLI 2023-03-02 14:52:25 -03:00
sw_prestage_manager.py Add release optionality to subcloud prestage 2023-05-17 21:01:53 +00:00
sw_update_manager.py Add the --upload-only option to dcmanager upgrade_strategy CLI 2023-09-28 15:53:34 -03:00
sw_update_options_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
sw_upgrade_manager.py Add the --upload-only option to dcmanager upgrade_strategy CLI 2023-09-28 15:53:34 -03:00
system_peer_manager.py Change heartbeat-status to availablity-state of system peer 2023-12-06 20:22:58 +08:00