Routines for configuring Glance
glance.common.config.
load_paste_app
(app_name, flavor=None, conf_file=None)[source]¶Builds and returns a WSGI app from a paste config file.
We assume the last config file specified in the supplied ConfigOpts object is the paste config file, if conf_file is None.
Parameters: |
|
---|---|
Raises: | RuntimeError – when config file cannot be located or application cannot be loaded from config file |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.