OpenStack library for config
ba3aebe39b
This patch adds a set_config_files option that allows a tester to force load a specific list of configuration files. It will override the existing set of files, and trigger a reload of those configuration files. Note: This _does_ trigger the autodetection mechanism, as the present state of oslo_config makes it so __call__ is the only thing that sets self._args. After triggering, however, it immediately overrides the detected file list and replaces it with the provided one. Tests provided. Change-Id: I0bcea8be9d2527c61bd8d150e9ed606fabdd290e |
||
---|---|---|
doc/source | ||
oslo | ||
oslo_config | ||
tests | ||
tools | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Oslo Configuration Library
The Oslo configuration API supports parsing command line arguments and .ini style configuration files.
- License: Apache License, Version 2.0
- Documentation: http://docs.openstack.org/developer/oslo.config
- Source: http://git.openstack.org/cgit/openstack/oslo.config
- Bugs: http://bugs.launchpad.net/oslo.config