Deprecate neutron-debug

We will not follow the typical deprecation cycle and thus we will
not remove this in the release after the deprecation is advertised.

Nonetheless we want to signal the need for a more comprehensive set
of tools and APIs that will eventually make people want to move away
from the limitations of neutron-debug.

Closes-bug: #1583700

Change-Id: Ibe471f186b9b5c9c15c5857a35cbaca6b8d284d6
This commit is contained in:
Armando Migliaccio 2016-05-19 10:04:40 -07:00
parent 79c1d7efc1
commit 1f4c82ce9e
2 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,7 @@ from oslo_config import cfg
from oslo_utils import importutils
from neutron._i18n import _
from neutron._i18n import _LW
from neutron.agent.common import config
from neutron.agent.common import utils
from neutron.agent.linux import interface
@ -80,6 +81,9 @@ class NeutronDebugShell(shell.NeutronShell):
self.debug_agent = debug_agent.NeutronDebugAgent(cfg.CONF,
client,
driver)
self.log.warning(_LW('This tool is deprecated and will be removed '
'in the future to be replaced with a more '
'powerful troubleshooting toolkit.'))
def main(argv=None):

View File

@ -0,0 +1,8 @@
---
deprecations:
- The tool neutron-debug is now deprecated, to be replaced with a new
set of troubleshooting and diagnostic tools. There is no plan for
removal in the immediate term, and not until comparable tools will be
adequate enough to supplant neutron-debug altogether. For more information,
please see https://blueprints.launchpad.net/neutron/+spec/troubleshooting