Groovy Documentation

com.ace.mws.policies
[Groovy] Enum AutoVMMigrationPolicyType

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

enum AutoVMMigrationPolicyType

Represents the algorithm used to migrate VMs when the AutoVMMigrationPolicy is used.

Authors:
bsaville


Enum Constant Summary
CONSOLIDATION

Use the "consolidation" algorithm for migration.

NONE

Used when the Auto VM Migration policy is currently disabled in Moab and before any settings are saved the first time.

OVERCOMMIT

Use the "overcommit" algorithm for migration.

 
Field Summary
private def str

 
Constructor Summary
private AutoVMMigrationPolicyType(String str)

 
Method Summary
String toString()

AutoVMMigrationPolicyType valueOf(String name)

Returns the enum constant of this type with the specified name.

AutoVMMigrationPolicyType[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

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

Enum Constant Detail

CONSOLIDATION

AutoVMMigrationPolicyType CONSOLIDATION
Use the "consolidation" algorithm for migration. THe goal of this algorithm is to load hypervisors as close to thresholds as possible, without exceeding them. This policy places VMs to be migrated on the most loaded hypervisor possible, within these constraints. a second loop of this policy will select lightly-loaded hypervisors to be evacuated completely.


NONE

AutoVMMigrationPolicyType NONE
Used when the Auto VM Migration policy is currently disabled in Moab and before any settings are saved the first time.

For example, if the policy is disabled on the first read of Moab policies, the AutoVMMigrationPolicy#migrationAlgorithmType#migrationAlgorithmType will be set to NONE. If the policy is enabled and the type to OVERCOMMIT, followed by a disabling of the policy, it will then be represented as having a state of DISABLED with a migrationAlgorithmType of OVERCOMMIT.


OVERCOMMIT

AutoVMMigrationPolicyType OVERCOMMIT
Use the "overcommit" algorithm for migration. The goal of this algorithm is to equalize loads across hypervisors as migrations are queued due to overcommit conditions. This places VMs to be migrated on the least-loaded hypervisor available.


 
Field Detail

str

private def str


 
Constructor Detail

AutoVMMigrationPolicyType

private AutoVMMigrationPolicyType(String str)


 
Method Detail

toString

String toString()


valueOf

AutoVMMigrationPolicyType valueOf(String name)
Returns the enum constant of this type with the specified name.


values

AutoVMMigrationPolicyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation