Update some more environments to use new ansible nic config

This changes environments missed earlier that still use old heat
nic config.

Change-Id: I9e3e3a1007103e0387314991eaf6325aa2128cb4
This commit is contained in:
Rabi Mishra 2020-10-27 15:23:19 +05:30
parent 55c16307ca
commit 42c5fa16ad
3 changed files with 27 additions and 7 deletions

View File

@ -7,14 +7,20 @@ resource_registry:
# such as net-bond-with-vlans-v6.yaml, or modifying the list here.
{%- for role in roles %}
# Port assignments for the {{role.name}}
OS::TripleO::{{role.name}}::Net::SoftwareConfig:
../network/config/single-nic-vlans/{{role.deprecated_nic_config_name|default(role.name.lower() ~ ".yaml")}}
OS::TripleO::{{role.name}}::Net::SoftwareConfig: OS::Heat::None
{%- endfor %}
parameter_defaults:
# This section is where deployment-specific configuration is done
#
#
{%- for role in roles %}
{%- if 'storage' in role.tags %}
{{role.name}}NetworkConfigTemplate: 'templates/single_nic_vlans/single_nic_vlans_storage.j2'
{%- else %}
{{role.name}}NetworkConfigTemplate: 'templates/single_nic_vlans/single_nic_vlans.j2'
{%- endif %}
{%- endfor %}
{% for network in networks if network.enabled|default(true) %}
# Customize the IP subnets to match the local environment
{{network.name}}NetCidr: '{{network.ipv6_subnet}}'

View File

@ -10,13 +10,20 @@ resource_registry:
# such as net-bond-with-vlans-v6.yaml, or modifying the list here.
{%- for role in roles %}
# Port assignments for the {{role.name}}
OS::TripleO::{{role.name}}::Net::SoftwareConfig:
../network/config/single-nic-vlans/{{role.deprecated_nic_config_name|default(role.name.lower() ~ ".yaml")}}
OS::TripleO::{{role.name}}::Net::SoftwareConfig: OS::Heat::None
{%- endfor %}
parameter_defaults:
# This section is where deployment-specific configuration is done
#
{%- for role in roles %}
{%- if 'storage' in role.tags %}
{{role.name}}NetworkConfigTemplate: 'templates/single_nic_vlans/single_nic_vlans_storage.j2'
{%- else %}
{{role.name}}NetworkConfigTemplate: 'templates/single_nic_vlans/single_nic_vlans.j2'
{%- endif %}
{%- endfor %}
{% for network in networks if network.enabled|default(true) %}
{%- if network.name != 'Tenant' %}
# Customize the IP subnets to match the local environment

View File

@ -6,13 +6,20 @@ resource_registry:
# such as net-bond-with-vlans.yaml, or modifying the list here.
{%- for role in roles %}
# Port assignments for the {{role.name}}
OS::TripleO::{{role.name}}::Net::SoftwareConfig:
../network/config/single-nic-vlans/{{role.deprecated_nic_config_name|default(role.name.lower() ~ ".yaml")}}
OS::TripleO::{{role.name}}::Net::SoftwareConfig: OS::Heat::None
{%- endfor %}
parameter_defaults:
# This section is where deployment-specific configuration is done
#
{%- for role in roles %}
{%- if 'storage' in role.tags %}
{{role.name}}NetworkConfigTemplate: 'templates/single_nic_vlans/single_nic_vlans_storage.j2'
{%- else %}
{{role.name}}NetworkConfigTemplate: 'templates/single_nic_vlans/single_nic_vlans.j2'
{%- endif %}
{%- endfor %}
{% for network in networks if network.enabled|default(true) %}
# Customize the IP subnet to match the local environment
{%- if network.ipv6|default(false) %}