tripleo-common/tripleo_common
Tim Rozet 602b481804 Adds detection for legacy API network resource
Currently in network_data.yaml there is compat_name which is used as a
workaround for upgrades with regards to a bug where the Heat resource
for API network was being created as InternalNetwork instead of
InternalApiNetwork.  This workaround does work for upgrades, but
consequently also causes all future new deployments to have the wrong
resource name.

This patch adds detection, so that if the legacy resource is detected
already in the overcloud stack, then the compatibility will be enabled
if not already set in network_data.yaml.  This allows for the removal of
compat_name from the network in network_data.yaml and thus removing the
incorrect name for future deployments.

Partial-Bug: 1718764

Change-Id: I695259ad87e2303f948875078bccb619786470e0
Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-10-30 09:52:53 -06:00
..
actions Adds detection for legacy API network resource 2017-10-30 09:52:53 -06:00
filters Add logging to capabilities filter 2017-09-20 17:50:42 +00:00
image Add retry loop for docker pull 2017-09-25 14:20:08 +02:00
templates Config download support for all deployments 2017-10-17 13:59:53 -04:00
tests Adds detection for legacy API network resource 2017-10-30 09:52:53 -06:00
utils Allow processing external_deploy_steps_tasks 2017-10-18 17:35:42 +02:00
__init__.py Add ReNo support 2017-01-12 12:06:02 +00:00
_stack_update.py Prompt to clear breakpoints when using deployed-server 2017-08-02 18:05:32 -04:00
arch.py Default to host CPU architecture if none is supplied 2017-08-05 09:11:20 +10:00
constants.py Adds detection for legacy API network resource 2017-10-30 09:52:53 -06:00
exception.py Remove the unused exception PlanOperationError 2017-06-29 13:04:56 +01:00
i18n.py Update the documentation link for doc migration 2017-07-25 15:00:27 +08:00
update.py Refresh DeployIdentifier as well on update 2016-10-14 15:12:55 -04:00