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
|
||||
mtu: {{ min_viable_mtu_dataplane }}
|
||||
{% for network in role_networks if network.startswith('Tenant') %}
|
||||
- type: vlan
|
||||
device: bond-data
|
||||
mtu: {{ lookup('vars', networks_lower[network] ~ '_mtu') }}
|
||||
vlan_id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }}
|
||||
addresses:
|
||||
- ip_netmask: {{ lookup('vars', networks_lower[network] ~ '_ip') }}/{{ lookup('vars', networks_lower[network] ~ '_cidr') }}
|
||||
routes: {{ lookup('vars', networks_lower[network] ~ '_host_routes') }}
|
||||
- type: vlan
|
||||
device: bond-data
|
||||
mtu: {{ lookup('vars', networks_lower[network] ~ '_mtu') }}
|
||||
vlan_id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }}
|
||||
addresses:
|
||||
- ip_netmask: {{ lookup('vars', networks_lower[network] ~ '_ip') }}/{{ lookup('vars', networks_lower[network] ~ '_cidr') }}
|
||||
routes: {{ lookup('vars', networks_lower[network] ~ '_host_routes') }}
|
||||
{%- endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user