|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.mws.vms.VirtualMachine
class VirtualMachine
This class represents a virtual machine: a software implementation of a computer that executes programs like a physical machine (i.e. like a Node. A virtual machine, therefore, requires a host machine, usually called a hypervisor, which partitions its resources to be used by the one or many virtual machines it hosts.
A virtual machine needs to have an ID, will typically report an OS, and have a list of operating systems that it can run.
Field Summary | |
---|---|
private Set |
aliases
(String collection) The list of aliases that refer to this VM. |
private Integer |
availableDisk
The amount of disk space available on this VM. |
private Integer |
availableMemory
The amount of memory available on this VM. |
private Integer |
availableProcessors
The number of processors available on this VM. |
private Double |
cpuLoad
The CPU load for this VM. |
private String |
description
A description of this VM. |
private Long |
effectiveTimeToLive
Time (in seconds) that this VM has to run (0 means not set). |
private Set |
flags
(VMFlag collection) The flags associated with this VM. |
private Set |
genericEvents
(GenericEvent collection) The list of generic events reported on this VM. |
private Map |
genericMetrics
(Map of String => Double) The values for the generic metrics for this VM. |
private String |
id
The unique ID of the VM. |
private Date |
lastMigrationDate
The date when this VM was last migrated. |
private String |
lastSubstate
Last reported substate (substate is not always reported). |
private Date |
lastSubstateModificationDate
Date/time that lastSubstate was modified. |
private Date |
lastUpdateDate
The date of when this VM was last updated. |
private Integer |
migrationCount
The number of times this VM has been migrated. |
private String |
networkAddress
The network address of this VM. |
private Node |
node
The physical node on which this VM is running. |
private String |
os
The current operating system of the VM. |
private Set |
osList
(String collection) The list of operating systems that the VM can run. |
private NodePower |
powerSelectState
The selected power state of this VM. |
private NodePower |
powerState
The power state of this VM. |
private Integer |
rack
The rack of the VM inside a given node. |
private Long |
requestedTimeToLive
User-specified time (in seconds) that this VM has to run (0 means not set). |
private Integer |
slot
The slot of the VM inside a given node. |
private Boolean |
sovereign
This causes Moab to reserve the VM's memory and processors on the hypervisor, and treats the VM as the workload. |
private Date |
startDate
Date/time that this VM was started (ready and usable) |
private NodeState |
state
The state of the VM. |
private String |
storage
Storage request (not OS disk storage). |
private String |
substate
The substate that will give more information about the status of the VM. |
private String |
template
Job template for the VM. |
private Integer |
totalDisk
The amount of disk space configured in MB. |
private Integer |
totalMemory
The amount of memory configured in MB. |
private Integer |
totalProcessors
The number of virtual processors in the VM. |
private Job |
trackingJob
The tracking job for this VM. |
private Set |
triggers
(Trigger collection) The list of triggers on this VM. |
private Map |
variables
(Map of String => String) Variables associated with this VM. |
Constructor Summary | |
VirtualMachine()
|
Method Summary | |
---|---|
Set
|
getAliases()
(String collection) The list of aliases that refer to this VM. |
Integer
|
getAvailableDisk()
The amount of disk space available on this VM. |
Integer
|
getAvailableMemory()
The amount of memory available on this VM. |
Integer
|
getAvailableProcessors()
The number of processors available on this VM. |
Double
|
getCpuLoad()
The CPU load for this VM. |
String
|
getDescription()
A description of this VM. |
Long
|
getEffectiveTimeToLive()
Time (in seconds) that this VM has to run (0 means not set). |
Set
|
getFlags()
(VMFlag collection) The flags associated with this VM. |
Set
|
getGenericEvents()
(GenericEvent collection) The list of generic events reported on this VM. |
Map
|
getGenericMetrics()
(Map of String => Double) The values for the generic metrics for this VM. |
String
|
getId()
The unique ID of the VM. |
Date
|
getLastMigrationDate()
The date when this VM was last migrated. |
String
|
getLastSubstate()
Last reported substate (substate is not always reported). |
Date
|
getLastSubstateModificationDate()
Date/time that lastSubstate was modified. |
Date
|
getLastUpdateDate()
The date of when this VM was last updated. |
Integer
|
getMigrationCount()
The number of times this VM has been migrated. |
String
|
getNetworkAddress()
The network address of this VM. |
Node
|
getNode()
The physical node on which this VM is running. |
String
|
getOs()
The current operating system of the VM. |
Set
|
getOsList()
(String collection) The list of operating systems that the VM can run. |
NodePower
|
getPowerSelectState()
The selected power state of this VM. |
NodePower
|
getPowerState()
The power state of this VM. |
Integer
|
getRack()
The rack of the VM inside a given node. |
Long
|
getRequestedTimeToLive()
User-specified time (in seconds) that this VM has to run (0 means not set). |
Integer
|
getSlot()
The slot of the VM inside a given node. |
Boolean
|
getSovereign()
This causes Moab to reserve the VM's memory and processors on the hypervisor, and treats the VM as the workload. |
Date
|
getStartDate()
Date/time that this VM was started (ready and usable) |
NodeState
|
getState()
The state of the VM. |
String
|
getStorage()
Storage request (not OS disk storage). |
String
|
getSubstate()
The substate that will give more information about the status of the VM. |
String
|
getTemplate()
Job template for the VM. |
Integer
|
getTotalDisk()
The amount of disk space configured in MB. |
Integer
|
getTotalMemory()
The amount of memory configured in MB. |
Integer
|
getTotalProcessors()
The number of virtual processors in the VM. |
Job
|
getTrackingJob()
The tracking job for this VM. |
Set
|
getTriggers()
(Trigger collection) The list of triggers on this VM. |
Map
|
getVariables()
(Map of String => String) Variables associated with this VM. |
void
|
setAliases(Set aliases)
(String collection) The list of aliases that refer to this VM. |
void
|
setAvailableDisk(Integer availableDisk)
The amount of disk space available on this VM. |
void
|
setAvailableMemory(Integer availableMemory)
The amount of memory available on this VM. |
void
|
setAvailableProcessors(Integer availableProcessors)
The number of processors available on this VM. |
void
|
setCpuLoad(Double cpuLoad)
The CPU load for this VM. |
void
|
setDescription(String description)
A description of this VM. |
void
|
setEffectiveTimeToLive(Long effectiveTimeToLive)
Time (in seconds) that this VM has to run (0 means not set). |
void
|
setFlags(Set flags)
(VMFlag collection) The flags associated with this VM. |
void
|
setGenericEvents(Set genericEvents)
(GenericEvent collection) The list of generic events reported on this VM. |
void
|
setGenericMetrics(Map genericMetrics)
(Map of String => Double) The values for the generic metrics for this VM. |
void
|
setId(String id)
The unique ID of the VM. |
void
|
setLastMigrationDate(Date lastMigrationDate)
The date when this VM was last migrated. |
void
|
setLastSubstate(String lastSubstate)
Last reported substate (substate is not always reported). |
void
|
setLastSubstateModificationDate(Date lastSubstateModificationDate)
Date/time that lastSubstate was modified. |
void
|
setLastUpdateDate(Date lastUpdateDate)
The date of when this VM was last updated. |
void
|
setMigrationCount(Integer migrationCount)
The number of times this VM has been migrated. |
void
|
setNetworkAddress(String networkAddress)
The network address of this VM. |
void
|
setNode(Node node)
The physical node on which this VM is running. |
void
|
setOs(String os)
The current operating system of the VM. |
void
|
setOsList(Set osList)
(String collection) The list of operating systems that the VM can run. |
void
|
setPowerSelectState(NodePower powerSelectState)
The selected power state of this VM. |
void
|
setPowerState(NodePower powerState)
The power state of this VM. |
void
|
setRack(Integer rack)
The rack of the VM inside a given node. |
void
|
setRequestedTimeToLive(Long requestedTimeToLive)
User-specified time (in seconds) that this VM has to run (0 means not set). |
void
|
setSlot(Integer slot)
The slot of the VM inside a given node. |
void
|
setSovereign(Boolean sovereign)
This causes Moab to reserve the VM's memory and processors on the hypervisor, and treats the VM as the workload. |
void
|
setStartDate(Date startDate)
Date/time that this VM was started (ready and usable) |
void
|
setState(NodeState state)
The state of the VM. |
void
|
setStorage(String storage)
Storage request (not OS disk storage). |
void
|
setSubstate(String substate)
The substate that will give more information about the status of the VM. |
void
|
setTemplate(String template)
Job template for the VM. |
void
|
setTotalDisk(Integer totalDisk)
The amount of disk space configured in MB. |
void
|
setTotalMemory(Integer totalMemory)
The amount of memory configured in MB. |
void
|
setTotalProcessors(Integer totalProcessors)
The number of virtual processors in the VM. |
void
|
setTrackingJob(Job trackingJob)
The tracking job for this VM. |
void
|
setTriggers(Set triggers)
(Trigger collection) The list of triggers on this VM. |
void
|
setVariables(Map variables)
(Map of String => String) Variables associated with this VM. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private Set aliases
private Integer availableDisk
private Integer availableMemory
private Integer availableProcessors
private Double cpuLoad
private String description
private Long effectiveTimeToLive
private Set flags
private Set genericEvents
private Map genericMetrics
private String id
private Date lastMigrationDate
private String lastSubstate
private Date lastSubstateModificationDate
private Date lastUpdateDate
private Integer migrationCount
private String networkAddress
private Node node
private String os
private Set osList
private NodePower powerSelectState
private NodePower powerState
private Integer rack
private Long requestedTimeToLive
private Integer slot
private Boolean sovereign
private Date startDate
private NodeState state
private String storage
<type>:<size>@'<mountPoint>'
.
<type>:<size>@'<mountPoint>'#'<mountOptions>^<mountOwner>%...
where mountOptions
and mountOwner
are Linux mount parameters which are passed
directly and are not processed or parsed by Moab.
private String substate
private String template
private Integer totalDisk
private Integer totalMemory
private Integer totalProcessors
private Job trackingJob
private Set triggers
private Map variables
Constructor Detail |
---|
VirtualMachine()
Method Detail |
---|
Set getAliases()
Integer getAvailableDisk()
Integer getAvailableMemory()
Integer getAvailableProcessors()
Double getCpuLoad()
String getDescription()
Long getEffectiveTimeToLive()
Set getFlags()
Set getGenericEvents()
Map getGenericMetrics()
String getId()
Date getLastMigrationDate()
String getLastSubstate()
Date getLastSubstateModificationDate()
Date getLastUpdateDate()
Integer getMigrationCount()
String getNetworkAddress()
Node getNode()
String getOs()
Set getOsList()
NodePower getPowerSelectState()
NodePower getPowerState()
Integer getRack()
Long getRequestedTimeToLive()
Integer getSlot()
Boolean getSovereign()
Date getStartDate()
NodeState getState()
String getStorage()
<type>:<size>@'<mountPoint>'
.
<type>:<size>@'<mountPoint>'#'<mountOptions>^<mountOwner>%...
where mountOptions
and mountOwner
are Linux mount parameters which are passed
directly and are not processed or parsed by Moab.
String getSubstate()
String getTemplate()
Integer getTotalDisk()
Integer getTotalMemory()
Integer getTotalProcessors()
Job getTrackingJob()
Set getTriggers()
Map getVariables()
void setAliases(Set aliases)
void setAvailableDisk(Integer availableDisk)
void setAvailableMemory(Integer availableMemory)
void setAvailableProcessors(Integer availableProcessors)
void setCpuLoad(Double cpuLoad)
void setDescription(String description)
void setEffectiveTimeToLive(Long effectiveTimeToLive)
void setFlags(Set flags)
void setGenericEvents(Set genericEvents)
void setGenericMetrics(Map genericMetrics)
void setId(String id)
void setLastMigrationDate(Date lastMigrationDate)
void setLastSubstate(String lastSubstate)
void setLastSubstateModificationDate(Date lastSubstateModificationDate)
void setLastUpdateDate(Date lastUpdateDate)
void setMigrationCount(Integer migrationCount)
void setNetworkAddress(String networkAddress)
void setNode(Node node)
void setOs(String os)
void setOsList(Set osList)
void setPowerSelectState(NodePower powerSelectState)
void setPowerState(NodePower powerState)
void setRack(Integer rack)
void setRequestedTimeToLive(Long requestedTimeToLive)
void setSlot(Integer slot)
void setSovereign(Boolean sovereign)
void setStartDate(Date startDate)
void setState(NodeState state)
void setStorage(String storage)
<type>:<size>@'<mountPoint>'
.
<type>:<size>@'<mountPoint>'#'<mountOptions>^<mountOwner>%...
where mountOptions
and mountOwner
are Linux mount parameters which are passed
directly and are not processed or parsed by Moab.
void setSubstate(String substate)
void setTemplate(String template)
void setTotalDisk(Integer totalDisk)
void setTotalMemory(Integer totalMemory)
void setTotalProcessors(Integer totalProcessors)
void setTrackingJob(Job trackingJob)
void setTriggers(Set triggers)
void setVariables(Map variables)
String toString()
Groovy Documentation