diff options
author | Chris Yeoh <cyeoh@au1.ibm.com> | 2014-09-03 17:29:42 +0930 |
---|---|---|
committer | Chris Yeoh <cyeoh@au1.ibm.com> | 2014-11-26 13:56:13 +1030 |
commit | c82f5886abd4073460c35bb023d85e4313c47d87 (patch) | |
tree | 8a217af4d41dc281170f4e0ba3616c6f72355dd0 /etc | |
parent | 3b58ab43f5fd9bb4f219eef8fa80de5ae72f16e1 (diff) | |
download | nova-c82f5886abd4073460c35bb023d85e4313c47d87.tar.gz |
Port v2 quota_classes extension to work in v2.1(v3) framework
Port v2 quota_classes extension and adapts it to the v2.1/v3 API
framework. API behaviour is identical with the exception that
there is no support for XML. Also
- unittest code modified to share existing testing with both
v2/v2.1
- Adds expected error decorators for API methods
- Adds API samples
Partially implements blueprint v2-on-v3-api
Change-Id: I372e9940f499d3e2cf621a58eafa9502d4e14cea
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nova/policy.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/nova/policy.json b/etc/nova/policy.json index 6d0a258eee..5612444d18 100644 --- a/etc/nova/policy.json +++ b/etc/nova/policy.json @@ -239,6 +239,8 @@ "compute_extension:v3:os-quota-sets:delete": "rule:admin_api", "compute_extension:v3:os-quota-sets:detail": "rule:admin_api", "compute_extension:quota_classes": "", + "compute_extension:v3:os-quota-class-sets": "", + "compute_extension:v3:os-quota-class-sets:discoverable": "", "compute_extension:rescue": "", "compute_extension:v3:os-rescue": "", "compute_extension:v3:os-rescue:discoverable": "", |