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.
NoneBases: watcher.api.controllers.base.APIBase
API representation of an audit.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of an audit.
Audit.convert_with_links(rpc_audit, expand=True)¶Audit.sample(expand=True)¶NoneBases: watcher.api.controllers.v1.collection.Collection
API representation of a collection of audits.
AuditCollection.convert_with_links(rpc_audits, limit, url=None, expand=False, **kwargs)¶AuditCollection.sample()¶NoneBases: watcher.api.controllers.v1.types.JsonPatchType
AuditPatchType.mandatory_attrs()¶Returns a list of mandatory attributes.
Mandatory attributes can’t be removed from the document. This method should be overwritten by derived class.
AuditPatchType.validate(patch)¶NoneBases: wsme.types.Base
AuditPostType.as_audit(context)¶NoneBases: pecan.rest.RestController
REST controller for Audits.
AuditsController.delete(audit)[source]¶Delete an audit.
| Parameters: | audit – UUID or name of an audit. |
|---|
AuditsController.detail(goal=None, marker=None, limit=None, sort_key='id', sort_dir='asc')[source]¶Retrieve a list of audits with detail.
| Parameters: |
|
|---|
AuditsController.get_all(marker=None, limit=None, sort_key='id', sort_dir='asc', goal=None, strategy=None)[source]¶Retrieve a list of audits.
| Parameters: |
|
|---|
AuditsController.get_one(audit)[source]¶Retrieve information about the given audit.
| Parameters: | audit – UUID or name of an audit. |
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.