OSAPI: support 'user' and 'core' extensions paths
Bug #742545 reported by
Dan Prince
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Dan Prince |
Bug Description
The osapi_extension
It would be nice to have an extensions directory within the nova tree which we could use for 'core' extensions. This would provide a good place to add extended OS API features that are not part of the official spec but exist within the nova source code base. The core extension mechanism should probably provide a way to make core extensions optional such that they can also be disabled.
Related branches
lp://staging/~justin-fathomdb/nova/volumes-api
- Dan Prince (community): Approve
- Devin Carlen (community): Approve
- termie (community): Approve
- Jay Pipes (community): Abstain
- Thierry Carrez (community): Approve (ffe)
-
Diff: 1967 lines (+1389/-128)16 files modified.bzrignore (+5/-0)
nova/api/openstack/__init__.py (+2/-0)
nova/api/openstack/common.py (+6/-0)
nova/api/openstack/contrib/__init__.py (+22/-0)
nova/api/openstack/contrib/volumes.py (+336/-0)
nova/api/openstack/extensions.py (+142/-64)
nova/image/fake.py (+113/-0)
nova/tests/integrated/api/client.py (+37/-3)
nova/tests/integrated/integrated_helpers.py (+99/-24)
nova/tests/integrated/test_extensions.py (+44/-0)
nova/tests/integrated/test_login.py (+5/-16)
nova/tests/integrated/test_servers.py (+184/-0)
nova/tests/integrated/test_volumes.py (+295/-0)
nova/virt/driver.py (+14/-9)
nova/virt/fake.py (+10/-10)
nova/volume/driver.py (+75/-2)
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
description: | updated |
Changed in nova: | |
status: | New → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Dan - not sure if you've started this, but if not, I can probably do it... I need to repackage volumes as an extension.