distcloud/distributedcloud
twang4 8196e7f946 Add Subcloud Peer group management
Group of the current managed subclouds which are supposed
to be duplicated in a peer site as secondary subclouds.

This commit add subcloud-peer-group APIs of
create/delete/update/show/list/
list-subclouds of a subcloud-peer-group

Update setting peer-group for subcloud, Using DB of subclouds'
'peer_group_id' Column.

Update subcloud update API, add peer_group parameter
Usage:
Add a subcloud to peer-group:
dcmanager subcloud update SUBCLOUD --peer-group PEER_GROUP
Remove a subcloud from peer-group:
dcmanager subcloud update SUBCLOUD --peer-group none

Test Plan:
1. PASS - Create a subcloud-peer-group
2. PASS - Update an existing subcloud's peer-group to a existing
              subcloud-peer-group successfully;
3. PASS - Verify subcloud-peer-group list-subclouds can get the expected
              Subcloud above successfully;
4. PASS - Update group_priority/group_state/max_subcloud_rehoming/
               system_leader_id/system_leader_name
              of a subcloud-peer-group successfully;
5. PASS - Check can get subcloud status of a subcloud-peer-group
               successfully;
6. PASS - Delete a subcloud-peer-group completes successfully.
7. PASS - Delete a subcloud-peer-group while it still has subclouds
               associated to it. the subclouds' peer-group-id is auto
               set to None successfully;
8. PASS - Add a subcloud, update the peer-group-id as a non-existing
              subcloud-peer-group, get error message successfully;
9. PASS - Update subcloud peer group with invalid
               group_priority/group_state/max_subcloud_rehoming/
               system_leader_id/system_leader_name

Story: 2010852
Task: 48485
Change-Id: I93d0808b8cf02eba0e6f687007df42e2d2ea1848
Signed-off-by: Wang Tao <tao.wang@windriver.com>
2023-09-08 15:43:31 +08:00
..
centos Migrate distributedcloud .deb from dl_hooks 2023-01-13 15:46:06 +00:00
dccommon Fix race condition issue of copying default-registry-key 2023-08-24 21:55:08 -04:00
dcdbsync Implement access control for DC API 2022-09-22 18:26:35 -03:00
dcmanager Add Subcloud Peer group management 2023-09-08 15:43:31 +08:00
dcorch Subcloud Name Reconfiguration 2023-09-07 10:30:06 -03:00
debian Update debian package versions to use git commits 2023-02-10 09:05:15 -08:00
etc Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
files Extend subcloud bootstrap log rotation size 2023-06-30 11:47:10 -04:00
ocf Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
.coveragerc Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
.coveragerc_xml Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
.pylintrc Update tox configuration for Distributed Cloud 2023-08-29 17:29:17 -03:00
.testr.conf Fix unit test parallelization issues 2021-09-14 10:42:56 -05:00
LICENSE Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
MANIFEST.in Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
README.rst Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
__init__.py Implement the state for Simplex Upgrade 2020-06-19 17:09:07 -04:00
babel.cfg Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
requirements.txt Update tox configuration for Distributed Cloud 2023-08-29 17:29:17 -03:00
setup.cfg Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
setup.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
test-requirements.txt Update tox configuration for Distributed Cloud 2023-08-29 17:29:17 -03:00
tox.ini Update tox configuration for Distributed Cloud 2023-08-29 17:29:17 -03:00

README.rst

DistributedCloud

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.