summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMatthew Treinish <treinish@linux.vnet.ibm.com>2012-10-15 14:47:28 -0400
committerMatthew Treinish <treinish@linux.vnet.ibm.com>2012-12-11 13:24:17 -0500
commit2ec79220e1d65b6025ed2d9c275a6a9150db2de6 (patch)
treead8abb9ff2d88be4b65155ed33aaaee18a02f224 /etc
parenta7551a20b2f54daf952097a93126c554b91098cc (diff)
downloadnova-2ec79220e1d65b6025ed2d9c275a6a9150db2de6.tar.gz
nova-2ec79220e1d65b6025ed2d9c275a6a9150db2de6.tar.xz
nova-2ec79220e1d65b6025ed2d9c275a6a9150db2de6.zip
Add coverage extension to nova API.
This adds a new extension to nova API. It allows for internal use of Ned Batchelder's coverage_ module. (what is used for the nosecoverage plugin) The api allows for coverage to be enabled and a report to be output to a file with API calls. The intended use of this is for instrumenting client based tests like Tempest. Coverage on tempest will not give information regarding how much of nova is covered. Implements: blueprint coverage-extension Change-Id: I47497f5be3fd5956250f2dcd1630c86c72725ce8 Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
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 778203e75..aad8296a2 100644
--- a/etc/nova/policy.json
+++ b/etc/nova/policy.json
@@ -33,6 +33,7 @@
"compute_extension:cloudpipe_update": "rule:admin_api",
"compute_extension:console_output": "",
"compute_extension:consoles": "",
+ "compute_extension:coverage_ext": "rule:admin_api",
"compute_extension:createserverext": "",
"compute_extension:deferred_delete": "",
"compute_extension:disk_config": "",