diff --git a/neutron/common/config.py b/neutron/common/config.py index f350fc1f8e5..0ed50919138 100644 --- a/neutron/common/config.py +++ b/neutron/common/config.py @@ -155,6 +155,7 @@ core_opts = [ help=_('Number of seconds between sending events to nova if ' 'there are any events to send.')), cfg.BoolOpt('advertise_mtu', default=True, + deprecated_for_removal=True, help=_('If True, advertise network MTU values if core plugin ' 'calculates them. MTU is advertised to running ' 'instances via DHCP and RA MTU options.')), diff --git a/releasenotes/notes/deprecate-advertise-mtu-51e3f78475a14efc.yaml b/releasenotes/notes/deprecate-advertise-mtu-51e3f78475a14efc.yaml new file mode 100644 index 00000000000..2eae72558ec --- /dev/null +++ b/releasenotes/notes/deprecate-advertise-mtu-51e3f78475a14efc.yaml @@ -0,0 +1,10 @@ +--- +deprecations: + - The 'advertise_mtu' option is deprecated and will be removed in Ocata. + There should be no use case to disable the feature, hence the option is + considered redundant. DHCP and L3 agents will continue advertising MTU + values to instances. Other plugins not using those agents are also + encouraged to advertise MTU to instances. The actual implementation of MTU + advertisement depends on the plugin in use, but it's assumed that at least + DHCP option for IPv4 clients and Router Advertisements for IPv6 clients is + supported.