watcher.api.controllers.v1.audit
Modulewatcher.api.controllers.v1.audit
Module¶In the Watcher system, an Audit is a request for optimizing a Cluster.
The optimization is done in order to satisfy one Goal on a given Cluster.
For each Audit, the Watcher system generates an Action Plan.
To see the life-cycle and description of an Audit states, visit the Audit State machine.
watcher.api.controllers.v1.audit.
Audit
(**kwargs)[source]¶Bases: watcher.api.controllers.base.APIBase
API representation of a audit.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of a audit.
watcher.api.controllers.v1.audit.
AuditCollection
(**kwargs)[source]¶Bases: watcher.api.controllers.v1.collection.Collection
API representation of a collection of audits.
watcher.api.controllers.v1.audit.
AuditsController
[source]¶Bases: pecan.rest.RestController
REST controller for Audits.
detail
(*args, **kwargs)[source]¶Retrieve a list of audits with detail.
Parameters: |
|
---|
get_all
(*args, **kwargs)[source]¶Retrieve a list of audits.
Parameters: |
|
---|
get_one
(*args, **kwargs)[source]¶Retrieve information about the given audit.
Parameters: | audit_uuid – UUID of a audit. |
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.