Merge "Allow setting physical network MTU via heat template"
This commit is contained in:
commit
fac21c7ed1
@ -82,6 +82,19 @@ parameters:
|
|||||||
type: number
|
type: number
|
||||||
constraints:
|
constraints:
|
||||||
- allowed_values: [4,6]
|
- allowed_values: [4,6]
|
||||||
|
NeutronML2PhysicalNetworkMtus:
|
||||||
|
default: []
|
||||||
|
description: |
|
||||||
|
A list of mappings of physical networks to MTU values. The format of
|
||||||
|
the mapping is <physnet>:<mtu val>. This mapping allows specifying a
|
||||||
|
physical network MTU value that differs from the default segment_mtu
|
||||||
|
value in ML2 plugin. And overwrite values from global_physnet_mtu for
|
||||||
|
selected network.
|
||||||
|
type: comma_delimited_list
|
||||||
|
|
||||||
|
conditions:
|
||||||
|
physical_network_mtus_set: {not: {equals: [{get_param: NeutronML2PhysicalNetworkMtus}, []]}}
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
NeutronBase:
|
NeutronBase:
|
||||||
@ -112,6 +125,10 @@ outputs:
|
|||||||
neutron::plugins::ml2::tenant_network_types: {get_param: NeutronNetworkType}
|
neutron::plugins::ml2::tenant_network_types: {get_param: NeutronNetworkType}
|
||||||
neutron::plugins::ml2::firewall_driver: {get_param: NeutronFirewallDriver}
|
neutron::plugins::ml2::firewall_driver: {get_param: NeutronFirewallDriver}
|
||||||
neutron::plugins::ml2::overlay_ip_version: {get_param: NeutronOverlayIPVersion}
|
neutron::plugins::ml2::overlay_ip_version: {get_param: NeutronOverlayIPVersion}
|
||||||
|
- if:
|
||||||
|
- physical_network_mtus_set
|
||||||
|
- neutron::plugins::ml2::physical_network_mtus: {get_param: NeutronML2PhysicalNetworkMtus}
|
||||||
|
- null
|
||||||
|
|
||||||
step_config: |
|
step_config: |
|
||||||
include ::tripleo::profile::base::neutron::plugins::ml2
|
include ::tripleo::profile::base::neutron::plugins::ml2
|
||||||
|
6
releasenotes/notes/bug-1782123-7b08ab6503033dd3.yaml
Normal file
6
releasenotes/notes/bug-1782123-7b08ab6503033dd3.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Add 'neutron::plugins::ml2::physical_network_mtus' as a
|
||||||
|
NeutronML2PhysicalNetworkMtus in heat template to allow
|
||||||
|
set MTU in ml2 plugin
|
Loading…
Reference in New Issue
Block a user