distcloud/distributedcloud/dccommon
Steven Webster fd05375f84 Initial integration of DC with admin network
Because the management network and its parameters are
embedded in many parts of the system, having a separate
admin network makes it much easier to change the parameters
of this network (subnet, gateway, etc) after a subcloud has
been provisioned.

The admin network will take precedence over the existing
management network for communication between the
subcloud and system controller if it is defined.

The management network will still exist on the subcloud, but
will be a private network.

This commit enables a subcloud to be initially added
(bootstrapped) with admin network parameters.  Future
commits will be focused on the enablement of subcloud
rehoming, reinstall, and updating for admin network
enabled subclouds.

Test Plan:

- Bootstrap and install DC subcloud with admin network defined.
  PASS: Ensure the expected admin network values are reflected in
        the output of dcmanager subcloud show.
  PASS: Ensure the openstack admin endpoints on both the subcloud
        and system controller for the affected services use the
        admin subnet of the subcloud
  PASS: Ensure the subcloud can become online and in-sync using
        the admin network.
  PASS: AIO-SX, AIO-DX subclouds
  TODO: Standard configuration

Regression:

- Bootstrap and install DC subcloud with no admin network defined.
  PASS: Ensure the openstack admin endpoints on both the subcloud
        and system controller for the affected services use the
        management subnet of the subcloud (no impact)
  PASS: Ensure the subcloud can become online and in-sync with the
        management network (no impact).

Depends-On: https://review.opendev.org/c/starlingx/ansible-playbooks/+/865286

Story: 2010319
Task: 46912

Signed-off-by: Steven Webster <steven.webster@windriver.com>
Co-Authored-By: Sirin Shaikh <sirin.shaikh@windriver.com>
Change-Id: I108447026e8e45ba7e2d392e211758745115f1d4
2023-01-05 17:20:14 +00:00
..
drivers Initial integration of DC with admin network 2023-01-05 17:20:14 +00:00
tests Initial integration of DC with admin network 2023-01-05 17:20:14 +00:00
__init__.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
consts.py Debian - Fix CA cert file location 2022-07-18 16:07:52 -04:00
endpoint_cache.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
exceptions.py Add timeout for prestage ansible playbooks 2022-05-09 20:58:47 +00:00
install_consts.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
kubeoperator.py Debian: Update python-kubernetes function calls 2022-07-21 02:41:16 +00:00
LICENSE Keystone token and resource caching 2020-03-23 21:31:04 -04:00
subcloud_install.py Merge "Enhance error reporting on subcloud upgrade" 2022-12-07 14:17:15 +00:00
subprocess_cleanup.py Registration-based subprocess cleanup on service shutdown 2022-05-18 20:53:47 -04:00
utils.py Debian - Fix CA cert file location 2022-07-18 16:07:52 -04:00