Groovy Documentation

com.ace.mws.nodes
[Groovy] Class Node

java.lang.Object
  com.ace.mws.nodes.Node

class Node

This class represents a node in the Moab Workload Manager. Moab recognizes a node as a collection of resources with a particular set of associated attributes. This definition is similar to the traditional notion of a node found in a Linux cluster or supercomputer wherein a node is defined as one or more CPUs, associated memory, and possibly other compute resources such as local disk, swap, network adapters, and software licenses. Additionally, this node is described by various attributes such as an architecture type or operating system. Nodes range in size from small uniprocessor PCs to large symmetric multiprocessing (SMP) systems where a single node may consist of hundreds of CPUs and massive amounts of memory.


Field Summary
private NodeAccessPolicy accessPolicy

The node's access policy.

private Set aliases

(String collection) Holds DNS aliases associated with the node

private String architecture

The node's processor architecture.

private Set availableClasses

(String collection) The classes that are available to the node.

private Integer availableDisk

The node's available disk space in MB.

private Date availableEndDate

The time when the node will stop being available.

private Map availableGenericResources

(Map of String => Integer) The node's available generic resources.

private Integer availableMemory

The node's available memory in MB.

private Integer availableProcessors

The node's available processors.

private Date availableStartDate

The time when the node will become available.

private Integer availableSwap

The node's available swap space in MB.

private String blockReason

The reason why jobs are blocked from running on the node.

private String comments

User-specified comments regarding the node.

private Set configuredClasses

(String collection) The classes reported by the resource manager for the node.

private Double cpuLoad

The current load of the node as a percentage.

private Boolean dynamic

If true, the node is associated with a dynamic resource manager.

private Double externalLoad

The load on the node not attributed to any batch queues.

private Set features

(String collection) The collection of any opaque node features used to describe and categorize the node.

private Set flags

(NodeFlag collection) The flags that are set on this node.

private Set genericEvents

(GenericEvent collection) The list of generic events reported on this node.

private Map genericMetrics

(Map of String => Double) The values for the generic metrics for this node.

private Map genericResources

(Map of String => Integer) The generic resources attached to this node.

private String hypervisorType

The hypervisor type.

private Double iOLoad

The load reported by the node on its I/O.

private String id

The unique ID of the node.

private Integer index

Reported by RMs.

private Set jobs

(Job collection) The list of jobs on the node.

private Date lastStateUpdateDate

The date of the last resource manager update of the node's state.

private Date lastUpdateDate

The date of the last resource manager update

private Double maxIOIn

The maximum input as a percentage allowed for the node's I/O.

private Double maxIOLoad

The maximum total load as a percentage allowed for the node's I/O.

private Double maxIOOut

The maximum output as a percentage allowed for the node's I/O.

private Integer maxJob

The maximum number of jobs allowed to run on the node.

private Integer maxJobPerUser

The maximum number of jobs for a single user allowed to run on the node.

private Double maxLoad

The maximum total load as a percentage allowed on the node.

private Double maxPEPerJob

The maximum processor equivalence per job allowed on the node.

private Double maxPageIn

The maximum total page in allowed on the node.

private Double maxPageOut

The maximum total page out allowed on the node.

private Integer maxProc

The maximum number of processors available on the node.

private Integer maxProcPerClass

The maximum number of processors per class available on the node.

private Set messages

(Message collection) The list of system and user messages on the node.

private String network

The name of the node's network.

private String networkAddress

The network (usually IP) address of this node.

private Double networkLoad

The load of the node's network as a percentage.

private String nextOS

If populated, the next operating system that is currently being provisioned.

private Set operations

(NodeOperation collection) The list of operations that can be performed on this node.

private String os

The operating system of the node.

private Set osList

(String collection) The list of potential operating systems for the node.

private OverCommitFactor overcommit

This is the coefficient that determines how much resources may be overutilized on this hypervisor.

private String partition

The partition this node belongs to.

private NodePower power

The node's power state according to the resource managers reporting this node.

private PowerPolicy powerPolicy

The power policy for this node.

private NodePower powerSelected

The node's power state that Moab is currently scheduling.

private Double priority

The priority associated with the node.

private String priorityFunction

The function used to calculate this node's priority.

private Integer procSpeed

The node's processor speed in MHz.

private Boolean profilingEnabled

Indicates whether statistical profiling is enabled for this node.

private Integer rack

The node's rack location.

private Integer reservationCount

The number of reservations on the node.

private Set reservations

(String collection) The list of reservations' names currently on this node.

private String rmAccessList

A comma-separated list of resource managers that have access to this node.

private static long serialVersionUID

private Integer size

The number of slots or size units consumed by the node.

private Integer slot

The node's slot location.

private Double speed

The relative speed of the node.

private Double speedWeight

The weight of the speed metric in the node's priority function

private NodeState state

The node's current state.

private String substate

The substate that will give more information about the status of the VM.

private Integer taskCount

The number of tasks currently running on the node.

private Long totalActiveTime

The epoch time in seconds that the node was tracked as being busy with jobs.

private Long totalAvailableTime

The epoch time in seconds that the node is available.

private Integer totalDisk

The node's total disk space in MB.

private Integer totalMemory

The node's total memory in MB.

private Integer totalProcessors

The node's total processors.

private Long totalStatsTime

