e9e0eb3d97
This changes the parameter to non-role specific and by default true. The dependant python-tripleoclient patch adds a check to ensure that we only allow usage of old heat nic congigs with 'NetworkConfigWithAnsible: false'. Change-Id: Ie37bdfe64eb1b33afe326161fc6f99601addb7b5
25 lines
955 B
YAML
25 lines
955 B
YAML
# NOTE: This environment file uses the compute-dpdk
|
|
#
|
|
# 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. The nic4 and nic5 are configured for dpdkbond and a provider
|
|
# network shall be associated with it. 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 'compute' not in role.tags %}
|
|
{{role.name}}NetworkConfigTemplate: 'templates/bonds_vlans/bonds_vlans.j2'
|
|
{%- else %}
|
|
{{role.name}}NetworkConfigTemplate: 'templates/bonds_vlans/bonds_vlans_dpdk.j2'
|
|
{%- endif %}
|
|
{%- endfor %}
|