Files
nova/nova/conf/cert.py
Sujitha bcd5402484 config options: Centralize upgrade_levels section
Move config options of nova.conf section "upgrade_levels" to new
centralized location nova/conf/upgrade_levels.

Also, previously some config options for "upgrade_levels" were scattered
in different conf files. Moved these options to the central
location: nova/conf/upgrade_levels.

Change-Id: I45651e8527dd98635f25e9586f68c288203d8cf5
Implements: blueprint centralize-config-options-newton
2016-04-04 18:35:27 +00:00

45 lines
1.1 KiB
Python

# Copyright 2016 IBM Corp.
# Copyright 2016 OpenStack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from oslo_config import cfg
cert_topic_opt = cfg.StrOpt("cert_topic",
default="cert",
help="""
Determines the RPC topic that the cert nodes listen on. The default is 'cert',
and for most deployments 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):
conf.register_opts([cert_topic_opt])
def list_opts():
return {"DEFAULT": [cert_topic_opt]}