The tacker.common.config Module

Routines for configuring Tacker

tacker.common.config.config_opts()
tacker.common.config.init(args, **kwargs)
tacker.common.config.load_paste_app(app_name)

Builds and returns a WSGI app from a paste config file.

Parameters:

app_name – Name of the application to load

Raises:
  • ConfigFilesNotFoundError – when config file cannot be located
  • RuntimeError – when application cannot be loaded from config file
tacker.common.config.set_db_defaults()
tacker.common.config.setup_logging(conf)

Sets up the logging options for a log with supplied name.

Parameters:conf – a cfg.ConfOpts object