Deprecate use_namespaces option

Change-Id: I3a769a0195aba45ec836b669fe049f0b8eba884f
Closes-Bug: #1435382
This commit is contained in:
Assaf Muller 2015-03-23 11:27:00 -04:00
parent 8cfd51e412
commit 9902c101f2
4 changed files with 11 additions and 3 deletions

View File

@ -31,7 +31,9 @@
# dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
# Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
# iproute2 package that supports namespaces).
# iproute2 package that supports namespaces). This option is deprecated and
# will be removed in a future release, at which point the old behavior of
# use_namespaces = True will be enforced.
# use_namespaces = True
# The DHCP server can assist with providing metadata support on isolated

View File

@ -19,7 +19,9 @@
# interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
# Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
# iproute2 package that supports namespaces).
# iproute2 package that supports namespaces). This option is deprecated and
# will be removed in a future release, at which point the old behavior of
# use_namespaces = True will be enforced.
# use_namespaces = True
# If use_namespaces is set as False then the agent can only configure one router.

View File

@ -15,4 +15,6 @@
# interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
# This option is deprecated and will be removed in a future release,
# at which point the old behavior of use_namespaces = True will be enforced.
# use_namespaces = True

View File

@ -53,7 +53,9 @@ INTERFACE_DRIVER_OPTS = [
USE_NAMESPACES_OPTS = [
cfg.BoolOpt('use_namespaces', default=True,
help=_("Allow overlapping IP.")),
help=_("Allow overlapping IP. This option is deprecated and "
"will be removed in a future release."),
deprecated_for_removal=True),
]
IPTABLES_OPTS = [