From f9fa7a68a368cefd79ccc6d5d2b91cbdb4d17be7 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Wed, 29 Aug 2012 17:50:58 -0700 Subject: Clean up non-spec output in flavor extensions Adds option to cache flavors in the request object like instances. Modifies the flavorextradata extension to use the cache and optimizes tests. Adds flavor_disabled extension to control the extra data and includes tests. Fixes api samples to show the new extension. Fixes bug 1043585 Change-Id: Ie89df24a2891e3869d3fb604e07c79e8c913f290 --- etc/nova/policy.json | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/nova/policy.json b/etc/nova/policy.json index 2a722b9a1..2704bdcd5 100644 --- a/etc/nova/policy.json +++ b/etc/nova/policy.json @@ -36,6 +36,7 @@ "compute_extension:extended_server_attributes": [["rule:admin_api"]], "compute_extension:extended_status": [], "compute_extension:flavor_access": [], + "compute_extension:flavor_disabled": [], "compute_extension:flavorextradata": [], "compute_extension:flavorextraspecs": [], "compute_extension:flavormanage": [["rule:admin_api"]], -- cgit