Merge "[neutron-k8s] Add MTU configuration options" into main
This commit is contained in:
@@ -46,3 +46,30 @@ options:
|
||||
default: False
|
||||
description: Enable IGMP snooping for integration bridge.
|
||||
type: boolean
|
||||
global-physnet-mtu:
|
||||
type: int
|
||||
default: 1500
|
||||
description: |
|
||||
MTU of the underlying physical network. Neutron uses this value to
|
||||
calculate MTU for all virtual network components. For flat and
|
||||
VLAN networks, neutron uses this value without modification. For
|
||||
overlay networks such as VXLAN, neutron automatically subtracts
|
||||
the overlay protocol overhead from this value.
|
||||
path-mtu:
|
||||
type: int
|
||||
default: 1500
|
||||
description: |
|
||||
Maximum size of an IP packet (MTU) that can traverse the
|
||||
underlying physical network infrastructure without fragmentation
|
||||
when using an overlay/tunnel protocol. This option allows
|
||||
specifying a physical network MTU value that differs from the
|
||||
default global-physnet-mtu value.
|
||||
physical-network-mtus:
|
||||
type: string
|
||||
default:
|
||||
description: |
|
||||
Space-delimited list of <physical_network>:<mtu> pairs specifying MTU for
|
||||
individual physical networks.
|
||||
.
|
||||
Use this if a subset of your flat or VLAN provider networks have a MTU
|
||||
that differ with what is set in global-physnet-mtu.
|
||||
|
@@ -241,7 +241,6 @@ class OVNContext(sunbeam_ctxts.ConfigContext):
|
||||
"type_drivers": "geneve,gre,vlan,flat,local",
|
||||
"tenant_network_types": "geneve,gre,vlan,flat,local",
|
||||
"mechanism_drivers": "ovn",
|
||||
"path_mtu": "1500",
|
||||
"tunnel_id_ranges": "1:1000",
|
||||
"vni_ranges": "1001:2000",
|
||||
"flat_networks": "physnet1",
|
||||
|
@@ -8,7 +8,10 @@ type_drivers = {{ ovn.type_drivers }}
|
||||
tenant_network_types = {{ ovn.tenant_network_types }}
|
||||
mechanism_drivers = {{ ovn.mechanism_drivers }}
|
||||
|
||||
path_mtu = {{ ovn.path_mtu }}
|
||||
path_mtu = {{ options.path_mtu }}
|
||||
{% if options.physical_network_mtus %}
|
||||
physical_network_mtus = {{ options.physical_network_mtus.split(' ') | join(',') }}
|
||||
{% endif %}
|
||||
|
||||
[ml2_type_gre]
|
||||
tunnel_id_ranges = {{ ovn.tunnel_id_ranges }}
|
||||
|
@@ -24,7 +24,7 @@ notify_nova_on_port_data_changes = True
|
||||
|
||||
dns_domain = {{ options.dns_domain }}
|
||||
|
||||
global_physnet_mtu = 1500
|
||||
global_physnet_mtu = {{ options.global_physnet_mtu }}
|
||||
|
||||
transport_url = {{ amqp.transport_url }}
|
||||
|
||||
|
Reference in New Issue
Block a user