From 241eb143f40e5971e6c37e50403224bbe263e6de Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Mon, 20 Nov 2023 15:23:23 -0500 Subject: [PATCH] Remove segment_mtu configuration option The segment_mtu option was replaced with global_physnet_mtu back in Mitaka, let's remove it as it's unused anywhere. TrivialFix Change-Id: Ib6e3ff7da700c2b312c7071734d0a5d498238eff --- neutron/conf/common.py | 1 - releasenotes/notes/remove-segment_mtu-4a78b8d47830fb8a.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/remove-segment_mtu-4a78b8d47830fb8a.yaml diff --git a/neutron/conf/common.py b/neutron/conf/common.py index 68616fe78e1..4d408f11e0a 100644 --- a/neutron/conf/common.py +++ b/neutron/conf/common.py @@ -134,7 +134,6 @@ core_opts = [ 'Filter validation is enabled if this config ' 'is turned on and it is supported by all plugins')), cfg.IntOpt('global_physnet_mtu', default=constants.DEFAULT_NETWORK_MTU, - deprecated_name='segment_mtu', deprecated_group='ml2', help=_('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 ' diff --git a/releasenotes/notes/remove-segment_mtu-4a78b8d47830fb8a.yaml b/releasenotes/notes/remove-segment_mtu-4a78b8d47830fb8a.yaml new file mode 100644 index 00000000000..cb20cd2546d --- /dev/null +++ b/releasenotes/notes/remove-segment_mtu-4a78b8d47830fb8a.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - | + The ``[DEFAULT] segment_mtu`` configuration option has been removed. + It was replaced by the ``[DEFAULT] global_physnet_mtu`` option + in the Mitaka release.