Improve consistency in cert
Removed sections that are no longer required [1]. Added default values to the description. [1] https://wiki.openstack.org/wiki/ConfigOptionsConsistency Blueprint centralize-config-options-newton Change-Id: Id63faf6ba4a620ef7267cc0d98b17a6475948286
This commit is contained in:
@@ -1,9 +1,4 @@
|
|||||||
# needs:fix_opt_description
|
|
||||||
# needs:check_deprecation_status
|
# needs:check_deprecation_status
|
||||||
# needs:check_opt_group_and_type
|
|
||||||
# needs:fix_opt_description_indentation
|
|
||||||
# needs:fix_opt_registration_consistency
|
|
||||||
|
|
||||||
|
|
||||||
# Copyright 2016 IBM Corp.
|
# Copyright 2016 IBM Corp.
|
||||||
# Copyright 2016 OpenStack Foundation
|
# Copyright 2016 OpenStack Foundation
|
||||||
@@ -23,29 +18,19 @@
|
|||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
cert_topic_opt = cfg.StrOpt("cert_topic",
|
cert_opts = [
|
||||||
|
cfg.StrOpt("cert_topic",
|
||||||
default="cert",
|
default="cert",
|
||||||
help="""
|
help="""
|
||||||
Determines the RPC topic that the cert nodes listen on. The default is 'cert',
|
Determines the RPC topic that the cert nodes listen on. For most deployments
|
||||||
and for most deployments there is no need to ever change it.
|
there is no need to ever change it.
|
||||||
|
"""),
|
||||||
Possible values:
|
]
|
||||||
|
|
||||||
Any string.
|
|
||||||
|
|
||||||
* Services which consume this:
|
|
||||||
|
|
||||||
``nova-cert``
|
|
||||||
|
|
||||||
* Related options:
|
|
||||||
|
|
||||||
None
|
|
||||||
""")
|
|
||||||
|
|
||||||
|
|
||||||
def register_opts(conf):
|
def register_opts(conf):
|
||||||
conf.register_opts([cert_topic_opt])
|
conf.register_opts(cert_opts)
|
||||||
|
|
||||||
|
|
||||||
def list_opts():
|
def list_opts():
|
||||||
return {"DEFAULT": [cert_topic_opt]}
|
return {"DEFAULT": cert_opts}
|
||||||
|
|||||||
Reference in New Issue
Block a user