From 12ef585f91d01e1a8bf450e66d1cdbb79bf86f99 Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Mon, 22 Feb 2016 16:56:02 -0800 Subject: [PATCH] Deprecate network_device_mtu All interface plugging MTUs should be calculated based on the MTU of the network object that the port is being created on. Partial-Bug: #1542108 Partial-Bug: #1542475 Change-Id: Idf6221fee2c7da86123b330ad3c235ecc6868242 --- neutron/agent/linux/interface.py | 6 +++++- .../deprecate-network-device-mtu-59b78264c9974808.yaml | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/deprecate-network-device-mtu-59b78264c9974808.yaml diff --git a/neutron/agent/linux/interface.py b/neutron/agent/linux/interface.py index 29c1b352895..f1c541844d3 100644 --- a/neutron/agent/linux/interface.py +++ b/neutron/agent/linux/interface.py @@ -42,7 +42,11 @@ OPTS = [ '(e.g. RHEL 6.5) so long as ovs_use_veth is set to ' 'True.')), cfg.IntOpt('network_device_mtu', - help=_('MTU setting for device.')), + deprecated_for_removal=True, + help=_('MTU setting for device. This option will be removed in ' + 'Newton. Please use the system-wide segment_mtu setting ' + 'which the agents will take into account when wiring ' + 'VIFs.')), ] diff --git a/releasenotes/notes/deprecate-network-device-mtu-59b78264c9974808.yaml b/releasenotes/notes/deprecate-network-device-mtu-59b78264c9974808.yaml new file mode 100644 index 00000000000..e976045f6ca --- /dev/null +++ b/releasenotes/notes/deprecate-network-device-mtu-59b78264c9974808.yaml @@ -0,0 +1,6 @@ +--- +deprecations: + - The 'network_device_mtu' option is deprecated and will + be removed in the 'Newton' cycle. Please use the + system-wide segment_mtu setting which the agents will + take into account when wiring VIFs. \ No newline at end of file