The epoch time in seconds that stats have been tracked for the node.

private Integer totalSwap

The node's total swap space in MB.

private Long totalUpTime

The epoch time in seconds that the node was tracked as being up.

private String type

The type of the node.

private Map variables

(Map of String => String) Variables associated with the node.

private Set virtualMachines

(VirtualMachine collection) The list of virtual machines on the node.

private Set vmOsList

(String collection) The list of potential operating systems that can be used when creating a virtual machine on the node

 
Constructor Summary
Node()

 
Method Summary
NodeAccessPolicy getAccessPolicy()

The node's access policy.

Set getAliases()

(String collection) Holds DNS aliases associated with the node

String getArchitecture()

The node's processor architecture.

Set getAvailableClasses()

(String collection) The classes that are available to the node.

Integer getAvailableDisk()

The node's available disk space in MB.

Date getAvailableEndDate()

The time when the node will stop being available.

Map getAvailableGenericResources()

(Map of String => Integer) The node's available generic resources.

Integer getAvailableMemory()

The node's available memory in MB.

Integer getAvailableProcessors()

The node's available processors.

Date getAvailableStartDate()

The time when the node will become available.

Integer getAvailableSwap()

The node's available swap space in MB.

String getBlockReason()

The reason why jobs are blocked from running on the node.

String getComments()

User-specified comments regarding the node.

Set getConfiguredClasses()

(String collection) The classes reported by the resource manager for the node.

Double getCpuLoad()

The current load of the node as a percentage.

Boolean getDynamic()

If true, the node is associated with a dynamic resource manager.

Double getExternalLoad()

The load on the node not attributed to any batch queues.

Set getFeatures()

(String collection) The collection of any opaque node features used to describe and categorize the node.

Set getFlags()

(NodeFlag collection) The flags that are set on this node.

Set getGenericEvents()

(GenericEvent collection) The list of generic events reported on this node.

Map getGenericMetrics()

(Map of String => Double) The values for the generic metrics for this node.

Map getGenericResources()

(Map of String => Integer) The generic resources attached to this node.

String getHypervisorType()

The hypervisor type.

Double getIOLoad()

The load reported by the node on its I/O.

String getId()

The unique ID of the node.

Integer getIndex()

Reported by RMs.

Set getJobs()

(Job collection) The list of jobs on the node.

Date getLastStateUpdateDate()

The date of the last resource manager update of the node's state.

Date getLastUpdateDate()

The date of the last resource manager update

Double getMaxIOIn()

The maximum input as a percentage allowed for the node's I/O.

Double getMaxIOLoad()

The maximum total load as a percentage allowed for the node's I/O.

Double getMaxIOOut()

The maximum output as a percentage allowed for the node's I/O.

Integer getMaxJob()

The maximum number of jobs allowed to run on the node.

Integer getMaxJobPerUser()

The maximum number of jobs for a single user allowed to run on the node.

Double getMaxLoad()

The maximum total load as a percentage allowed on the node.

Double getMaxPEPerJob()

The maximum processor equivalence per job allowed on the node.

Double getMaxPageIn()

The maximum total page in allowed on the node.

Double getMaxPageOut()

The maximum total page out allowed on the node.

Integer getMaxProc()

The maximum number of processors available on the node.

Integer getMaxProcPerClass()

The maximum number of processors per class available on the node.

Set getMessages()

(Message collection) The list of system and user messages on the node.

String getNetwork()

The name of the node's network.

String getNetworkAddress()

The network (usually IP) address of this node.

Double getNetworkLoad()

The load of the node's network as a percentage.

String getNextOS()

If populated, the next operating system that is currently being provisioned.

Set getOperations()

(NodeOperation collection) The list of operations that can be performed on this node.

String getOs()

The operating system of the node.

Set getOsList()

(String collection) The list of potential operating systems for the node.

OverCommitFactor getOvercommit()

This is the coefficient that determines how much resources may be overutilized on this hypervisor.

String getPartition()

The partition this node belongs to.

NodePower getPower()

The node's power state according to the resource managers reporting this node.

PowerPolicy getPowerPolicy()

The power policy for this node.

NodePower getPowerSelected()

The node's power state that Moab is currently scheduling.

Double getPriority()

The priority associated with the node.

String getPriorityFunction()

The function used to calculate this node's priority.

Integer getProcSpeed()

The node's processor speed in MHz.

Boolean getProfilingEnabled()

Indicates whether statistical profiling is enabled for this node.

Integer getRack()

The node's rack location.

Integer getReservationCount()

The number of reservations on the node.

Set getReservations()

(String collection) The list of reservations' names currently on this node.

String getRmAccessList()

A comma-separated list of resource managers that have access to this node.

Integer getSize()

The number of slots or size units consumed by the node.

Integer getSlot()

The node's slot location.

Double getSpeed()

The relative speed of the node.

Double getSpeedWeight()

The weight of the speed metric in the node's priority function

NodeState getState()

The node's current state.

String getSubstate()

The substate that will give more information about the status of the VM.

Integer getTaskCount()

The number of tasks currently running on the node.

Long getTotalActiveTime()

The epoch time in seconds that the node was tracked as being busy with jobs.

Long getTotalAvailableTime()

The epoch time in seconds that the node is available.

Integer getTotalDisk()

