OVN: Add ovn_emit_need_to_frag configuration option
This patch is adding a new parameter called OVNEmitNeedToFrag. This parameter sets the "ovn_emit_need_to_frag" configuration option in networking-ovn. When set to True the option tells ovn whether it should emit "need to frag" packets in case of MTU mismatch. Before enabling this configuration make sure that its 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. This option was introduced by networking-ovn at: https://review.opendev.org/#/c/671766/ Depends-On: https://review.opendev.org/#/c/687845/ Change-Id: Icf6c00997e52346e3c676f937be7daf553f137e3 Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
This commit is contained in:
parent
8c2cba372b
commit
84b18f8fea
@ -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
|
||||
-
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user