Merge "OVN: Add ovn_emit_need_to_frag configuration option"

This commit is contained in:
Zuul 2019-10-24 02:43:30 +00:00 committed by Gerrit Code Review
commit def359fd30
2 changed files with 21 additions and 0 deletions

View File

@ -103,6 +103,15 @@ parameters:
type: string
tags:
- role_specific
OVNEmitNeedToFrag:
type: boolean
default: false
description: Configure OVN to emit "need to frag" packets in case of
MTU mismatch. Before enabling this configuration make sure
that it's supported by the host kernel (version >= 5.2) or
by checking the output of the following command
'ovs-appctl -t ovs-vswitchd dpif/show-dp-features
br-int | grep "Check pkt length action"'.
conditions:
neutron_dvr_unset: {equals : [{get_param: NeutronEnableDVR}, '']}
@ -143,6 +152,7 @@ outputs:
neutron::plugins::ml2::max_header_size: {get_param: NeutronGeneveMaxHeaderSize}
neutron::plugins::ml2::ovn::dns_servers: {get_param: OVNDnsServers}
neutron::plugins::ml2::tenant_network_types: {get_param: NeutronNetworkType}
neutron::plugins::ml2::ovn::ovn_emit_need_to_frag: {get_param: OVNEmitNeedToFrag}
- if:
- internal_tls_enabled
-

View File

@ -0,0 +1,11 @@
---
features:
- |
Provides the option to set the "ovn_emit_need_to_frag" configuration
option to the "ovn" section of etc/neutron/plugins/ml2_conf.ini. This
option tells ovn whether it should emit ICMP "need to frag" packets
in case of MTU mismatch. Before enabling this configuration make
sure that it's supported by the host kernel (version >= 5.2) or
by checking the output of the following command 'ovs-appctl -t
ovs-vswitchd dpif/show-dp-features br-int | grep "Check pkt length
action"'. Defaults to False.