Use global_physnet_mtu config in newton templates

The Newton neutron.conf template was missing the snippet to
support configuration of the underlying physical network MTU.

Add this snippet based on the Mitaka template, and tweak the
Mitaka template to insert the snippet prior to the zeromq
section config.

Change-Id: If38c2e056df8215d717bd29b46ff2fa0d0c6024d
Closes-Bug: 1673161
This commit is contained in:
James Page 2017-03-15 16:42:23 +00:00
parent 4e432a9dec
commit 4a99be6bf6
2 changed files with 6 additions and 2 deletions

View File

@ -69,12 +69,12 @@ notify_nova_on_port_data_changes = True
{% endfor -%}
{% endif -%}
{% include "section-zeromq" %}
{% if global_physnet_mtu -%}
global_physnet_mtu = {{ global_physnet_mtu }}
{% endif -%}
{% include "section-zeromq" %}
[quotas]
{% if quota_driver -%}
quota_driver = {{ quota_driver }}

View File

@ -69,6 +69,10 @@ notify_nova_on_port_data_changes = True
{% endfor -%}
{% endif -%}
{% if global_physnet_mtu -%}
global_physnet_mtu = {{ global_physnet_mtu }}
{% endif -%}
{% include "section-zeromq" %}
[quotas]