The node's total disk space in MB.

Integer getTotalMemory()

The node's total memory in MB.

Integer getTotalProcessors()

The node's total processors.

Long getTotalStatsTime()

The epoch time in seconds that stats have been tracked for the node.

Integer getTotalSwap()

The node's total swap space in MB.

Long getTotalUpTime()

The epoch time in seconds that the node was tracked as being up.

String getType()

The type of the node.

Map getVariables()

(Map of String => String) Variables associated with the node.

Set getVirtualMachines()

(VirtualMachine collection) The list of virtual machines on the node.

Set getVmOsList()

(String collection) The list of potential operating systems that can be used when creating a virtual machine on the node

void setAccessPolicy(NodeAccessPolicy accessPolicy)

The node's access policy.

void setAliases(Set aliases)

(String collection) Holds DNS aliases associated with the node

void setArchitecture(String architecture)

The node's processor architecture.

void setAvailableClasses(Set availableClasses)

(String collection) The classes that are available to the node.

void setAvailableDisk(Integer availableDisk)

The node's available disk space in MB.

void setAvailableEndDate(Date availableEndDate)

The time when the node will stop being available.

void setAvailableGenericResources(Map availableGenericResources)

(Map of String => Integer) The node's available generic resources.

void setAvailableMemory(Integer availableMemory)

The node's available memory in MB.

void setAvailableProcessors(Integer availableProcessors)

The node's available processors.

void setAvailableStartDate(Date availableStartDate)

The time when the node will become available.

void setAvailableSwap(Integer availableSwap)

The node's available swap space in MB.

void setBlockReason(String blockReason)

The reason why jobs are blocked from running on the node.

void setComments(String comments)

User-specified comments regarding the node.

void setConfiguredClasses(Set configuredClasses)

(String collection) The classes reported by the resource manager for the node.

void setCpuLoad(Double cpuLoad)

The current load of the node as a percentage.

void setDynamic(Boolean dynamic)

If true, the node is associated with a dynamic resource manager.

void setExternalLoad(Double externalLoad)

The load on the node not attributed to any batch queues.

void setFeatures(Set features)

(String collection) The collection of any opaque node features used to describe and categorize the node.

void setFlags(Set flags)

(NodeFlag collection) The flags that are set on this node.

void setGenericEvents(Set genericEvents)

(GenericEvent collection) The list of generic events reported on this node.

void setGenericMetrics(Map genericMetrics)

(Map of String => Double) The values for the generic metrics for this node.

void setGenericResources(Map genericResources)

(Map of String => Integer) The generic resources attached to this node.

void setHypervisorType(String hypervisorType)

The hypervisor type.

void setIOLoad(Double iOLoad)

The load reported by the node on its I/O.

void setId(String id)

The unique ID of the node.

void setIndex(Integer index)

Reported by RMs.

void setJobs(Set jobs)

(Job collection) The list of jobs on the node.

void setLastStateUpdateDate(Date lastStateUpdateDate)

The date of the last resource manager update of the node's state.

void setLastUpdateDate(Date lastUpdateDate)

The date of the last resource manager update

void setMaxIOIn(Double maxIOIn)

The maximum input as a percentage allowed for the node's I/O.

void setMaxIOLoad(Double maxIOLoad)

The maximum total load as a percentage allowed for the node's I/O.

void setMaxIOOut(Double maxIOOut)

The maximum output as a percentage allowed for the node's I/O.

void setMaxJob(Integer maxJob)

The maximum number of jobs allowed to run on the node.

void setMaxJobPerUser(Integer maxJobPerUser)

The maximum number of jobs for a single user allowed to run on the node.

void setMaxLoad(Double maxLoad)

The maximum total load as a percentage allowed on the node.

void setMaxPEPerJob(Double maxPEPerJob)

The maximum processor equivalence per job allowed on the node.

void setMaxPageIn(Double maxPageIn)

The maximum total page in allowed on the node.

void setMaxPageOut(Double maxPageOut)

The maximum total page out allowed on the node.

void setMaxProc(Integer maxProc)

The maximum number of processors available on the node.

void setMaxProcPerClass(Integer maxProcPerClass)

The maximum number of processors per class available on the node.

void setMessages(Set messages)

(Message collection) The list of system and user messages on the node.

void setNetwork(String network)

The name of the node's network.

void setNetworkAddress(String networkAddress)

The network (usually IP) address of this node.

void setNetworkLoad(Double networkLoad)

The load of the node's network as a percentage.

void setNextOS(String nextOS)

If populated, the next operating system that is currently being provisioned.

void setOperations(Set operations)

(NodeOperation collection) The list of operations that can be performed on this node.

void setOs(String os)

The operating system of the node.

void setOsList(Set osList)

(String collection) The list of potential operating systems for the node.

void setOvercommit(OverCommitFactor overcommit)

This is the coefficient that determines how much resources may be overutilized on this hypervisor.

void setPartition(String partition)

The partition this node belongs to.

void setPower(NodePower power)

The node's power state according to the resource managers reporting this node.

void setPowerPolicy(PowerPolicy powerPolicy)

The power policy for this node.

void setPowerSelected(NodePower powerSelected)

The node's power state that Moab is currently scheduling.

void setPriority(Double priority)

The priority associated with the node.

void setPriorityFunction(String priorityFunction)

