conf: Deprecate 'console_driver'

This no longer does anything due to our use of fixtures in the test.

Change-Id: Id662bf0bedbd43459cf2561b3d12b65de08db4c0
This commit is contained in:
Stephen Finucane 2016-12-07 14:23:59 +00:00
parent 66c6612588
commit 582321c54d
2 changed files with 18 additions and 2 deletions

View File

@ -26,11 +26,18 @@ which allows to select the console proxy service to connect to.
""") """)
default_opts = [ default_opts = [
# TODO(raj_singh): Deprecate this option
cfg.StrOpt('console_driver', cfg.StrOpt('console_driver',
default='nova.console.xvp.XVPConsoleProxy', default='nova.console.xvp.XVPConsoleProxy',
deprecated_for_removal=True,
deprecated_since='15.0.0',
deprecated_reason="""
This option no longer does anything. Previously this option had only two valid,
in-tree values: nova.console.xvp.XVPConsoleProxy and
nova.console.fake.FakeConsoleProxy. The latter of these was only used in tests
and has since been replaced.
""",
help=""" help="""
Nova-console proxy is used to set up multi-tenant VM console access. nova-console-proxy is used to set up multi-tenant VM console access.
This option allows pluggable driver program for the console session This option allows pluggable driver program for the console session
and represents driver to use for the console proxy. and represents driver to use for the console proxy.

View File

@ -0,0 +1,9 @@
---
deprecations:
- |
The ``console_driver`` config opt in the ``DEFAULT`` group has been
deprecated and will be removed in a future release. This option no longer
does anything. Previously this option had only two valid, in-tree values:
``nova.console.xvp.XVPConsoleProxy`` and
``nova.console.fake.FakeConsoleProxy``. The latter of these was only used
in tests and has since been replaced.