Add Overload standard deviation strategy

The main purpose of this strategy is to choose the pair VM:dest_host that
minimizes the standard deviation in a cluster best.

Change-Id: I95a31b7bcab83411ef6b6e1e01818ca21ef96883
Implements: blueprint watcher-overload-sd
This commit is contained in:
Alexander Chadin
2016-03-25 12:15:14 +03:00
parent 4e3caaa157
commit 9d3671af37
8 changed files with 639 additions and 2 deletions

View File

@@ -222,3 +222,19 @@ class ThermalOptimizationBaseStrategy(BaseStrategy):
@classmethod
def get_translatable_goal_display_name(cls):
return "Thermal optimization"
@six.add_metaclass(abc.ABCMeta)
class WorkloadStabilizationBaseStrategy(BaseStrategy):
@classmethod
def get_goal_name(cls):
return "WORKLOAD_BALANCING"
@classmethod
def get_goal_display_name(cls):
return _("Workload balancing")
@classmethod
def get_translatable_goal_display_name(cls):
return "Workload balancing"