The function used to calculate this node's priority.

void setProcSpeed(Integer procSpeed)

The node's processor speed in MHz.

void setProfilingEnabled(Boolean profilingEnabled)

Indicates whether statistical profiling is enabled for this node.

void setRack(Integer rack)

The node's rack location.

void setReservationCount(Integer reservationCount)

The number of reservations on the node.

void setReservations(Set reservations)

(String collection) The list of reservations' names currently on this node.

void setRmAccessList(String rmAccessList)

A comma-separated list of resource managers that have access to this node.

void setSize(Integer size)

The number of slots or size units consumed by the node.

void setSlot(Integer slot)

The node's slot location.

void setSpeed(Double speed)

The relative speed of the node.

void setSpeedWeight(Double speedWeight)

The weight of the speed metric in the node's priority function

void setState(NodeState state)

The node's current state.

void setSubstate(String substate)

The substate that will give more information about the status of the VM.

void setTaskCount(Integer taskCount)

The number of tasks currently running on the node.

void setTotalActiveTime(Long totalActiveTime)

The epoch time in seconds that the node was tracked as being busy with jobs.

void setTotalAvailableTime(Long totalAvailableTime)

The epoch time in seconds that the node is available.

void setTotalDisk(Integer totalDisk)

The node's total disk space in MB.

void setTotalMemory(Integer totalMemory)

The node's total memory in MB.

void setTotalProcessors(Integer totalProcessors)

The node's total processors.

void setTotalStatsTime(Long totalStatsTime)

The epoch time in seconds that stats have been tracked for the node.

void setTotalSwap(Integer totalSwap)

The node's total swap space in MB.

void setTotalUpTime(Long totalUpTime)

The epoch time in seconds that the node was tracked as being up.

void setType(String type)

The type of the node.

void setVariables(Map variables)

(Map of String => String) Variables associated with the node.

void setVirtualMachines(Set virtualMachines)

(VirtualMachine collection) The list of virtual machines on the node.

void setVmOsList(Set vmOsList)

(String collection) The list of potential operating systems that can be used when creating a virtual machine on the node

String toString()

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

Field Detail

accessPolicy

private NodeAccessPolicy accessPolicy
The node's access policy.


aliases

private Set aliases
(String collection) Holds DNS aliases associated with the node
See Also:
String


architecture

private String architecture
The node's processor architecture.


availableClasses

private Set availableClasses
(String collection) The classes that are available to the node.
See Also:
String


availableDisk

private Integer availableDisk
The node's available disk space in MB.


availableEndDate

private Date availableEndDate
The time when the node will stop being available.


availableGenericResources

private Map availableGenericResources
(Map of String => Integer) The node's available generic resources. Stored as name and associated amount.
See Also:
Integer


availableMemory

private Integer availableMemory
The node's available memory in MB.


availableProcessors

private Integer availableProcessors
The node's available processors.


availableStartDate

private Date availableStartDate
The time when the node will become available.


availableSwap

private Integer availableSwap
The node's available swap space in MB.


blockReason

private String blockReason
The reason why jobs are blocked from running on the node.


comments

private String comments
User-specified comments regarding the node.


configuredClasses

private Set configuredClasses
(String collection) The classes reported by the resource manager for the node.
See Also:
String


cpuLoad

private Double cpuLoad
The current load of the node as a percentage.


dynamic

private Boolean dynamic
If true, the node is associated with a dynamic resource manager.


externalLoad

private Double externalLoad
The load on the node not attributed to any batch queues.


features

private Set features
(String collection) The collection of any opaque node features used to describe and categorize the node.
See Also:
String


flags

private Set flags
(NodeFlag collection) The flags that are set on this node. Valid only during GET.
See Also:
NodeFlag


genericEvents

private Set genericEvents
(GenericEvent collection) The list of generic events reported on this node. Valid during PUT.
See Also:
GenericEvent


genericMetrics

private Map genericMetrics
(Map of String => Double) The values for the generic metrics for this node. Valid during PUT.
See Also:
Double


genericResources

private Map genericResources
(Map of String => Integer) The generic resources attached to this node. With each generic resource there is a name and an associated amount.
See Also:
Integer


hypervisorType

private String hypervisorType
The hypervisor type. Null if this is not a hypervisor.


iOLoad

private Double iOLoad
The load reported by the node on its I/O.


id

private String id
The unique ID of the node.


index

private Integer index
Reported by RMs. Unclear definition of intended purpose.


jobs

private Set jobs
(Job collection) The list of jobs on the node.
See Also:
Job


lastStateUpdateDate

private Date lastStateUpdateDate
The date of the last resource manager update of the node's state.


lastUpdateDate

private Date lastUpdateDate
The date of the last resource manager update


maxIOIn

private Double maxIOIn
The maximum input as a percentage allowed for the node's I/O.


maxIOLoad

private Double maxIOLoad
The maximum total load as a percentage allowed for the node's I/O.


maxIOOut

private Double maxIOOut
The maximum output as a percentage allowed for the node's I/O.


maxJob

private Integer maxJob
The maximum number of jobs allowed to run on the node.


maxJobPerUser

private Integer maxJobPerUser
The maximum number of jobs for a single user allowed to run on the node.


maxLoad

private Double maxLoad
The maximum total load as a percentage allowed on the node.


