tripleo-heat-templates/environments/net-dpdkbond-with-vlans.j2.yaml
Takashi Kajinami f1cf81eec2 Replace remaining usage of Net::SoftwareConfig
... because the resource can't be used in networking v2. Also this
change removes the deprecated_nic_config_name property from roles data
because it is no longer used.

Depends-on: https://review.opendev.org/848953
Change-Id: I27be59299262a8bc3a45979b30569fde84011676
2022-09-28 10:28:33 +09:00

21 lines
831 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.
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 %}