Merge "Fix multiple-nics network config ExternalMtu"

This commit is contained in:
Zuul 2019-10-11 15:32:58 +00:00 committed by Gerrit Code Review
commit b661485337
2 changed files with 15 additions and 0 deletions

View File

@ -74,6 +74,14 @@ parameters:
from the subnet host_routes attribute.
type: json
{%- endfor %}
{% for network in networks if network.name == "External" and 'external_bridge' in role.tags and not network.name in role.networks %}
{{network.name}}Mtu:
default: {{network.mtu|default('1500')}}
description: The maximum transmission unit (MTU) size(in bytes) that is
guaranteed to pass through the data path of the segments in the
{{network.name}} network.
type: number
{% endfor %}
DnsServers: # Override this via parameter_defaults
default: []
description: >

View File

@ -0,0 +1,7 @@
---
fixes:
- |
The `multiple-nics` network template example was rendered without the
``ExternalMtu`` parameter when the role tag ``external_bridge`` was
set. This caused the deployment to fail with parameter not provided
error. Bug: `1847360 <https://bugs.launchpad.net/tripleo/+bug/1847360>`_.