maxPEPerJob

private Double maxPEPerJob
The maximum processor equivalence per job allowed on the node.


maxPageIn

private Double maxPageIn
The maximum total page in allowed on the node.


maxPageOut

private Double maxPageOut
The maximum total page out allowed on the node.


maxProc

private Integer maxProc
The maximum number of processors available on the node.


maxProcPerClass

private Integer maxProcPerClass
The maximum number of processors per class available on the node.


messages

private Set messages
(Message collection) The list of system and user messages on the node. Valid during PUT.
See Also:
Message


network

private String network
The name of the node's network.


networkAddress

private String networkAddress
The network (usually IP) address of this node.


networkLoad

private Double networkLoad
The load of the node's network as a percentage.


nextOS

private String nextOS
If populated, the next operating system that is currently being provisioned.


operations

private Set operations
(NodeOperation collection) The list of operations that can be performed on this node.
See Also:
NodeOperation


os

private String os
The operating system of the node. Valid during PUT.


osList

private Set osList
(String collection) The list of potential operating systems for the node.
See Also:
String


overcommit

private OverCommitFactor overcommit
This is the coefficient that determines how much resources may be overutilized on this hypervisor. Will normally be null for non-hypervisor nodes.


partition

private String partition
The partition this node belongs to. Valid during PUT.


power

private NodePower power
The node's power state according to the resource managers reporting this node. Valid during PUT.


powerPolicy

private PowerPolicy powerPolicy
The power policy for this node. The default is static where the power is controlled manually.


powerSelected

private NodePower powerSelected
The node's power state that Moab is currently scheduling. This could be different from the actual node power itself.


priority

private Double priority
The priority associated with the node.


priorityFunction

private String priorityFunction
The function used to calculate this node's priority.


procSpeed

private Integer procSpeed
The node's processor speed in MHz.


profilingEnabled

private Boolean profilingEnabled
Indicates whether statistical profiling is enabled for this node. If set to false, node statistics will not be gathered. Defaults to false.


rack

private Integer rack
The node's rack location.


reservationCount

private Integer reservationCount
The number of reservations on the node.


reservations

private Set reservations
(String collection) The list of reservations' names currently on this node.
See Also:
String


rmAccessList

private String rmAccessList
A comma-separated list of resource managers that have access to this node.


serialVersionUID

private static final long serialVersionUID


size

private Integer size
The number of slots or size units consumed by the node.


slot

private Integer slot
The node's slot location.


speed

private Double speed
The relative speed of the node. The speed must be between .1 and 100.0. The default value for speed is 1.0.


speedWeight

private Double speedWeight
The weight of the speed metric in the node's priority function


state

private NodeState state
The node's current state. Valid during PUT.


substate

private String substate
The substate that will give more information about the status of the VM.


taskCount

private Integer taskCount
The number of tasks currently running on the node.


totalActiveTime

private Long totalActiveTime
The epoch time in seconds that the node was tracked as being busy with jobs.


totalAvailableTime

private Long totalAvailableTime
The epoch time in seconds that the node is available.


totalDisk

private Integer totalDisk
The node's total disk space in MB.


totalMemory

private Integer totalMemory
The node's total memory in MB.


totalProcessors

private Integer totalProcessors
The node's total processors.


totalStatsTime

private Long totalStatsTime
The epoch time in seconds that stats have been tracked for the node.


totalSwap

private Integer totalSwap
The node's total swap space in MB.


totalUpTime

private Long totalUpTime
The epoch time in seconds that the node was tracked as being up.


type

private String type
The type of the node. This is used for allocation management purposes.


variables

private Map variables
(Map of String => String) Variables associated with the node. Valid during PUT.
See Also:
Map


virtualMachines

private Set virtualMachines
(VirtualMachine collection) The list of virtual machines on the node.
See Also:
VirtualMachine


vmOsList

private Set vmOsList
(String collection) The list of potential operating systems that can be used when creating a virtual machine on the node
See Also:
String


 
Constructor Detail

Node

Node()


 
Method Detail

getAccessPolicy

NodeAccessPolicy getAccessPolicy()
The node's access policy.


getAliases

Set getAliases()
(String collection) Holds DNS aliases associated with the node
See Also:
String


getArchitecture

String getArchitecture()
The node's processor architecture.


getAvailableClasses

Set getAvailableClasses()
(String collection) The classes that are available to the node.
See Also:
String


getAvailableDisk

Integer getAvailableDisk()
The node's available disk space in MB.


getAvailableEndDate

Date getAvailableEndDate()
The time when the node will stop being available.


getAvailableGenericResources

Map getAvailableGenericResources()
(Map of String => Integer) The node's available generic resources. Stored as name and associated amount.
See Also:
Integer


getAvailableMemory

Integer getAvailableMemory()
The node's available memory in MB.


getAvailableProcessors

Integer getAvailableProcessors()
The node's available processors.


getAvailableStartDate

Date getAvailableStartDate()
The time when the node will become available.


getAvailableSwap

Integer getAvailableSwap()
The node's available swap space in MB.


getBlockReason

String getBlockReason()
The reason why jobs are blocked from running on the node.


getComments

String getComments()
User-specified comments regarding the node.


getConfiguredClasses

Set getConfiguredClasses()
(String collection) The classes reported by the resource manager for the node.
See Also:
String


