diff options
author | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-05-06 22:39:13 +0930 |
---|---|---|
committer | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-05-28 01:21:36 +0930 |
commit | d7da449eef09d6d86d10ffc354e614b58b08d1ce (patch) | |
tree | 0632b672fe04042e954f980e24c1086ed3875766 /etc | |
parent | e06ab5877462c83f6574b0304331e3ff906ddb14 (diff) | |
download | nova-d7da449eef09d6d86d10ffc354e614b58b08d1ce.tar.gz nova-d7da449eef09d6d86d10ffc354e614b58b08d1ce.tar.xz nova-d7da449eef09d6d86d10ffc354e614b58b08d1ce.zip |
API Extensions framework for v3 API Part 2
This is the second patch for the new extension framework
which is only to be used by the Nova v3 API.
- Adds tracking of extensions loaded and allows
extensions access to this information
- Adds core API functionality as extensions
- 'server'
- Adds an entry point that other extensions can
use to modify the server create arguments without
having to modify the server extension itself
- TODO: Will have to add more entry points as other
extensions are ported. Delaying adding entry points
now so they can be tested as they are added.
- Adds port of os-keypairs extension
- This is an example of a controller extension in the new
framework
- This is an example of using the server extension entry
point to add functionality without modify the core API code
- Ports tests for the os-keypairs extensions
- Adds v3 API fake specific code for tests
This completes the bulk of the new extension framework. Porting
of the server tests will be done in future changesets as more
of the core API is ported across as the tests are dependent
on multiple core APIs.
Partially implements blueprint v3-api-extension-framework
Change-Id: Ibadb5bbe808c27d2f4afebe65c06a92576397085
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nova/policy.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/nova/policy.json b/etc/nova/policy.json index 26a227ae2..cd6892596 100644 --- a/etc/nova/policy.json +++ b/etc/nova/policy.json @@ -74,6 +74,7 @@ "compute_extension:instance_actions:events": "rule:admin_api", "compute_extension:instance_usage_audit_log": "rule:admin_api", "compute_extension:keypairs": "", + "compute_extension:v3:os-keypairs": "", "compute_extension:multinic": "", "compute_extension:networks": "rule:admin_api", "compute_extension:networks:view": "", |