Improve variable names in strategy implementations

Renamed many of the variables and method parameters
in the strategy implementations to make the names
more meaningful.  Also changed the abstract method
signature in base.py to reflect these changes.

Closes-Bug: #1541615

Change-Id: Ibeba6c6ef6d5b70482930f387b05d5d650812355
This commit is contained in:
Steve Wilkerson
2016-02-04 07:23:23 -06:00
parent fe3f6e73be
commit 37dd713ed5
4 changed files with 123 additions and 110 deletions

View File

@@ -64,10 +64,10 @@ class BaseStrategy(object):
self._osc = osc
@abc.abstractmethod
def execute(self, model):
def execute(self, original_model):
"""Execute a strategy
:param model: The name of the strategy to execute (loaded dynamically)
:param original_model: The model the strategy is executed on
:type model: str
:return: A computed solution (via a placement algorithm)
:rtype: :class:`watcher.decision_engine.solution.base.BaseSolution`