getCpuLoad

Double getCpuLoad()
The current load of the node as a percentage.


getDynamic

Boolean getDynamic()
If true, the node is associated with a dynamic resource manager.


getExternalLoad

Double getExternalLoad()
The load on the node not attributed to any batch queues.


getFeatures

Set getFeatures()
(String collection) The collection of any opaque node features used to describe and categorize the node.
See Also:
String


getFlags

Set getFlags()
(NodeFlag collection) The flags that are set on this node. Valid only during GET.
See Also:
NodeFlag


getGenericEvents

Set getGenericEvents()
(GenericEvent collection) The list of generic events reported on this node. Valid during PUT.
See Also:
GenericEvent


getGenericMetrics

Map getGenericMetrics()
(Map of String => Double) The values for the generic metrics for this node. Valid during PUT.
See Also:
Double


getGenericResources

Map getGenericResources()
(Map of String => Integer) The generic resources attached to this node. With each generic resource there is a name and an associated amount.
See Also:
Integer


getHypervisorType

String getHypervisorType()
The hypervisor type. Null if this is not a hypervisor.


getIOLoad

Double getIOLoad()
The load reported by the node on its I/O.


getId

String getId()
The unique ID of the node.


getIndex

Integer getIndex()
Reported by RMs. Unclear definition of intended purpose.


getJobs

Set getJobs()
(Job collection) The list of jobs on the node.
See Also:
Job


getLastStateUpdateDate

Date getLastStateUpdateDate()
The date of the last resource manager update of the node's state.


getLastUpdateDate

Date getLastUpdateDate()
The date of the last resource manager update


getMaxIOIn

Double getMaxIOIn()
The maximum input as a percentage allowed for the node's I/O.


getMaxIOLoad

Double getMaxIOLoad()
The maximum total load as a percentage allowed for the node's I/O.


getMaxIOOut

Double getMaxIOOut()
The maximum output as a percentage allowed for the node's I/O.


getMaxJob

Integer getMaxJob()
The maximum number of jobs allowed to run on the node.


getMaxJobPerUser

Integer getMaxJobPerUser()
The maximum number of jobs for a single user allowed to run on the node.


getMaxLoad

Double getMaxLoad()
The maximum total load as a percentage allowed on the node.


getMaxPEPerJob

Double getMaxPEPerJob()
The maximum processor equivalence per job allowed on the node.


getMaxPageIn

Double getMaxPageIn()
The maximum total page in allowed on the node.


getMaxPageOut

Double getMaxPageOut()
The maximum total page out allowed on the node.


getMaxProc

Integer getMaxProc()
The maximum number of processors available on the node.


getMaxProcPerClass

Integer getMaxProcPerClass()
The maximum number of processors per class available on the node.


getMessages

Set getMessages()
(Message collection) The list of system and user messages on the node. Valid during PUT.
See Also:
Message


getNetwork

String getNetwork()
The name of the node's network.


getNetworkAddress

String getNetworkAddress()
The network (usually IP) address of this node.


getNetworkLoad

Double getNetworkLoad()
The load of the node's network as a percentage.


getNextOS

String getNextOS()
If populated, the next operating system that is currently being provisioned.


getOperations

Set getOperations()
(NodeOperation collection) The list of operations that can be performed on this node.
See Also:
NodeOperation


getOs

String getOs()
The operating system of the node. Valid during PUT.


getOsList

Set getOsList()
(String collection) The list of potential operating systems for the node.
See Also:
String


getOvercommit

OverCommitFactor getOvercommit()
This is the coefficient that determines how much resources may be overutilized on this hypervisor. Will normally be null for non-hypervisor nodes.


getPartition

String getPartition()
The partition this node belongs to. Valid during PUT.


getPower

NodePower getPower()
The node's power state according to the resource managers reporting this node. Valid during PUT.


getPowerPolicy

PowerPolicy getPowerPolicy()
The power policy for this node. The default is static where the power is controlled manually.


getPowerSelected

NodePower getPowerSelected()
The node's power state that Moab is currently scheduling. This could be different from the actual node power itself.


getPriority

Double getPriority()
The priority associated with the node.


getPriorityFunction

String getPriorityFunction()
The function used to calculate this node's priority.


getProcSpeed

Integer getProcSpeed()
The node's processor speed in MHz.


getProfilingEnabled

Boolean getProfilingEnabled()
Indicates whether statistical profiling is enabled for this node. If set to false, node statistics will not be gathered. Defaults to false.


getRack

Integer getRack()
The node's rack location.


getReservationCount

Integer getReservationCount()
The number of reservations on the node.


getReservations

Set getReservations()
(String collection) The list of reservations' names currently on this node.
See Also:
String


getRmAccessList

String getRmAccessList()
A comma-separated list of resource managers that have access to this node.


getSize

Integer getSize()
The number of slots or size units consumed by the node.


getSlot

Integer getSlot()
The node's slot location.


getSpeed

Double getSpeed()
The relative speed of the node. The speed must be between .1 and 100.0. The default value for speed is 1.0.


getSpeedWeight

Double getSpeedWeight()
The weight of the speed metric in the node's priority function


getState

NodeState getState()
The node's current state. Valid during PUT.


getSubstate

String getSubstate()
The substate that will give more information about the status of the VM.


