3.20.1. Get coverage report

 
MethodURIDescription
POST/v2/{tenant_id}/os-coverage/action

Generates a coverage report.

Normal response codes: 200

 3.20.1.1. Request

This table shows the URI parameters for the get coverage report request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

 

Example 3.159. Start combined report: JSON request

{
    "report": {
        "xml": true,
        "file": "report"
    }
}

 

Example 3.160. Start combined report: XML request

<?xml version="1.0" encoding="UTF-8"?>
<report>
    <file>report</file>
    <xml>True</xml>
</report>

This operation does not require a request body.

 3.20.1.2. Response

 

Example 3.161. Get coverage report: JSON response

{
    "path": "/tmp/tmp6kdYaa/nova-coverage_TOTUbz/report"
}

 

Example 3.162. Get coverage report: XML response

<?xml version='1.0' encoding='UTF-8'?>
<path>/tmp/tmp4j87bp/nova-coverage_7ViTA7/report</path>

This operation does not return a response body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...