distcloud/distributedcloud/dcmanager/tests/unit
Zhang Rong(Jon) 477c9e6cb8 Add dcmanager peer group association management API support
Add dcmanager peer-group-association management API.

This commit adds peer-group-association APIs of
create/delete/update/show/list/sync,
and adds system-peer API of list subcloud-peer-groups.

Test Plan:
1. PASS - Verify that cloud manage peer-group-association
          through api successfully.
2. PASS - Verify that cloud get associated subcloud-peer-group
          list with system-peer api successfully.
3. PASS - Check create without providing the must required
          parameters.
4. PASS - Check create with wrong peer_group_priority.
5. PASS - Check delete with a not existing association id.
6. PASS - Check system_peer_manager associate peer group,
          sync peer group and delete association.
7. PASS - Create an association with 50 subclouds need to
          sync. Check the sync status on peer site after
          it is synced.

Story: 2010852
Task: 48506
Change-Id: I41c16a8ab13e60f5b1de5b05fbbc51821f7f8d57
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
2023-11-04 10:36:41 +08:00
..
api Add dcmanager peer group association management API support 2023-11-04 10:36:41 +08:00
audit Add unit tests for subcloud_audit_worker_manager 2023-09-12 12:13:07 -03:00
common Add sw version validation to all release param endpoints 2023-09-26 10:18:48 -04:00
db Subcloud Name Reconfiguration 2023-09-07 10:30:06 -03:00
manager Add dcmanager peer group association management API support 2023-11-04 10:36:41 +08:00
objects Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
orchestrator Create finish software strategy 2023-10-24 16:06:45 +00:00
rpc Update endpoint caches post network reconfig 2023-03-14 11:44:15 -03:00
utils Refactor network reconfiguration during reinstall 2023-07-21 12:40:55 +00:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
fakes.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
test_dcmanager.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00