getTaskCount

Integer getTaskCount()
The number of tasks currently running on the node.


getTotalActiveTime

Long getTotalActiveTime()
The epoch time in seconds that the node was tracked as being busy with jobs.


getTotalAvailableTime

Long getTotalAvailableTime()
The epoch time in seconds that the node is available.


getTotalDisk

Integer getTotalDisk()
The node's total disk space in MB.


getTotalMemory

Integer getTotalMemory()
The node's total memory in MB.


getTotalProcessors

Integer getTotalProcessors()
The node's total processors.


getTotalStatsTime

Long getTotalStatsTime()
The epoch time in seconds that stats have been tracked for the node.


getTotalSwap

Integer getTotalSwap()
The node's total swap space in MB.


getTotalUpTime

Long getTotalUpTime()
The epoch time in seconds that the node was tracked as being up.


getType

String getType()
The type of the node. This is used for allocation management purposes.


getVariables

Map getVariables()
(Map of String => String) Variables associated with the node. Valid during PUT.
See Also:
Map


getVirtualMachines

Set getVirtualMachines()
(VirtualMachine collection) The list of virtual machines on the node.
See Also:
VirtualMachine


getVmOsList

Set getVmOsList()
(String collection) The list of potential operating systems that can be used when creating a virtual machine on the node
See Also:
String


setAccessPolicy

void setAccessPolicy(NodeAccessPolicy accessPolicy)
The node's access policy.


setAliases

void setAliases(Set aliases)
(String collection) Holds DNS aliases associated with the node
See Also:
String


setArchitecture

void setArchitecture(String architecture)
The node's processor architecture.


setAvailableClasses

void setAvailableClasses(Set availableClasses)
(String collection) The classes that are available to the node.
See Also:
String


setAvailableDisk

void setAvailableDisk(Integer availableDisk)
The node's available disk space in MB.


setAvailableEndDate

void setAvailableEndDate(Date availableEndDate)
The time when the node will stop being available.


setAvailableGenericResources

void setAvailableGenericResources(Map availableGenericResources)
(Map of String => Integer) The node's available generic resources. Stored as name and associated amount.
See Also:
Integer


setAvailableMemory

void setAvailableMemory(Integer availableMemory)
The node's available memory in MB.


setAvailableProcessors

void setAvailableProcessors(Integer availableProcessors)
The node's available processors.


setAvailableStartDate

void setAvailableStartDate(Date availableStartDate)
The time when the node will become available.


setAvailableSwap

void setAvailableSwap(Integer availableSwap)
The node's available swap space in MB.


setBlockReason

void setBlockReason(String blockReason)
The reason why jobs are blocked from running on the node.


setComments

void setComments(String comments)
User-specified comments regarding the node.


setConfiguredClasses

void setConfiguredClasses(Set configuredClasses)
(String collection) The classes reported by the resource manager for the node.
See Also:
String


setCpuLoad

void setCpuLoad(Double cpuLoad)
The current load of the node as a percentage.


setDynamic

void setDynamic(Boolean dynamic)
If true, the node is associated with a dynamic resource manager.


setExternalLoad

void setExternalLoad(Double externalLoad)
The load on the node not attributed to any batch queues.


setFeatures

void setFeatures(Set features)
(String collection) The collection of any opaque node features used to describe and categorize the node.
See Also:
String


setFlags

void setFlags(Set flags)
(NodeFlag collection) The flags that are set on this node. Valid only during GET.
See Also:
NodeFlag


setGenericEvents

void setGenericEvents(Set genericEvents)
(GenericEvent collection) The list of generic events reported on this node. Valid during PUT.
See Also:
GenericEvent


setGenericMetrics

void setGenericMetrics(Map genericMetrics)
(Map of String => Double) The values for the generic metrics for this node. Valid during PUT.
See Also:
Double


setGenericResources

void setGenericResources(Map genericResources)
(Map of String => Integer) The generic resources attached to this node. With each generic resource there is a name and an associated amount.
See Also:
Integer


setHypervisorType

void setHypervisorType(String hypervisorType)
The hypervisor type. Null if this is not a hypervisor.


setIOLoad

void setIOLoad(Double iOLoad)
The load reported by the node on its I/O.


setId

void setId(String id)
The unique ID of the node.


setIndex

void setIndex(Integer index)
Reported by RMs. Unclear definition of intended purpose.


setJobs

void setJobs(Set jobs)
(Job collection) The list of jobs on the node.
See Also:
Job


setLastStateUpdateDate

void setLastStateUpdateDate(Date lastStateUpdateDate)
The date of the last resource manager update of the node's state.


setLastUpdateDate

void setLastUpdateDate(Date lastUpdateDate)
The date of the last resource manager update


setMaxIOIn

void setMaxIOIn(Double maxIOIn)
The maximum input as a percentage allowed for the node's I/O.


setMaxIOLoad

void setMaxIOLoad(Double maxIOLoad)
The maximum total load as a percentage allowed for the node's I/O.


setMaxIOOut

void setMaxIOOut(Double maxIOOut)
The maximum output as a percentage allowed for the node's I/O.


setMaxJob

void setMaxJob(Integer maxJob)
The maximum number of jobs allowed to run on the node.


setMaxJobPerUser

