From c67f83cce0afac79c14d890b38ba25ac7b6e7e7a Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Wed, 23 Mar 2016 21:15:27 -0500 Subject: [PATCH] Added information on plugin mechanism to glossary Added extra information regarding the plugin mechanism for: action, strategy, and Watcher planner. Change-Id: I9a7523282e229b83c16b06e3806ff795a0699c78 Closes-Bug: #1558470 --- watcher/api/controllers/v1/action.py | 4 ++++ watcher/decision_engine/planner/base.py | 4 ++++ watcher/decision_engine/strategy/strategies/base.py | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/watcher/api/controllers/v1/action.py b/watcher/api/controllers/v1/action.py index cd0c44363..e98bf7251 100644 --- a/watcher/api/controllers/v1/action.py +++ b/watcher/api/controllers/v1/action.py @@ -49,6 +49,10 @@ be one of the following: - **CANCELLED** : the :ref:`Action ` was in **PENDING** or **ONGOING** state and was cancelled by the :ref:`Administrator ` + +:ref:`Some default implementations are provided `, but it is +possible to :ref:`develop new implementations ` which +are dynamically loaded by Watcher at launch time. """ import datetime diff --git a/watcher/decision_engine/planner/base.py b/watcher/decision_engine/planner/base.py index c6358b192..8fd47eee3 100644 --- a/watcher/decision_engine/planner/base.py +++ b/watcher/decision_engine/planner/base.py @@ -37,6 +37,10 @@ congestion which may decrease the :ref:`SLA ` for It is also important to schedule :ref:`Actions ` in order to avoid security issues such as denial of service on core OpenStack services. +:ref:`Some default implementations are provided `, but it is +possible to :ref:`develop new implementations ` +which are dynamically loaded by Watcher at launch time. + See :doc:`../architecture` for more details on this component. """ diff --git a/watcher/decision_engine/strategy/strategies/base.py b/watcher/decision_engine/strategy/strategies/base.py index 7054819bf..375ae5336 100644 --- a/watcher/decision_engine/strategy/strategies/base.py +++ b/watcher/decision_engine/strategy/strategies/base.py @@ -30,6 +30,10 @@ to find an optimal :ref:`Solution `. When a new :ref:`Goal ` is added to the Watcher configuration, at least one default associated :ref:`Strategy ` should be provided as well. + +:ref:`Some default implementations are provided `, but it +is possible to :ref:`develop new implementations ` +which are dynamically loaded by Watcher at launch time. """ import abc