Add a dynamic loading of Actions handlers in the Watcher Applier
In watcher, an audit generates a set of actions which aims at achieving a given goal (lower energy consumption, ...). It is possible to configure different strategies in order to achieve each goal. Each strategy is written as a Python class which produces a set of actions. Today, the set of possible actions is fixed for a given version of Watcher and enables optimization algorithms to include actions such as instance migration, changing hypervisor state, changing power state (ACPI level, ...). The objective of this patchset is to give the ability to load the actions dynamically in order to apply the Action Plan. DocImpact Partially implements: blueprint watcher-add-actions-via-conf Change-Id: Idf295b94dca549ac65d4636e8889c8ab2ecc0df6
This commit is contained in:
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: python-watcher 0.21.1.dev32\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2016-01-14 14:51+0100\n"
|
||||
"POT-Creation-Date: 2016-01-15 10:25+0100\n"
|
||||
"PO-Revision-Date: 2015-12-11 15:42+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: fr\n"
|
||||
@@ -71,7 +71,11 @@ msgstr ""
|
||||
msgid "Error parsing HTTP response: %s"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/applier/primitives/change_nova_service_state.py:75
|
||||
#: watcher/applier/execution/default.py:52
|
||||
msgid "Trigger a rollback"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/applier/primitives/change_nova_service_state.py:66
|
||||
msgid "The target state is not defined"
|
||||
msgstr ""
|
||||
|
||||
@@ -261,11 +265,12 @@ msgid "the cluster state is not defined"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/common/exception.py:295
|
||||
msgid "The VM could not be found"
|
||||
msgstr ""
|
||||
#, python-format
|
||||
msgid "The instance '%(name)s' is not found"
|
||||
msgstr "L'instance '%(name)s' n'a pas été trouvée"
|
||||
|
||||
#: watcher/common/exception.py:299
|
||||
msgid "The hypervisor could not be found"
|
||||
msgid "The hypervisor is not found"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/common/exception.py:303
|
||||
@@ -348,7 +353,7 @@ msgstr ""
|
||||
msgid "'obj' argument type is not valid"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/decision_engine/planner/default.py:86
|
||||
#: watcher/decision_engine/planner/default.py:75
|
||||
msgid "The action plan is empty"
|
||||
msgstr ""
|
||||
|
||||
@@ -536,3 +541,9 @@ msgstr ""
|
||||
#~ msgid "The Meta-Action could not be found"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "The VM could not be found"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "The hypervisor could not be found"
|
||||
#~ msgstr ""
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: python-watcher 0.22.1.dev16\n"
|
||||
"Project-Id-Version: python-watcher 0.22.1.dev19\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2016-01-14 14:51+0100\n"
|
||||
"POT-Creation-Date: 2016-01-15 10:25+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -70,7 +70,11 @@ msgstr ""
|
||||
msgid "Error parsing HTTP response: %s"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/applier/primitives/change_nova_service_state.py:75
|
||||
#: watcher/applier/execution/default.py:52
|
||||
msgid "Trigger a rollback"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/applier/primitives/change_nova_service_state.py:66
|
||||
msgid "The target state is not defined"
|
||||
msgstr ""
|
||||
|
||||
@@ -259,11 +263,12 @@ msgid "the cluster state is not defined"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/common/exception.py:295
|
||||
msgid "The VM could not be found"
|
||||
#, python-format
|
||||
msgid "The instance '%(name)s' is not found"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/common/exception.py:299
|
||||
msgid "The hypervisor could not be found"
|
||||
msgid "The hypervisor is not found"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/common/exception.py:303
|
||||
@@ -346,7 +351,7 @@ msgstr ""
|
||||
msgid "'obj' argument type is not valid"
|
||||
msgstr ""
|
||||
|
||||
#: watcher/decision_engine/planner/default.py:86
|
||||
#: watcher/decision_engine/planner/default.py:75
|
||||
msgid "The action plan is empty"
|
||||
msgstr ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user