From 0b550db05f6006875bf83ef87cae551b441d51c9 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 9 Feb 2017 14:35:27 +0000 Subject: [PATCH] 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 --- nova/conf/netconf.py | 5 +++++ .../deprecate-more-nova-network-opts-a9f87c79f7d26438.yaml | 1 + 2 files changed, 6 insertions(+) diff --git a/nova/conf/netconf.py b/nova/conf/netconf.py index dc5bddc258f6..199f29ac5098 100644 --- a/nova/conf/netconf.py +++ b/nova/conf/netconf.py @@ -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. diff --git a/releasenotes/notes/deprecate-more-nova-network-opts-a9f87c79f7d26438.yaml b/releasenotes/notes/deprecate-more-nova-network-opts-a9f87c79f7d26438.yaml index 940e4d090958..c0bddf7007eb 100644 --- a/releasenotes/notes/deprecate-more-nova-network-opts-a9f87c79f7d26438.yaml +++ b/releasenotes/notes/deprecate-more-nova-network-opts-a9f87c79f7d26438.yaml @@ -42,3 +42,4 @@ deprecations: - ``networks_path`` - ``public_interface`` - ``routing_source_ip`` + - ``use_ipv6``