summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAndrew Laski <andrew.laski@rackspace.com>2013-02-19 18:43:23 -0500
committerAndrew Laski <andrew.laski@rackspace.com>2013-02-19 18:53:10 -0500
commitd2b553030e29802f01baa0cac9cfb332aab0eb92 (patch)
treeca2170754e365e8691ea22d5e4a0d2e9d6fc4e46 /etc
parent0424bd59fcd4c2f299dc61f57e576d97193a5769 (diff)
downloadnova-d2b553030e29802f01baa0cac9cfb332aab0eb92.tar.gz
Add an extension to show image size.
Adds image size data that is returned from Glance into the API response. This becomes really useful for users when they take a snapshot and want to track the storage used by it. Since this information is already being pulled by Nova we should display it. DocImpact Change-Id: I8a2d4001c21bcc54cac1a2992034dfc9fbe39d7e
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 a8bc6f1414..7ff98d7362 100644
--- a/etc/nova/policy.json
+++ b/etc/nova/policy.json
@@ -66,6 +66,7 @@
"compute_extension:hide_server_addresses": "is_admin:False",
"compute_extension:hosts": "rule:admin_api",
"compute_extension:hypervisors": "rule:admin_api",
+ "compute_extension:image_size": "",
"compute_extension:instance_actions": "",
"compute_extension:instance_actions:events": "rule:admin_api",
"compute_extension:instance_usage_audit_log": "rule:admin_api",