distcloud/distributedcloud
Zhang Rong(Jon) fe1045afce Add dcmanager client driver support
Add dcmanager client driver to access the peer site dcmanager API

Test Plan:
1. PASS - Verify get subcloud and subcloud list,
          get subcloud peer group and list
2. PASS - Verify add subcloud and add subcloud peer group
3. PASS - Verify delete subcloud and delete subcloud peer group

Call example:
p_ks_client = PeerSiteDriver(
        auth_url=peer.manager_endpoint,
        username=peer.manager_username,
        password=base64.b64decode(
            peer.manager_password.encode("utf-8")).decode("utf-8"),
        site_uuid=peer.peer_uuid)
dc_endpoint = p_ks_client.session.get_endpoint(
        service_type='dcmanager',
        region_name=dccommon_consts.SYSTEM_CONTROLLER_NAME,
        interface=dccommon_consts.KS_ENDPOINT_PUBLIC)
dc_client = DcmanagerClient(dccommon_consts.SYSTEM_CONTROLLER_NAME,
                            p_ks_client.session,
                            endpoint=dc_endpoint)
dc_client.get_subcloud('subcloud1')

Story: 2010852
Task: 48679
Change-Id: I7cdd773ee1238c1e61b5e5d8753ffea9416fcd91
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
2023-09-27 10:59:34 +08:00
..
centos Migrate distributedcloud .deb from dl_hooks 2023-01-13 15:46:06 +00:00
dccommon Add dcmanager client driver support 2023-09-27 10:59:34 +08:00
dcdbsync Implement access control for DC API 2022-09-22 18:26:35 -03:00
dcmanager Merge "Add a switch to dcmanager orchestrator" 2023-09-26 15:23:20 +00: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.