Environment to disable Neutron networks

This environment disables the creation of Neutron networks
created by the network isolation templates and environments.
It is useful if you want to create a second stack of servers
alongside of 'overcloud' which shares the same network space.

For example: an OpenShift/Kubernetes cluster.

Change-Id: I649135627c4a499c080a320fc5a6af8d490ed91e
This commit is contained in:
Dan Prince 2018-01-24 20:59:14 -05:00
parent 01331f1328
commit 1c6e2d8688
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# Disable the creation of Neutron networks
# This can be useful if you want to create two stacks along side of each
# other. The first stack (doesn't use this environment) and creates
# all of the Neutron networks. The second stack suppresses the
# creation of Networks and shares the same network spaces.
resource_registry:
{%- for network in networks %}
OS::TripleO::Network::{{network.name}}: OS::Heat::None
{%- endfor %}
#FIXME: probably also want to suppress creation of overcloud.yaml VIPs as well