The apmec.common.config Module

The apmec.common.config Module

Routines for configuring Apmec

apmec.common.config.config_opts()
apmec.common.config.init(args, **kwargs)
apmec.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
apmec.common.config.set_db_defaults()
apmec.common.config.setup_logging(conf)

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

Parameters:conf – a cfg.ConfOpts object
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.