tripleo-heat-templates/environments/net-multiple-nics-vlans.j2.yaml
Sandeep Yadav 969043befc Correct the multiple_nics_vlans_dvr.j2 file path
Correcting the typo in multiple_nics_vlans_dvr.j2 file path.

Change-Id: Id0d88930c6b5c57e24209406503dabe4cff7ad4f
2021-11-19 15:23:01 +05:30

23 lines
924 B
YAML

# This template configures each role to use a separate NIC for
# each isolated network with tagged VLANs on each NIC.
# This template assumes use of network-isolation.yaml.
#
# 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 %}
OS::TripleO::{{role.name}}::Net::SoftwareConfig: OS::Heat::None
{%- endfor %}
parameter_defaults:
{%- for role in roles %}
{%- if 'external_bridge' in role.tags %}
{{role.name}}NetworkConfigTemplate: 'templates/multiple_nics_vlans/multiple_nics_vlans_dvr.j2'
{%- elif 'ovsdpdk' in role.tags %}
{{role.name}}NetworkConfigTemplate: 'templates/multiple_nics_vlans/multiple_nics_vlans_dpdk.j2'
{%- else %}
{{role.name}}NetworkConfigTemplate: 'templates/multiple_nics_vlans/multiple_nics_vlans.j2'
{%- endif %}
{%- endfor %}