Merge "Deprecate advertise_mtu option"

This commit is contained in:
Jenkins
2016-05-25 20:26:12 +00:00
committed by Gerrit Code Review
2 changed files with 11 additions and 0 deletions

View File

@@ -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.')),

View File

@@ -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.