void setMaxJobPerUser(Integer maxJobPerUser)
The maximum number of jobs for a single user allowed to run on the node.


setMaxLoad

void setMaxLoad(Double maxLoad)
The maximum total load as a percentage allowed on the node.


setMaxPEPerJob

void setMaxPEPerJob(Double maxPEPerJob)
The maximum processor equivalence per job allowed on the node.


setMaxPageIn

void setMaxPageIn(Double maxPageIn)
The maximum total page in allowed on the node.


setMaxPageOut

void setMaxPageOut(Double maxPageOut)
The maximum total page out allowed on the node.


setMaxProc

void setMaxProc(Integer maxProc)
The maximum number of processors available on the node.


setMaxProcPerClass

void setMaxProcPerClass(Integer maxProcPerClass)
The maximum number of processors per class available on the node.


setMessages

void setMessages(Set messages)
(Message collection) The list of system and user messages on the node. Valid during PUT.
See Also:
Message


setNetwork

void setNetwork(String network)
The name of the node's network.


setNetworkAddress

void setNetworkAddress(String networkAddress)
The network (usually IP) address of this node.


setNetworkLoad

void setNetworkLoad(Double networkLoad)
The load of the node's network as a percentage.


setNextOS

void setNextOS(String nextOS)
If populated, the next operating system that is currently being provisioned.


setOperations

void setOperations(Set operations)
(NodeOperation collection) The list of operations that can be performed on this node.
See Also:
NodeOperation


setOs

void setOs(String os)
The operating system of the node. Valid during PUT.


setOsList

void setOsList(Set osList)
(String collection) The list of potential operating systems for the node.
See Also:
String


setOvercommit

void setOvercommit(OverCommitFactor overcommit)
This is the coefficient that determines how much resources may be overutilized on this hypervisor. Will normally be null for non-hypervisor nodes.


setPartition

void setPartition(String partition)
The partition this node belongs to. Valid during PUT.


setPower

void setPower(NodePower power)
The node's power state according to the resource managers reporting this node. Valid during PUT.


setPowerPolicy

void setPowerPolicy(PowerPolicy powerPolicy)
The power policy for this node. The default is static where the power is controlled manually.


setPowerSelected

void setPowerSelected(NodePower powerSelected)
The node's power state that Moab is currently scheduling. This could be different from the actual node power itself.


setPriority

void setPriority(Double priority)
The priority associated with the node.


setPriorityFunction

void setPriorityFunction(String priorityFunction)
The function used to calculate this node's priority.


setProcSpeed

void setProcSpeed(Integer procSpeed)
The node's processor speed in MHz.


setProfilingEnabled

void setProfilingEnabled(Boolean profilingEnabled)
Indicates whether statistical profiling is enabled for this node. If set to false, node statistics will not be gathered. Defaults to false.


setRack

void setRack(Integer rack)
The node's rack location.


setReservationCount

void setReservationCount(Integer reservationCount)
The number of reservations on the node.


setReservations

void setReservations(Set reservations)
(String collection) The list of reservations' names currently on this node.
See Also:
String


setRmAccessList

void setRmAccessList(String rmAccessList)
A comma-separated list of resource managers that have access to this node.


setSize

void setSize(Integer size)
The number of slots or size units consumed by the node.


setSlot

void setSlot(Integer slot)
The node's slot location.


setSpeed

void setSpeed(Double speed)
The relative speed of the node. The speed must be between .1 and 100.0. The default value for speed is 1.0.


setSpeedWeight

void setSpeedWeight(Double speedWeight)
The weight of the speed metric in the node's priority function


setState

void setState(NodeState state)
The node's current state. Valid during PUT.


setSubstate

void setSubstate(String substate)
The substate that will give more information about the status of the VM.


setTaskCount

void setTaskCount(Integer taskCount)
The number of tasks currently running on the node.


setTotalActiveTime

void setTotalActiveTime(Long totalActiveTime)
The epoch time in seconds that the node was tracked as being busy with jobs.


setTotalAvailableTime

void setTotalAvailableTime(Long totalAvailableTime)
The epoch time in seconds that the node is available.


setTotalDisk

void setTotalDisk(Integer totalDisk)
The node's total disk space in MB.


setTotalMemory

void setTotalMemory(Integer totalMemory)
The node's total memory in MB.


setTotalProcessors

void setTotalProcessors(Integer totalProcessors)
The node's total processors.


setTotalStatsTime

void setTotalStatsTime(Long totalStatsTime)
The epoch time in seconds that stats have been tracked for the node.


setTotalSwap

void setTotalSwap(Integer totalSwap)
The node's total swap space in MB.


setTotalUpTime

void setTotalUpTime(Long totalUpTime)
The epoch time in seconds that the node was tracked as being up.


setType

void setType(String type)
The type of the node. This is used for allocation management purposes.


setVariables

void setVariables(Map variables)
(Map of String => String) Variables associated with the node. Valid during PUT.
See Also:
Map


setVirtualMachines

void setVirtualMachines(Set virtualMachines)
(VirtualMachine collection) The list of virtual machines on the node.
See Also:
VirtualMachine


setVmOsList

void setVmOsList(Set vmOsList)
(String collection) The list of potential operating systems that can be used when creating a virtual machine on the node
See Also:
String


toString

String toString()


 

Groovy Documentation