summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorAnthony Young <sleepsonthefloor@gmail.com>2012-02-02 23:28:24 +0000
committerMark McLoughlin <markmc@redhat.com>2012-02-02 23:28:24 +0000
commit2f9fdc0e9f4cacda51350ecbf3fbf7d5e0d32268 (patch)
tree8d89b73fbb4cf9fb1fc28aaa6e87df2637546566 /openstack
parentd383f78f8ca27eaf982d150fd8c955f8bd451690 (diff)
downloadoslo-2f9fdc0e9f4cacda51350ecbf3fbf7d5e0d32268.tar.gz
oslo-2f9fdc0e9f4cacda51350ecbf3fbf7d5e0d32268.tar.xz
oslo-2f9fdc0e9f4cacda51350ecbf3fbf7d5e0d32268.zip
Implements blueprint separate-nova-volumeapi
[...] ** Removes flag osapi_extension and replaces with osapi_compute_extension and osapi_volume_extension [...] Change-Id: I4c2e57c3cafd4e1a9e2ff3ce201c8cf28326afcd
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/cfg.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstack/common/cfg.py b/openstack/common/cfg.py
index 34d5e6f..2562af4 100644
--- a/openstack/common/cfg.py
+++ b/openstack/common/cfg.py
@@ -32,14 +32,14 @@ Options can be strings, integers, floats, booleans, lists or 'multi strings':
enabled_apis_opt = \
cfg.ListOpt('enabled_apis',
- default=['ec2', 'osapi'],
+ default=['ec2', 'osapi_compute'],
help='List of APIs to enable by default')
DEFAULT_EXTENSIONS = [
'nova.api.openstack.contrib.standard_extensions'
]
- osapi_extension_opt = \
- cfg.MultiStrOpt('osapi_extension',
+ osapi_compute_extension_opt = \
+ cfg.MultiStrOpt('osapi_compute_extension',
default=DEFAULT_EXTENSIONS)
Option schemas are registered with with the config manager at runtime, but
@@ -55,7 +55,7 @@ before the option is referenced:
...
def _load_extensions(self):
- for ext_factory in self.conf.osapi_extension:
+ for ext_factory in self.conf.osapi_compute_extension:
....
A common usage pattern is for each option schema to be defined in the module or