Make default Planner generic to handle third-party action plugins

Registered by Vincent Françoise on 2016-03-02

Watcher provides a very modular architecture that currently allows anyone to provide custom plugins:

- Strategies
- Planner
- Action
- Workflow Engine

In most of the above, their related implementation(s) are generic enough so that they can work with any 3rd party plugin out of the box. However, this is currently not the case for the "default" planner which defines a hardcoded set of priorities for each action type. Hence, this means that adding a new action_type via an action plugin and reference it in a strategy would result in an error and the only solution is to create a planner plugin that would adapt to this new action.

Blueprint information

Status:
Complete
Approver:
Antoine Cabot
Priority:
Medium
Drafter:
Vincent Françoise
Direction:
Approved
Assignee:
Jinquan Ni
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon newton-2
Started by
Jinquan Ni on 2016-06-23
Completed by
Vincent Françoise on 2016-07-12

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/configurable-weights-default-planner,n,z

Addressed by: https://review.openstack.org/337049
    Make default Planner generic

Addressed by: https://review.openstack.org/338921
    Make default Planner generic to handle new action

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.