Deprecate 'ovs_use_veth' and 'veth_mtu' options

These were added to support an old kernel bug with
patch ports in OVS. This should no longer be an issue
with distros new enough ship Ocata.

Closes-Bug: #1550501
Change-Id: I8cd3d74f4d7dbe57fbff180d344f21534d590ce1
This commit is contained in:
Kevin Benton 2016-02-24 11:28:28 -08:00
parent 8582373d61
commit 850b4c025f
3 changed files with 10 additions and 1 deletions

View File

@ -37,6 +37,7 @@ OPTS = [
help=_('Name of Open vSwitch bridge to use')),
cfg.BoolOpt('ovs_use_veth',
default=False,
deprecated_for_removal=True,
help=_('Uses veth for an OVS interface or not. '
'Support kernels with limited namespace support '
'(e.g. RHEL 6.5) so long as ovs_use_veth is set to '

View File

@ -62,6 +62,7 @@ ovs_opts = [
"integration bridge as it won't be managed by the "
"agent anymore. Deprecated for ofagent.")),
cfg.BoolOpt('use_veth_interconnection', default=False,
deprecated_for_removal=True,
help=_("Use veths instead of patch ports to interconnect the "
"integration bridge to physical networks. "
"Support kernel without Open vSwitch patch port "
@ -110,7 +111,7 @@ agent_opts = [
"(gre and/or vxlan).")),
cfg.PortOpt('vxlan_udp_port', default=p_const.VXLAN_UDP_PORT,
help=_("The UDP port to use for VXLAN tunnels.")),
cfg.IntOpt('veth_mtu', default=9000,
cfg.IntOpt('veth_mtu', default=9000, deprecated_for_removal=True,
help=_("MTU size of veth interfaces")),
cfg.BoolOpt('l2_population', default=False,
help=_("Use ML2 l2population mechanism driver to learn "

View File

@ -0,0 +1,7 @@
---
prelude: >
The 'ovs_use_veth', 'use_veth_interconnection', and 'veth_mtu'
options have been deprecated and will be removed in Ocata.
deprecations:
- The 'ovs_use_veth', 'use_veth_interconnection', and 'veth_mtu'
options have been deprecated and will be removed in Ocata.