diff options
| author | Matthew Treinish <treinish@linux.vnet.ibm.com> | 2012-10-15 14:47:28 -0400 |
|---|---|---|
| committer | Matthew Treinish <treinish@linux.vnet.ibm.com> | 2012-12-11 13:24:17 -0500 |
| commit | 2ec79220e1d65b6025ed2d9c275a6a9150db2de6 (patch) | |
| tree | ad8abb9ff2d88be4b65155ed33aaaee18a02f224 /doc | |
| parent | a7551a20b2f54daf952097a93126c554b91098cc (diff) | |
| download | nova-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 'doc')
| -rw-r--r-- | doc/api_samples/all_extensions/extensions-get-resp.json | 8 | ||||
| -rw-r--r-- | doc/api_samples/all_extensions/extensions-get-resp.xml | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/api_samples/all_extensions/extensions-get-resp.json b/doc/api_samples/all_extensions/extensions-get-resp.json index 399d937a7..e44d1a117 100644 --- a/doc/api_samples/all_extensions/extensions-get-resp.json +++ b/doc/api_samples/all_extensions/extensions-get-resp.json @@ -129,6 +129,14 @@ "updated": "2011-12-23T00:00:00+00:00" }, { + "alias": "os-coverage", + "description": "Enable Nova Coverage", + "links": [], + "name": "Coverage", + "namespace": "http://docs.openstack.org/compute/ext/coverage/api/v2", + "updated": "2012-10-15T00:00:00+00:00" + }, + { "alias": "os-create-server-ext", "description": "Extended support to the Create Server v1.1 API", "links": [], diff --git a/doc/api_samples/all_extensions/extensions-get-resp.xml b/doc/api_samples/all_extensions/extensions-get-resp.xml index e4d3b8cc3..b8f4c8986 100644 --- a/doc/api_samples/all_extensions/extensions-get-resp.xml +++ b/doc/api_samples/all_extensions/extensions-get-resp.xml @@ -60,6 +60,9 @@ <extension alias="os-consoles" updated="2011-12-23T00:00:00+00:00" namespace="http://docs.openstack.org/compute/ext/os-consoles/api/v2" name="Consoles"> <description>Interactive Console support.</description> </extension> + <extension alias="os-coverage" updated="2012-10-15T00:00:00+00:00" namespace="http://docs.openstack.org/compute/ext/coverage/api/v2" name="Coverage"> + <description>Enable Nova Coverage</description> + </extension> <extension alias="os-create-server-ext" updated="2011-07-19T00:00:00+00:00" namespace="http://docs.openstack.org/compute/ext/createserverext/api/v1.1" name="Createserverext"> <description>Extended support to the Create Server v1.1 API</description> </extension> |
