Updated flags for XVP config options

XVP options are compatible with consistency guide [0], updated header
flags accordingly.

Because there was a discussion without clear outcome whether XVP shoud be
dropped, so I am leaving check_deprecated_status flag for a time being, until
it clears out.

[0] https://wiki.openstack.org/wiki/ConfigOptionsConsistency
[1] http://www.gossamer-threads.com/lists/openstack/operators/50794

Blueprint centralize-config-options-newton

Change-Id: Id4d3328210b5b2ba0bef269d685cf445b5ff26bc
This commit is contained in:
Maciej Szankin 2016-08-01 15:31:29 -05:00
parent 32b7526b3c
commit 309ea539c9
1 changed files with 12 additions and 14 deletions

View File

@ -1,10 +1,3 @@
# needs:fix_opt_description
# needs:check_deprecation_status
# needs:check_opt_group_and_type
# needs:fix_opt_description_indentation
# needs:fix_opt_registration_consistency
# Copyright 2016 OpenStack Foundation
# All Rights Reserved.
#
@ -26,7 +19,14 @@ from oslo_config import cfg
xvp_group = cfg.OptGroup(
'xvp',
title='XVP options')
title='XVP options',
help="""
Configuration options for XVP.
xvp (Xen VNC Proxy) is a proxy server providing password-protected VNC-based
access to the consoles of virtual machines hosted on Citrix XenServer.
"""
)
xvp_opts = [
cfg.StrOpt('console_xvp_conf_template',
@ -45,12 +45,10 @@ xvp_opts = [
default='/var/log/xvp.log',
deprecated_group='DEFAULT',
help='XVP log file'),
cfg.IntOpt('console_xvp_multiplex_port',
default=5900,
deprecated_group='DEFAULT',
min=1,
max=65535,
help='Port for XVP to multiplex VNC connections on'),
cfg.PortOpt('console_xvp_multiplex_port',
default=5900,
deprecated_group='DEFAULT',
help='Port for XVP to multiplex VNC connections on'),
]