tripleo-heat-templates/environments/net-2-linux-bonds-with-vlans.j2.yaml
Dan Sneddon e645d2e753 Fix comments in environments/net-* network configuration envs
The environment files that select which network configuration files
to use for a deployment have an incorrect comment. The comment
mentions port configurations above the network configuration
templates. This patch corrects the comments.

Change-Id: Idb5c09f7c803a89d388e4458b032bbebd4b2590b
Closes-bug: 1822693
2019-04-01 17:12:28 -07:00

18 lines
934 B
YAML

# This template configures each role to use a pair of bonded nics (nic2 and
# nic3) and configures an IP address on each relevant isolated network
# for each role. This template assumes use of network-isolation.yaml.
#
# NOTE: This version of the templates uses two Linux bonds, but
# reuses the BondInterfaceOvsOptions parameter for both bond
# configurations. You can modify this template to have two
# different parameters for the bonds if options differ.
#
# FIXME: if/when we add functionality to heatclient to include heat
# environment files we should think about using it here to automatically
# include network-isolation.yaml.
resource_registry:
{%- for role in roles %}
# Network configuration assignments for the {{role.name}}
OS::TripleO::{{role.name}}::Net::SoftwareConfig: ../network/config/2-linux-bonds-vlans/{{role.deprecated_nic_config_name|default(role.name.lower() ~ ".yaml")}}
{%- endfor %}