conf: Deprecate 'use_ipv6'

Since Idcfdaf3b removed the use of this flag in the libvirt port filter
and I188fc2c removed the use in injected network templates, the only
remaining use of this option is in nova-network. As a result, we can
deprecate this like nova-network itself.

Change-Id: Ibbcd1fd11c3563b4ddef7c128b714402beac7e3d
Implements: blueprint centralize-config-options-pike
This commit is contained in:
Stephen Finucane
2017-02-09 14:35:27 +00:00
parent c0aef97c49
commit 0b550db05f
2 changed files with 6 additions and 0 deletions

View File

@@ -62,6 +62,11 @@ Possible values:
"""),
cfg.BoolOpt("use_ipv6",
default=False,
deprecated_for_removal=True,
deprecated_since="16.0.0",
deprecated_reason="""
nova-network is deprecated, as are any related configuration options.
""",
help="""
Assign IPv6 and IPv4 addresses when creating instances.

View File

@@ -42,3 +42,4 @@ deprecations:
- ``networks_path``
- ``public_interface``
- ``routing_source_ip``
- ``use_ipv6``