distcloud-client/distributedcloud-client/dcmanagerclient/api/v1
Zhang Rong(Jon) ac38a338fb Add peer group association API support
Add dcmanager peer-group-association management CLI.

This commit add peer-group-association CMD of
add/delete/update/show/list/sync
list-subcloud-peer-groups of a system-peer

CLI example:
dcmanager peer-group-association add --peer-group-id 1
  --system-peer-id 1 --peer-group-priority 99
dcmanager peer-group-association list
dcmanager peer-group-association update --peer-group-priority 90
dcmanager peer-group-association show 1
dcmanager peer-group-association sync 1
dcmanager peer-group-association delete 1
dcmanager system-peer list-subcloud-peer-groups 1

Test Plan:
1. PASS - Create a peer-group-association and verify the successful
          creation of the peer site's subcloud-peer-group;
2. PASS - Run the add command without providing the required
          parameters. Verify that the command fails with the
          correct error message;
3. PASS - Verify that the `system-peer list-subcloud-peer-groups`
          command retrieves the expected subcloud-peer-groups;
4. PASS - Successfully update the peer-group-priority of a
          peer-group-association using the `dcmanager
          peer-group-association update` command;
5. PASS - Test `dcmanager peer-group-association sync` command and
          verify the peer site successful synchronization;
6. PASS - Test `dcmaanger peer-group-association delete` command and
          verify successful deletion;
7. PASS - Test 'dcmanager peer-group-association list' command;
8. PASS - Test 'dcmanager peer-group-association show' command;
9. PASS - Test the help output of all commands and verify its
          correctness.

Story: 2010852
Task: 48507
Depends-On: I41c16a8ab13e60f5b1de5b05fbbc51821f7f8d57
Change-Id: Ice15721c9674685a770116adad4f9a2d2ae712e0
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
2023-11-03 07:49:24 +08: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
client.py Add peer group association API support 2023-11-03 07:49:24 +08: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 dcmanager kube-root-ca-update-strategy extra args 2021-09-29 10:15:51 -05: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 peer group association API support 2023-11-03 07:49:24 +08:00
phased_subcloud_deploy_manager.py Add 'subcloud deploy complete' command to dcmanager 2023-07-28 09:29:30 -03:00
strategy_step_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
subcloud_backup_manager.py Use multipart headers on subcloud-backup API calls 2022-12-14 18:13:50 -03:00
subcloud_deploy_manager.py Add release optionality to subcloud-deploy upload/show 2023-03-23 20:34:30 -04:00
subcloud_group_manager.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
subcloud_manager.py Subcloud Name Reconfiguration 2023-09-06 17:18:14 -03:00
subcloud_peer_group_manager.py Add Subcloud Peer group management 2023-09-08 09:25:05 +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_strategy_manager.py Make sw_strategy_manager return extra_args without filtering it 2023-03-07 11:24:54 -03:00
sw_update_manager.py Add the --upload-only option to dcmanager patch-strategy CLI 2023-03-02 14:52:25 -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 Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
system_peer_manager.py Add peer group association API support 2023-11-03 07:49:24 +08:00