Verify "needs:check_deprecation_status" for serial_console.py

This change verifies that the config options for serial console are
checked for their deprecation status according to:
    https://wiki.openstack.org/wiki/ConfigOptionsConsistency

The previously deprecated option "listen" gets removed.

bp centralize-config-options-newton

Change-Id: I000d676ee95d34d43530c2ce2e4d1b3c01dab063
This commit is contained in:
Markus Zoeller 2016-07-07 11:07:37 +02:00
parent d8d7c9914a
commit 3495330a94
2 changed files with 6 additions and 11 deletions

View File

@ -1,5 +1,4 @@
# needs:fix_opt_description
# needs:check_deprecation_status
# needs:check_opt_group_and_type
# needs:fix_opt_description_indentation
# needs:fix_opt_registration_consistency
@ -105,15 +104,6 @@ Interdependencies to other options:
and ``key`` in the ``[DEFAULT]`` section have to be set for that.
""")
# This config option was never used
listen_opt = cfg.StrOpt('listen',
default='127.0.0.1',
deprecated_for_removal=True,
help="""
DEPRECATED: this option has no effect anymore. Please use
"proxyclient_address" instead. This option is deprecated and will be removed
in future releases.""")
proxyclient_address_opt = cfg.StrOpt('proxyclient_address',
default='127.0.0.1',
help="""
@ -187,7 +177,6 @@ Interdependencies to other options:
ALL_OPTS = [enabled_opt,
port_range_opt,
base_url_opt,
listen_opt,
proxyclient_address_opt,
serialproxy_host_opt,
serialproxy_port_opt]

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The previously deprecated config option ``listen```of the group
``serial_console`` has been removed, as it was never used in the code.