distcloud-client/distributedcloud-client
Cristian Mondo fc1d725206 Subcloud Name Reconfiguration
This change adds the capability to rename the subcloud after
bootstrap or during subcloud rehome operation on CLI.
It also allows to do a subcloud rehoming by changing the
subcloud name from the command line.

Usage for subcloud rename:
dcmanager subcloud update <subcloud-name> --name <new-name>

Usage for subcloud rehoming:
dcmanager subcloud add --name <subcloud-name> --migrate ...

Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/885832

Test Plan:
PASS: Run dcmanager subcloud add with --name parameter
      in order to validate error message because it is not
      allowed to change the name in the subcloud add
      process
PASS: Run dcmanager subcloud add without --name parameter
      in order to validate legacy subcloud add process
PASS: Run dcmanager subcloud update with --name parameter
      supplying different subcloud name
PASS: Run dcmanager subcloud update with --name parameter
      supplying the same name of an existing subcloud
      in order to validate the error message
PASS: Run dcmanager subcloud add with --migrate and --name
      parameters supplying a new subcloud name
PASS: Run dcmanager subcloud add with --migrate and --name
      parameters supplying an existing subcloud name
      in order to validate error message
PASS: Run dcmanager subcloud add with --migrate and
      without --name parameter to get the name from
      bootstrap file and validate subcloud migration process
PASS: Run dcmanager subcloud show and subcloud list to
      validate same current output
PASS: Run dcmanager subcloud show --detail to validate
      new region_name field in detailed list

Story: 2010788
Task: 48216

Signed-off-by: Cristian Mondo <cristian.mondo@windriver.com>
Change-Id: Ib7d7729251b0540a76b8983131c68efe2e47d68a
2023-09-06 17:18:14 -03:00
..
centos Enabling firmware update dcmanager orchestration commands 2020-07-30 12:58:26 -05:00
dcmanagerclient Subcloud Name Reconfiguration 2023-09-06 17:18:14 -03: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).