diff options
author | Eli Qiao <taget@linux.vnet.ibm.com> | 2014-10-15 11:32:54 +0800 |
---|---|---|
committer | Eli Qiao <taget@linux.vnet.ibm.com> | 2014-11-19 10:09:58 +0800 |
commit | 0621c2507fbcdf96f3c230ce49f1bb103767f4e6 (patch) | |
tree | cc24542a1e7ea2bbc9d848ca63136765ce7bf04e /etc | |
parent | 90dee8d431380d3cc2eb87c558585be1e3880b7a (diff) | |
download | nova-0621c2507fbcdf96f3c230ce49f1bb103767f4e6.tar.gz |
Port assisted-volume-snapshots extension to v2.1
This patch ports assisted-volume-snapshots to v2.1 and make v2 and v2.1
share unit test cases.
This patch addes a schema to do the input validation for snapshots_create
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .
Partially implements blueprint v2-on-v3-api
Change-Id: I5b7be1de8ac2628a287897dcc5ca0eaf7a8957a2
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nova/policy.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/nova/policy.json b/etc/nova/policy.json index 5d38b654a4..6d0a258eee 100644 --- a/etc/nova/policy.json +++ b/etc/nova/policy.json @@ -309,6 +309,9 @@ "compute_extension:v3:os-migrations:discoverable": "", "compute_extension:os-assisted-volume-snapshots:create": "rule:admin_api", "compute_extension:os-assisted-volume-snapshots:delete": "rule:admin_api", + "compute_extension:v3:os-assisted-volume-snapshots:create": "rule:admin_api", + "compute_extension:v3:os-assisted-volume-snapshots:delete": "rule:admin_api", + "compute_extension:v3:os-assisted-volume-snapshots:discoverable": "", "compute_extension:console_auth_tokens": "rule:admin_api", "compute_extension:v3:os-console-auth-tokens": "rule:admin_api", "compute_extension:os-server-external-events:create": "rule:admin_api", |