Add help string for cfapi opts

To avoid the WARNING when generator config file,
add help string for cfapi opts.

Change-Id: I065436c296ebcc16cd6abf170cc6754e3167848b
This commit is contained in:
zhurong 2016-03-31 07:23:27 +00:00
parent c1809a2c7d
commit f273a92e6b

@ -21,7 +21,7 @@ from oslo_service import loopingcall
import six
from webob import response
from murano.common.i18n import _LI, _LW
from murano.common.i18n import _, _LI, _LW
from murano.common import auth_utils # noqa
from murano.common import wsgi
from murano.db.services import cf_connections as db_cf
@ -31,14 +31,17 @@ from muranoclient.glance import client as glare_client
cfapi_opts = [
cfg.StrOpt('tenant', default='admin',
help=('Tenant for service broker')),
help=_('Project for service broker')),
cfg.StrOpt('bind_host', default='localhost',
help=('host for service broker')),
help=_('Host for service broker')),
cfg.StrOpt('bind_port', default='8083',
help=('host for service broker')),
cfg.StrOpt('auth_url', default='localhost:5000'),
cfg.StrOpt('user_domain_name', default='default'),
cfg.StrOpt('project_domain_name', default='default')]
help=_('Port for service broker')),
cfg.StrOpt('auth_url', default='localhost:5000',
help=_('Authentication URL')),
cfg.StrOpt('user_domain_name', default='default',
help=_('Domain name of the user')),
cfg.StrOpt('project_domain_name', default='default',
help=_('Domain name of the project'))]
LOG = logging.getLogger(__name__)
CONF = cfg.CONF