Neutron ML2 template fix
Neutron fails to deploy if neutron_provider_networks.network_flat_networks or neutron_provider_networks.network_vlan_ranges are not set. This will fix that by making these template sections 'if defined' Change-Id: I4fcc542a7177e9a84302fae03731dad044bf947c Closes-Bug: #1535498
This commit is contained in:
parent
2b6c9c39fa
commit
fea841c449
@ -9,7 +9,7 @@ extension_drivers = port_security
|
|||||||
path_mtu = 0
|
path_mtu = 0
|
||||||
segment_mtu = 0
|
segment_mtu = 0
|
||||||
|
|
||||||
{% if neutron_provider_networks.network_flat_networks %}
|
{% if neutron_provider_networks.network_flat_networks is defined %}
|
||||||
|
|
||||||
# ML2 flat networks
|
# ML2 flat networks
|
||||||
[ml2_type_flat]
|
[ml2_type_flat]
|
||||||
@ -17,7 +17,7 @@ flat_networks = {{ neutron_provider_networks.network_flat_networks }}
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if neutron_provider_networks.network_vlan_ranges %}
|
{% if neutron_provider_networks.network_vlan_ranges is defined %}
|
||||||
|
|
||||||
# ML2 VLAN networks
|
# ML2 VLAN networks
|
||||||
[ml2_type_vlan]
|
[ml2_type_vlan]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user