Fix indentation issue with 2-bonds-vlans config
This change moves the VLAN interfaces under the
bond interface and addresses the bug raised here:
https://bugzilla.redhat.com/show_bug.cgi?id=2032518
Follow up of [1].
[1] https://review.opendev.org/c/openstack/tripleo-heat-templates/+/821817
Resolves: #rhbz2032518
Change-Id: Ie4ccc2283eaff185bcd7912513d063090afcf656
(cherry picked from commit a640979590
)
This commit is contained in:
parent
63971b4b18
commit
c7d042c0d1
@ -69,11 +69,11 @@ network_config:
|
|||||||
name: nic5
|
name: nic5
|
||||||
mtu: {{ min_viable_mtu_dataplane }}
|
mtu: {{ min_viable_mtu_dataplane }}
|
||||||
{% for network in role_networks if network.startswith('Tenant') %}
|
{% for network in role_networks if network.startswith('Tenant') %}
|
||||||
- type: vlan
|
- type: vlan
|
||||||
device: bond-data
|
device: bond-data
|
||||||
mtu: {{ lookup('vars', networks_lower[network] ~ '_mtu') }}
|
mtu: {{ lookup('vars', networks_lower[network] ~ '_mtu') }}
|
||||||
vlan_id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }}
|
vlan_id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }}
|
||||||
addresses:
|
addresses:
|
||||||
- ip_netmask: {{ lookup('vars', networks_lower[network] ~ '_ip') }}/{{ lookup('vars', networks_lower[network] ~ '_cidr') }}
|
- ip_netmask: {{ lookup('vars', networks_lower[network] ~ '_ip') }}/{{ lookup('vars', networks_lower[network] ~ '_cidr') }}
|
||||||
routes: {{ lookup('vars', networks_lower[network] ~ '_host_routes') }}
|
routes: {{ lookup('vars', networks_lower[network] ~ '_host_routes') }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user