OpenStack library for config
Go to file
Michael Krotscheck ba3aebe39b Allow loading custom config files into Config Fixture.
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
2015-04-10 13:53:37 -07:00
doc/source Expand and clean up documentation for the config generator 2015-03-05 17:35:40 -05:00
oslo Move files out of the namespace package 2014-12-12 16:13:29 -05:00
oslo_config Allow loading custom config files into Config Fixture. 2015-04-10 13:53:37 -07:00
tests Update hacking to kilo level 2015-04-03 13:55:07 +00:00
tools Import run_cross_tests.sh from oslo-incubator 2014-04-03 09:05:12 -07:00
.gitignore Move files out of the namespace package 2014-12-12 16:13:29 -05:00
.gitreview Rename oslo-config to oslo.config. 2013-03-14 12:04:19 -07:00
.testr.conf Upgrade testing to use testr. 2013-05-03 17:26:07 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:38 +00:00
LICENSE Add LICENSE file 2013-02-17 09:25:32 +00:00
MANIFEST.in Tar up .testr.conf as well 2013-06-13 10:39:54 +02:00
openstack-common.conf Import run_cross_tests.sh from oslo-incubator 2014-04-03 09:05:12 -07:00
README.rst fix bug link in readme 2015-03-04 10:04:12 -05:00
requirements.txt Updated from global requirements 2015-03-21 00:16:50 +00:00
setup.cfg Move files out of the namespace package 2014-12-12 16:13:29 -05:00
setup.py Updated from global requirements 2014-04-30 02:45:43 +00:00
test-requirements.txt Update hacking to kilo level 2015-04-03 13:55:07 +00:00
tox.ini Activate pep8 check that _ is imported 2014-10-31 19:51:20 +00:00

Oslo Configuration Library

The Oslo configuration API supports parsing command line arguments and .ini style configuration files.