
This patch adds actuator strategy document. Change-Id: I5f0415754c83e4f152155988625ada2208d6c35a
2.1 KiB
2.1 KiB
Actuator
Synopsis
display name: Actuator
goal: unclassified
watcher.decision_engine.strategy.strategies.actuation
Requirements
Metrics
None
Cluster data model
None
Actions
Default Watcher's actions.
Planner
Default Watcher's planner:
watcher.decision_engine.planner.weight.WeightPlanner
Configuration
Strategy parameters are:
parameter | type | default Value | description |
---|---|---|---|
actions |
array | None | Actions to be executed. |
The elements of actions array are:
parameter | type | default Value | description |
---|---|---|---|
|
string |
None |
Action name defined in setup.cfg(mandatory) |
resource_id |
string | None | Resource_id of the action. |
|
object |
None |
Input_parameters of the action(mandatory). |
Efficacy Indicator
None
Algorithm
This strategy create an action plan with a predefined set of actions.
How to use it ?
$ openstack optimize audittemplate create \
at1 unclassified --strategy actuator
$ openstack optimize audit create -a at1 \
-p actions='[{"action_type": "migrate", "resource_id": "56a40802-6fde-4b59-957c-c84baec7eaed", "input_parameters": {"migration_type": "live", "source_node": "s01"}}]'
External Links
None