summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMahesh K P <maheshp@thoughtworks.com>2013-04-17 11:41:41 +0530
committerNavneet Kumar <navneetk@thoughtworks.com>2013-05-17 10:42:07 +0530
commit9f9c40d56954baf183968b6ea9db9aec62f4c064 (patch)
tree4cc12f795f7fa8cd6e8329d6915acaf543a4a164 /etc
parent1d5d58c96974a2e5742887aafb48675084fbfd48 (diff)
downloadnova-9f9c40d56954baf183968b6ea9db9aec62f4c064.tar.gz
nova-9f9c40d56954baf183968b6ea9db9aec62f4c064.tar.xz
nova-9f9c40d56954baf183968b6ea9db9aec62f4c064.zip
Return Customer's Quota Usage through Admin API
DocImpact: This patch adds an extension 'UsedLimitsForAdmin'. If this extention is enabled then it extends the used limits API behavior, such that admin can fetch the details of any customer's quota usage by passing the customer's tenant id in query parameters.The API signature for the same is 'v2/{tenant_id}/limits?tenant_id={customer_tenant_id}' Change-Id: I89b8b5083e46b899458407426c89a3865e960faa Implements: blueprint customer-quota-through-admin-api
Diffstat (limited to 'etc')
-rw-r--r--etc/nova/policy.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/nova/policy.json b/etc/nova/policy.json
index 26a227ae2..d4f2aaad9 100644
--- a/etc/nova/policy.json
+++ b/etc/nova/policy.json
@@ -100,6 +100,7 @@
"compute_extension:volumetypes": "",
"compute_extension:availability_zone:list": "",
"compute_extension:availability_zone:detail": "rule:admin_api",
+ "compute_extension:used_limits_for_admin": "rule:admin_api",
"volume:create": "",