distcloud-client/distributedcloud-client/dcmanagerclient/api/v1
Zhang Rong(Jon) 8122ea75d0 Add system peer management API support
Add dcmanager system-peer management api.

Test Plan:
1. PASS - Verify that cloud manage system-peer
          through api successfully.
2. PASS - Run the add command without providing the password
          and verify that the CLI asks for it.
3. PASS - Run the add with every possible parameter and verify
          all of them were successfully passed to the backend.
4. PASS - Verify dcmanager help output the correct help messages
          for each command.

CLI example:
dcmanager system-peer add --peer-uuid 800503ca-21c1-40b2-9425-88319185fe61
--peer-name dc-0 --manager-endpoint http://128.128.128.1:5000/v3
--peer-controller-gateway-address 192.168.205.1
(peer's uuid from the peer site `system show` command)

dcmanager system-peer list

dcmanager system-peer update --administrative-state enabled 1

dcmanager system-peer show 1

dcmanager system-peer delete 1

Story: 2010852
Task: 48487
Depends-On: I349cd24bccc732eb8ed56df9346185cfce7b2570
Change-Id: I7ea22991d8ea879af7401e10b058e7ee44cd6a8d
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
2023-08-25 07:45:51 +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
client.py Add system peer management API support 2023-08-25 07:45:51 +00: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
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 Fix broken subcloud show --detail 2023-06-07 16:55:46 +00: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 system peer management API support 2023-08-25 07:45:51 +00:00