The watcher.decision_engine.solution.default Module

The watcher.decision_engine.solution.default Module

class watcher.decision_engine.solution.default.DefaultSolution(goal, strategy)[source]

Bases: watcher.decision_engine.solution.base.BaseSolution

add_action(action_type, input_parameters=None, resource_id=None)[source]

Add a new Action in the Solution

Parameters:
  • action_type – the unique id of an action type defined in entry point ‘watcher_actions’
  • resource_id – the unique id of the resource to which the Action applies.
  • input_parameters – An array of input parameters provided as key-value pairs of strings. Each key-pair contains names and values that match what was previously defined in the Action type schema.
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.