diff --git a/neutron/common/config.py b/neutron/common/config.py index 64911f156fe..c2bba5a87c6 100644 --- a/neutron/common/config.py +++ b/neutron/common/config.py @@ -153,10 +153,11 @@ core_opts = [ cfg.IntOpt('send_events_interval', default=2, help=_('Number of seconds between sending events to nova if ' 'there are any events to send.')), - cfg.BoolOpt('advertise_mtu', default=False, - help=_('If True, effort is made to advertise MTU settings ' - 'to VMs via network methods (DHCP and RA MTU options) ' - 'when the network\'s preferred MTU is known.')), + cfg.BoolOpt('advertise_mtu', default=True, + help=_('If True, advertise network MTU values if core plugin ' + 'calculates them. Currently, the only way to advertise ' + 'MTU to running instances is using corresponding DHCP ' + 'option.')), cfg.StrOpt('ipam_driver', help=_("Neutron IPAM (IP address management) driver to use. " "If ipam_driver is not set (default behavior), no IPAM " diff --git a/releasenotes/notes/advertise_mtu_by_default-d8b0b056a74517b8.yaml b/releasenotes/notes/advertise_mtu_by_default-d8b0b056a74517b8.yaml new file mode 100644 index 00000000000..1f88901abee --- /dev/null +++ b/releasenotes/notes/advertise_mtu_by_default-d8b0b056a74517b8.yaml @@ -0,0 +1,16 @@ +--- +features: + - By default, the DHCP agent provides a network MTU value to instances using + the corresponding DHCP option if core plugin calculates the value. For ML2 + plugin, calculation mechanism is enabled by setting [ml2] path_mtu option + to a value greater than zero. +upgrade: + - To disable, use [DEFAULT] advertise_mtu = False. +other: + - For overlay networks managed by ML2 core plugin, the calculation algorithm + subtracts the overlay protocol overhead from the value of [ml2] path_mtu. + The DHCP agent provides the resulting (smaller) MTU to instances using + overlay networks. + - The [DEFAULT] advertise_mtu option must contain a consistent value on all + hosts running the DHCP agent. + - Typical networks can use [ml2] path_mtu = 1500.