Move tobiko test config to new tobiko.openstack package.

Change-Id: Ifc64d68fe2db9337ffd6be76a6b1927ff06403ae
changes/46/642046/1
Federico Ressi 4 years ago
parent 172dead245
commit 658555a7e2
  1. 2
      tobiko/config.py
  2. 0
      tobiko/openstack/__init__.py
  3. 21
      tobiko/openstack/config.py

@ -22,7 +22,7 @@ from oslo_log import log
LOG = log.getLogger(__name__)
CONFIG_MODULES = ['tobiko.tests.config']
CONFIG_MODULES = ['tobiko.openstack.config']
CONFIG_DIRS = [os.getcwd(),
os.path.expanduser("~/.tobiko"),

@ -20,17 +20,22 @@ def register_tobiko_options(conf):
conf.register_opts(
group=cfg.OptGroup('identity'),
opts=[cfg.StrOpt('auth_url',
help="Default identity service URL"),
opts=[cfg.StrOpt('http_proxy',
help="HTTP proxy URL for Rest APIs"),
cfg.IntOpt('api_version',
help="Identity API version"),
cfg.StrOpt('auth_url',
help="Identity service URL"),
cfg.StrOpt('username',
help="Default username"),
help="Username"),
cfg.StrOpt('password',
help="Default password"),
cfg.StrOpt('domain_name',
help="Default domain name"),
help="Password"),
cfg.StrOpt('project_name',
help="Default project name"),
])
help="Project name"),
cfg.StrOpt('user_domain_name',
help="User domain name"),
cfg.StrOpt('project_domain_name',
help="Project domain name")])
conf.register_opts(
group=cfg.OptGroup('compute'),
Loading…
Cancel
Save