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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user