distcloud-client/distributedcloud-client
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
..
centos Enabling firmware update dcmanager orchestration commands 2020-07-30 12:58:26 -05:00
dcmanagerclient Add peer group association API support 2023-11-03 07:49:24 +08:00
debian Update debian package versions to use git commits 2023-02-10 09:13:13 -08:00
.coveragerc Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
.testr.conf Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
LICENSE Update files for relocated repo 2019-11-04 16:12:27 -05:00
MANIFEST.in Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
README.rst Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
babel.cfg Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
pylint.rc Make Tox compatible to Debian Python3.9 Environment - dc-client 2022-08-11 14:16:40 -04:00
requirements.txt Support subcloud deploy upload the common files 2020-04-23 09:38:51 -04:00
setup.cfg Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
setup.py Move content to subdir to support relocated packaging 2019-11-04 14:14:38 -05:00
test-requirements-debian.txt Make Tox compatible to Debian Python3.9 Environment - dc-client 2022-08-11 14:16:40 -04:00
test-requirements.txt Adding py39 gate and removing py36 gates from zuul 2021-10-28 19:41:32 +00:00
tox.ini Clean up outdated configs in tox.ini and .zuul.yaml 2023-07-20 17:38:24 -03:00

README.rst

Dcmanagerclient

Wind River's Distributed Cloud system supports an edge computing solution by providing central management and orchestration for a geographically distributed network of Titanium Cloud systems.

python-dcmanagerclient

Python client for dcmanager

This is a client library for Dcmanager built on the Dcmanager API. It provides a Python API (the dcmanagerclient module) and a command-line tool (dcmanager).