diff options
author | Markus Zoeller <mzoeller@de.ibm.com> | 2016-01-25 14:31:27 +0100 |
---|---|---|
committer | Markus Zoeller <mzoeller@de.ibm.com> | 2016-04-08 17:36:46 +0200 |
commit | c47b4299a0cfa17899cbfc0e500d86dbe70775a1 (patch) | |
tree | c30a621c5ba3168896a7c82aa4962a0e349ff7c0 /nova/config.py | |
parent | a9459d3c41fa28dbbdac01d058d4a45e78906f7c (diff) | |
download | nova-c47b4299a0cfa17899cbfc0e500d86dbe70775a1.tar.gz |
Config options: centralize base path configuration
This change moves all of the configuration options previously defined
in "nova/paths" to the new centralized "nova/conf" directory.
A subsequent patch will then improve the help texts.
As the helper functions to create specific directories are only used
for the default values of other config options, they got moved too.
The default value of the config option "pybasedir" gets determined by
the directory which contains it. The old directory was "nova/" and
new directory is "nova/conf/". That made it necessary to move one
additional directory upwards with "../../" to preserve the correct
default value.
bp centralize-config-options-newton
Change-Id: I65fc8d83da660e131e89ce5849e7535e969adcb2
Diffstat (limited to 'nova/config.py')
-rw-r--r-- | nova/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/config.py b/nova/config.py index bdefd09f3d..ff25628c6e 100644 --- a/nova/config.py +++ b/nova/config.py @@ -21,8 +21,8 @@ from oslo_log import log from nova.common import config import nova.conf +from nova.conf import paths from nova.db.sqlalchemy import api as sqlalchemy_api -from nova import paths from nova import rpc from nova import version |