Groovy Documentation

com.ace.mws.policies
[Groovy] Class AutoVMMigrationPolicy

java.lang.Object
  com.ace.mws.policies.AutoVMMigrationPolicy

class AutoVMMigrationPolicy

The Moab policy used to enabled and configure policy-based VM migration. Using information about data center applications and server load, Moab can aim to keep VMs in the data center optimally distributed across all hypervisors.

This class inherits fields from Policy.

Authors:
bsaville
See Also:
Policy


Field Summary
private Boolean conflicted

private String description

private Map genericMetricThresholds

(Map of String => Double) A map of generic metric pairings where each value must be greater than or equal to 0 such as:

 METRIC1 => 5.6
 METRIC2 => 0.0
 METRIC3 => 102.4
 

private String id

private Double memoryUtilizationThreshold

Defines the utilization threshold for memory.

private AutoVMMigrationPolicyType migrationAlgorithmType

Configures the VM migration algorithm utilized when the policy is active.

private String name

private Set potentialConflicts

(String collection)

private Integer priority

private Double processorUtilizationThreshold

Defines the load utilization threshold for processors.

private PolicyState state

private Set tags

(String collection)

private Set types

(String collection)

 
Constructor Summary
AutoVMMigrationPolicy()

 
Method Summary
Boolean getConflicted()

String getDescription()

Map getGenericMetricThresholds()

(Map of String => Double) A map of generic metric pairings where each value must be greater than or equal to 0 such as:

 METRIC1 => 5.6
 METRIC2 => 0.0
 METRIC3 => 102.4
 

String getId()

Double getMemoryUtilizationThreshold()

Defines the utilization threshold for memory.

AutoVMMigrationPolicyType getMigrationAlgorithmType()

Configures the VM migration algorithm utilized when the policy is active.

String getName()

Set getPotentialConflicts()

(String collection)

Integer getPriority()

Double getProcessorUtilizationThreshold()

Defines the load utilization threshold for processors.

PolicyState getState()

Set getTags()

(String collection)

Set getTypes()

(String collection)

void setConflicted(Boolean conflicted)

void setDescription(String description)

void setGenericMetricThresholds(Map genericMetricThresholds)

(Map of String => Double) A map of generic metric pairings where each value must be greater than or equal to 0 such as:

 METRIC1 => 5.6
 METRIC2 => 0.0
 METRIC3 => 102.4
 

void setId(String id)

void setMemoryUtilizationThreshold(Double memoryUtilizationThreshold)

Defines the utilization threshold for memory.

void setMigrationAlgorithmType(AutoVMMigrationPolicyType migrationAlgorithmType)

Configures the VM migration algorithm utilized when the policy is active.

void setName(String name)

void setPotentialConflicts(Set potentialConflicts)

(String collection)

void setPriority(Integer priority)

void setProcessorUtilizationThreshold(Double processorUtilizationThreshold)

Defines the load utilization threshold for processors.

void setState(PolicyState state)

void setTags(Set tags)

(String collection)

void setTypes(Set types)

(String collection)

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

conflicted

private Boolean conflicted


description

private String description


genericMetricThresholds

private Map genericMetricThresholds
(Map of String => Double) A map of generic metric pairings where each value must be greater than or equal to 0 such as:
 METRIC1 => 5.6
 METRIC2 => 0.0
 METRIC3 => 102.4
 
See Also:
Double


id

private String id


memoryUtilizationThreshold

private Double memoryUtilizationThreshold
Defines the utilization threshold for memory. This must be greater than 0 and less than or equal to 1. A value of 1 effectively disables the threshold.


migrationAlgorithmType

private AutoVMMigrationPolicyType migrationAlgorithmType
Configures the VM migration algorithm utilized when the policy is active. Defaults to AutoVMMigrationPolicyType.NONE. When PolicyState.ENABLED, this must not be set to NONE.


name

private String name


potentialConflicts

private Set potentialConflicts
(String collection)


priority

private Integer priority


processorUtilizationThreshold

private Double processorUtilizationThreshold
Defines the load utilization threshold for processors. This must be greater than 0 and less than or equal to 1. A value of 1 effectively disables the threshold.


state

private PolicyState state


tags

private Set tags
(String collection)


types

private Set types
(String collection)


 
Constructor Detail

AutoVMMigrationPolicy

AutoVMMigrationPolicy()


 
Method Detail

getConflicted

Boolean getConflicted()


getDescription

String getDescription()


getGenericMetricThresholds

Map getGenericMetricThresholds()
(Map of String => Double) A map of generic metric pairings where each value must be greater than or equal to 0 such as:
 METRIC1 => 5.6
 METRIC2 => 0.0
 METRIC3 => 102.4
 
See Also:
Double


getId

String getId()


getMemoryUtilizationThreshold

Double getMemoryUtilizationThreshold()
Defines the utilization threshold for memory. This must be greater than 0 and less than or equal to 1. A value of 1 effectively disables the threshold.


getMigrationAlgorithmType

AutoVMMigrationPolicyType getMigrationAlgorithmType()
Configures the VM migration algorithm utilized when the policy is active. Defaults to AutoVMMigrationPolicyType.NONE. When PolicyState.ENABLED, this must not be set to NONE.


getName

String getName()


getPotentialConflicts

Set getPotentialConflicts()
(String collection)


getPriority

Integer getPriority()


getProcessorUtilizationThreshold

Double getProcessorUtilizationThreshold()
Defines the load utilization threshold for processors. This must be greater than 0 and less than or equal to 1. A value of 1 effectively disables the threshold.


getState

PolicyState getState()


getTags

Set getTags()
(String collection)


getTypes

Set getTypes()
(String collection)


setConflicted

void setConflicted(Boolean conflicted)


setDescription

void setDescription(String description)


setGenericMetricThresholds

void setGenericMetricThresholds(Map genericMetricThresholds)
(Map of String => Double) A map of generic metric pairings where each value must be greater than or equal to 0 such as:
 METRIC1 => 5.6
 METRIC2 => 0.0
 METRIC3 => 102.4
 
See Also:
Double


setId

void setId(String id)


setMemoryUtilizationThreshold

void setMemoryUtilizationThreshold(Double memoryUtilizationThreshold)
Defines the utilization threshold for memory. This must be greater than 0 and less than or equal to 1. A value of 1 effectively disables the threshold.


setMigrationAlgorithmType

void setMigrationAlgorithmType(AutoVMMigrationPolicyType migrationAlgorithmType)
Configures the VM migration algorithm utilized when the policy is active. Defaults to AutoVMMigrationPolicyType.NONE. When PolicyState.ENABLED, this must not be set to NONE.


setName

void setName(String name)


setPotentialConflicts

void setPotentialConflicts(Set potentialConflicts)
(String collection)


setPriority

void setPriority(Integer priority)


setProcessorUtilizationThreshold

void setProcessorUtilizationThreshold(Double processorUtilizationThreshold)
Defines the load utilization threshold for processors. This must be greater than 0 and less than or equal to 1. A value of 1 effectively disables the threshold.


setState

void setState(PolicyState state)


setTags

void setTags(Set tags)
(String collection)


setTypes

void setTypes(Set types)
(String collection)


toString

String toString()


 

Groovy Documentation