The watcher.decision_engine.goal.efficacy.specs Module

The watcher.decision_engine.goal.efficacy.specs Module

class watcher.decision_engine.goal.efficacy.specs.HardwareMaintenance[source]

Bases: watcher.decision_engine.goal.efficacy.base.EfficacySpecification

get_global_efficacy_indicator(indicators_map=None)[source]

Compute the global efficacy for the goal it achieves

Parameters:indicators_map (IndicatorsMap instance) – dict-like object containing the efficacy indicators related to this spec
Raises:NotImplementedError
Returns:Indicator instance list, each instance specify global efficacy for different openstack resource.
get_indicators_specifications()[source]

List the specifications of the indicator for this efficacy spec

Returns:Tuple of indicator specifications
Return type:Tuple of IndicatorSpecification instances
class watcher.decision_engine.goal.efficacy.specs.ServerConsolidation[source]

Bases: watcher.decision_engine.goal.efficacy.base.EfficacySpecification

get_global_efficacy_indicator(indicators_map=None)[source]

Compute the global efficacy for the goal it achieves

Parameters:indicators_map (IndicatorsMap instance) – dict-like object containing the efficacy indicators related to this spec
Raises:NotImplementedError
Returns:Indicator instance list, each instance specify global efficacy for different openstack resource.
get_indicators_specifications()[source]

List the specifications of the indicator for this efficacy spec

Returns:Tuple of indicator specifications
Return type:Tuple of IndicatorSpecification instances
class watcher.decision_engine.goal.efficacy.specs.Unclassified[source]

Bases: watcher.decision_engine.goal.efficacy.base.EfficacySpecification

get_global_efficacy_indicator(indicators_map)[source]

Compute the global efficacy for the goal it achieves

Parameters:indicators_map (IndicatorsMap instance) – dict-like object containing the efficacy indicators related to this spec
Raises:NotImplementedError
Returns:Indicator instance list, each instance specify global efficacy for different openstack resource.
get_indicators_specifications()[source]

List the specifications of the indicator for this efficacy spec

Returns:Tuple of indicator specifications
Return type:Tuple of IndicatorSpecification instances
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.