watcher.api.controllers.v1.action
Modulewatcher.api.controllers.v1.action
Module¶An Action is what enables Watcher to transform the current state of a Cluster after an Audit.
An Action is an atomic task which changes the current state of a target Managed resource of the OpenStack Cluster such as:
In most cases, an Action triggers some concrete commands on an existing OpenStack module (Nova, Neutron, Cinder, Ironic, etc.).
An Action has a life-cycle and its current state may be one of the following:
Some default implementations are provided, but it is possible to develop new implementations which are dynamically loaded by Watcher at launch time.
watcher.api.controllers.v1.action.
Action
(**kwargs)[source]¶Bases: watcher.api.controllers.base.APIBase
API representation of a action.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of a action.
watcher.api.controllers.v1.action.
ActionCollection
(**kwargs)[source]¶Bases: watcher.api.controllers.v1.collection.Collection
API representation of a collection of actions.
watcher.api.controllers.v1.action.
ActionsController
[source]¶Bases: pecan.rest.RestController
REST controller for Actions.
detail
(*args, **kwargs)[source]¶Retrieve a list of actions with detail.
Parameters: |
|
---|
get_all
(*args, **kwargs)[source]¶Retrieve a list of actions.
Parameters: |
|
---|
get_one
(*args, **kwargs)[source]¶Retrieve information about the given action.
Parameters: | action_uuid – UUID of a action. |
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.