|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.cod.Node
public class Node
Node Represents the state of a node (virtual or physical). Public fields for use by NodeGroup, mapper, and RAL.
Properties ("down") are set by the COD Authority and passed read-only to the RAL. These are configuration parameters, including hardware parameters for a virtual machine.
Attributes ("up") are set by the RAL and are read-only to the COD Authority. These are physical machine attributes and node status.
On a Service Manager all Node objects are read-only and encapsulate the subset of node information received from an Authority in a lease.
| Field Summary | |
|---|---|
boolean |
aboutToClose
|
boolean |
aboutToModify
|
protected byte |
available
|
int |
computons
|
protected boolean |
dirty
|
int |
domainZeroMemory
|
boolean |
forcedClose
|
long[] |
growing
Field for caching shares information. |
java.lang.String |
hostKey
|
java.lang.String |
hostName
|
static boolean |
HP_HACK
|
NodeID |
id
All nodes are endowed by creator with an ID. |
ID |
logicalId
Logical ID for this node |
java.util.Vector |
macAddresses
Name and address info: these are exposed to the Service Manager. |
ID |
machineId
Machine ID for this node |
int |
machineType
Node HW attributes: these are exposed to Service Manager. |
int |
memory
|
Node |
newHost
|
NodeID |
newHostID
|
java.lang.String |
newHostIP
|
java.lang.String |
newHostName
|
ID |
newLogicalId
|
ID |
newMachineId
|
ResourceType |
newResourceType
|
int |
newSaveRestore
|
int |
nodeType
|
static int |
NodeTypeAll
|
static int |
NodeTypeDefault
|
static int |
NodeTypePhysicalMachine
|
static int |
NodeTypeVirtualMachine
|
Node |
originalNode
The original node: used during modification Should not be persisted |
java.lang.String |
prefferedIP
|
java.net.InetAddress |
privateIP
|
protected java.util.Properties |
properties
Properties field for Node properties not explicitly represented by class fields. |
static java.lang.String |
PropertyAvailable
|
static java.lang.String |
PropertyCodNodeDN
|
static java.lang.String |
PropertyComputons
|
static java.lang.String |
PropertyConsole
|
static java.lang.String |
PropertyCpuCache
|
static java.lang.String |
PropertyCpuModel
|
static java.lang.String |
PropertyCpuSpeed
|
static java.lang.String |
PropertyDhcpHWAddress
|
static java.lang.String |
PropertyDhcpLeaseDN
|
static java.lang.String |
PropertyDhcpOption
|
static java.lang.String |
PropertyDhcpOptionsDN
|
static java.lang.String |
PropertyDhcpStatements
|
static java.lang.String |
PropertyDnsClass
|
static java.lang.String |
PropertyDnsMXRecord
|
static java.lang.String |
PropertyDnsZone
|
static java.lang.String |
PropertyDonated
|
static java.lang.String |
PropertyEthernet
|
static java.lang.String |
PropertyHostKey
|
static java.lang.String |
PropertyHostName
|
static java.lang.String |
PropertyID
|
static java.lang.String |
PropertyKernel
|
static java.lang.String |
PropertyLogicalId
|
static java.lang.String |
PropertyMachineId
|
static java.lang.String |
PropertyMachineName
Name to be used for naming the VM that is created for this node. |
static java.lang.String |
PropertyMachineType
|
static java.lang.String |
PropertyMacs
|
static java.lang.String |
PropertyNetSpeed
|
static java.lang.String |
PropertyNewHostID
|
static java.lang.String |
PropertyNewHostIP
|
static java.lang.String |
PropertyNewHostName
|
static java.lang.String |
PropertyNewLogicalId
|
static java.lang.String |
PropertyNewMachineId
|
static java.lang.String |
PropertyNewSaveRestore
|
static java.lang.String |
PropertyNic
|
static java.lang.String |
PropertyNodeType
|
static java.lang.String |
PropertyNodeUpdates
Property for storing the serialized version of the updates field. |
static java.lang.String |
PropertyNumCpus
|
static java.lang.String |
PropertyPendingClose
|
static java.lang.String |
PropertyPendingModify
|
static java.lang.String |
PropertyPendingOpen
|
static java.lang.String |
PropertyPoolID
|
static java.lang.String |
PropertyPoolName
|
static java.lang.String |
PropertyPoolResourceType
|
static java.lang.String |
PropertyPreferredGateway
|
static java.lang.String |
PropertyPreferredIP
|
static java.lang.String |
PropertyPreferredNetmask
|
static java.lang.String |
PropertyPreferredNetwork
|
static java.lang.String |
PropertyPrivateGateway
|
static java.lang.String |
PropertyPrivateIP
|
static java.lang.String |
PropertyPrivateNetmask
|
static java.lang.String |
PropertyPrivateNetwork
|
static java.lang.String |
PropertyPublicGateway
|
static java.lang.String |
PropertyPublicIP
|
static java.lang.String |
PropertyPublicNetmask
|
static java.lang.String |
PropertyPublicNetwork
|
static java.lang.String |
PropertyRealHostID
|
static java.lang.String |
PropertyRealHostIP
|
static java.lang.String |
PropertyRealHostName
|
static java.lang.String |
PropertyRemoteReservationID
|
static java.lang.String |
PropertyReservationID
|
static java.lang.String |
PropertyResourceBandwidthExtra
|
static java.lang.String |
PropertyResourceBandwidthShare
|
static java.lang.String |
PropertyResourceCpuExtra
|
static java.lang.String |
PropertyResourceCpuShare
|
static java.lang.String |
PropertyResourceMemory
|
static java.lang.String |
PropertyResourceNewBandwidthExtra
|
static java.lang.String |
PropertyResourceNewBandwidthShare
|
static java.lang.String |
PropertyResourceNewCpuExtra
|
static java.lang.String |
PropertyResourceNewCpuShare
|
static java.lang.String |
PropertyResourceNewMemory
|
static java.lang.String |
PropertyResourceType
|
static java.lang.String |
PropertyRoot
|
static java.lang.String |
PropertySaveRestore
|
static java.lang.String |
PropertySequence
|
static java.lang.String |
PropertySerial
|
static java.lang.String |
PropertyServiceGateway
Service network gateway |
static java.lang.String |
PropertyServiceIP
Service network IP address. |
static java.lang.String |
PropertyServiceNetwork
Service network base. |
static java.lang.String |
PropertyServiceNetworkMask
Service network netmask |
static java.lang.String |
PropertySlice
|
static java.lang.String |
PropertySliceID
|
static java.lang.String |
PropertySliceNumericID
|
static java.lang.String |
PropertySliverID
|
static java.lang.String |
PropertyState
|
static java.lang.String |
PropertyStatusMessage
|
static java.lang.String |
PropertyType
|
static java.lang.String |
PropertyVmmMemory
|
java.net.InetAddress |
publicIP
|
Node |
realHost
|
NodeID |
realHostID
|
java.lang.String |
realHostIP
|
java.lang.String |
realHostName
|
IReservation |
reservation
|
ResourceType |
resourceType
|
int |
saveRestore
|
static int |
SaveRestoreNone
|
static int |
SaveRestoreSaved
|
static int |
SaveRestoreToRestore
|
static int |
SaveRestoreToSave
|
protected long |
sequence
Sequence number. |
long |
sliverIdx
|
java.lang.String |
statusMsg
|
Node |
updates
Node representing the updates to this node (used during modification) Should not be persisted |
static int |
VmmMemorySlack
Additional memory "given" to domain0. |
| Constructor Summary | |
|---|---|
Node()
|
|
Node(NodeID id,
Node realhost)
|
|
Node(NodeID id,
Node realhost,
int computons,
int basis)
Constructs a descriptor for a virtual node to be hosted on a physical node. |
|
Node(NodeID nid,
java.lang.String hostName)
|
|
| Method Summary | |
|---|---|
void |
activate()
Indicates that a node is active. |
boolean |
active()
Predicate: is this node active? |
void |
addMAC(java.lang.String mac)
Registers a MAC address for a node. |
void |
clearStatus()
Clears the state and status of this node, e.g., when released back to free pool or allocated to another resource set. |
java.lang.Object |
clone()
Node clone retains only the info exported to a Service Manager. |
boolean |
closed()
Predicate: is this node closed (shut down or failed)? |
boolean |
closing()
Predicate: is this node closing (shutting down)? |
void |
completeModify()
|
void |
configIP(java.net.InetAddress privateIP,
java.net.InetAddress publicIP)
Establishes IP addressing info for this node. |
java.lang.String |
consumeStateMsg()
|
Node |
copy()
|
void |
deactivate()
Indicates that a node is inactive. |
boolean |
down()
Predicate: is this node down? (synonym for closed). |
boolean |
equals(java.lang.Object o)
Equality predicate. |
void |
fail()
|
boolean |
failed()
Predicate: is this node failed? |
java.lang.String |
getBandwidthExtra()
|
java.lang.String |
getBandwidthShare()
|
java.lang.String |
getCpuExtra()
|
java.lang.String |
getCpuShare()
|
java.lang.String |
getEthernet()
|
java.lang.String |
getHostKey()
Returns the public key used by sshd running on this node |
java.lang.String |
getHostName()
Returns the host name. |
ID |
getLogicalId()
|
ID |
getMachineId()
|
java.lang.String |
getMachineName()
Returns the machine name |
java.lang.String |
getNewBandwidthExtra()
|
java.lang.String |
getNewBandwidthShare()
|
java.lang.String |
getNewCpuExtra()
|
java.lang.String |
getNewCpuShare()
|
int |
getNewMemory()
|
NodeID |
getNodeID()
Gets the Node ID of this node |
int |
getNodeType()
|
java.lang.String |
getPoolID()
|
java.lang.String |
getPoolName()
|
java.lang.String |
getPoolResourceType()
|
java.net.InetAddress |
getPrivateInetAddr()
Gets the primary private IP Address of this node. |
java.lang.String |
getPrivateIPaddr()
Gets the primary private IP Address of this node. |
java.util.Properties |
getProperties()
|
java.lang.String |
getProperty(java.lang.String name)
|
java.net.InetAddress |
getPublicInetAddr()
Gets the primary public IP Address of this node. |
java.lang.String |
getPublicIP()
|
java.lang.String |
getPublicIPaddr()
Gets the primary public IP Address of this node. |
Node |
getRealHost()
Gets the real host of this node if it is virtual, else null |
ReservationID |
getRemoteReservationID()
|
ReservationID |
getReservationID()
|
ResourceType |
getResourceType()
|
long |
getSequence()
|
java.lang.String |
getServiceGateway()
Returns the service network mask |
java.lang.String |
getServiceIP()
Returns the service IP address. |
java.lang.String |
getServiceNetwork()
Returns the service network base |
java.lang.String |
getServiceNetworkMask()
Returns the service network mask |
java.lang.String |
getSlice()
|
SliceID |
getSliceID()
|
int |
getSliceNumericID()
|
long |
getSliverIdx()
Returns the current sliver to which this node is bound. |
int |
getState()
|
java.lang.String |
getStateString()
Gets the state of this node as a short string. |
java.lang.String |
getStatusMessage()
Gets the state of this node as a (possibly) longer string. |
int |
hashCode()
|
boolean |
hasPending()
|
boolean |
isAvailable()
|
boolean |
isClosed()
Returns true if this node is the process of being closed. |
boolean |
isClosing()
Returns true if this node is the process of being closed. |
boolean |
isDirty()
|
boolean |
isDonated()
|
boolean |
isModifying()
Returns true if this node is the process of being modified. |
boolean |
isOpening()
Returns true if this node is the process of being opened. |
boolean |
isPhysicalMachine()
|
boolean |
isVirtualMachine()
|
void |
merge(Node other)
|
boolean |
opening()
Predicate: is this node opening (starting or booting)? |
void |
releaseToPool(BinPool pool)
|
void |
relocate(Node newHost)
|
void |
reset(java.util.Properties p)
De-serializes the object from the given properties list. |
protected void |
resetMacs(java.lang.String s)
|
void |
revisit(IActorIdentity actor,
java.util.Properties properties)
|
java.util.Properties |
save()
Serializes the object into a properties list. |
void |
save(java.util.Properties p)
Serializes the object into the given properties list. |
java.lang.String |
saveMacs()
|
void |
setAvailable(boolean value)
|
void |
setBandwidthExtra(java.lang.String value)
|
void |
setBandwidthShare(java.lang.String value)
|
void |
setClosing(boolean flag)
Sets the closing flag |
void |
setCpuExtra(java.lang.String value)
|
void |
setCpuShare(java.lang.String value)
|
void |
setDirty(boolean dirty)
|
void |
setDnsClass(java.lang.String value)
|
void |
setDnsZone(java.lang.String value)
|
void |
setDonated(boolean value)
|
void |
setEthernet(java.lang.String eth)
|
void |
setGateway(java.lang.String value)
|
void |
setHostKey(java.lang.String hostKey)
|
static void |
setHostName(java.util.Properties p,
java.lang.String name)
Sets the host name property on the specified properties list |
void |
setHostName(java.lang.String name)
Sets the host name. |
void |
setLogicalId(ID id)
|
void |
setMachineId(ID id)
|
void |
setMachineName(java.lang.String name)
Sets the machine name |
void |
setMachineType(int t)
|
void |
setModifying(boolean flag)
Sets the modifying flag |
void |
setMXRecord(java.lang.String value)
|
void |
setNewBandwidthExtra(java.lang.String value)
|
void |
setNewBandwidthShare(java.lang.String value)
|
void |
setNewCpuExtra(java.lang.String value)
|
void |
setNewCpuShare(java.lang.String value)
|
void |
setNewMemory(int value)
|
void |
setNic(java.lang.String nic)
|
void |
setNodeType(int nodeType)
|
void |
setOpening(boolean flag)
Sets the opening flag |
void |
setPhysicalMachine()
|
void |
setPoolName(java.lang.String name)
|
void |
setPrivateGateway(java.lang.String gw)
|
void |
setPrivateIP(java.lang.String privIP)
Sets the primary private IP Address of this node. |
void |
setPrivateNetmask(java.lang.String mask)
|
void |
setPrivateNetwork(java.lang.String net)
|
void |
setProperties(java.util.Properties p)
Sets property list. |
void |
setProperty(java.lang.String name,
java.lang.String value)
|
void |
setPublicIP(java.net.InetAddress address)
|
void |
setPublicIP(java.lang.String pubIP)
Sets the primary public IP Address of this node. |
void |
setPublicNetmask(java.lang.String mask)
|
void |
setPublicNetwork(java.lang.String net)
|
void |
setRemoteReservationID(ReservationID rid)
|
void |
setReservationID(ReservationID rid)
|
void |
setResourceType(ResourceType type)
|
void |
setSequence(long sequence)
|
void |
setServiceGateway(java.lang.String gw)
Sets the service gateway |
static void |
setServiceIP(java.util.Properties p,
java.lang.String ip)
Helper method to set the service IP on a properties list. |
void |
setServiceIP(java.lang.String ip)
Sets the service IP address. |
void |
setServiceNetwork(java.lang.String base)
Sets the service network base |
void |
setServiceNetworkMask(java.lang.String base)
Sets the service network mask |
void |
setSlice(java.lang.String name)
|
void |
setSliceID(SliceID sliceID)
|
void |
setSliceNumericID(int id)
|
void |
setSliverIdx(long sliverIdx)
Sets the current sliver to which this node is bound. |
void |
setVirtualMachine()
|
java.lang.String |
toString()
|
void |
transition(int tostate)
|
void |
unsetNaming()
Cleans out naming state after deallocation. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final boolean HP_HACK
public static final java.lang.String PropertyMachineName
public static final java.lang.String PropertyEthernet
public static final java.lang.String PropertyNodeUpdates
public static final java.lang.String PropertyCodNodeDN
public static final java.lang.String PropertyDhcpHWAddress
public static final java.lang.String PropertyDhcpStatements
public static final java.lang.String PropertyDhcpOption
public static final java.lang.String PropertyDhcpLeaseDN
public static final java.lang.String PropertyDhcpOptionsDN
public static final java.lang.String PropertySequence
public static final java.lang.String PropertyType
public static final java.lang.String PropertyNodeType
public static final java.lang.String PropertyID
public static final java.lang.String PropertyState
public static final java.lang.String PropertyStatusMessage
public static final java.lang.String PropertyDonated
public static final java.lang.String PropertyPreferredIP
public static final java.lang.String PropertyPreferredNetwork
public static final java.lang.String PropertyPreferredNetmask
public static final java.lang.String PropertyPreferredGateway
public static final java.lang.String PropertyServiceIP
public static final java.lang.String PropertyServiceNetwork
public static final java.lang.String PropertyServiceNetworkMask
public static final java.lang.String PropertyServiceGateway
public static final java.lang.String PropertyPrivateIP
public static final java.lang.String PropertyPrivateNetwork
public static final java.lang.String PropertyPrivateNetmask
public static final java.lang.String PropertyPrivateGateway
public static final java.lang.String PropertyPublicIP
public static final java.lang.String PropertyPublicGateway
public static final java.lang.String PropertyPublicNetwork
public static final java.lang.String PropertyPublicNetmask
public static final java.lang.String PropertyHostName
public static final java.lang.String PropertyMachineType
public static final java.lang.String PropertyResourceType
public static final java.lang.String PropertySliverID
public static final java.lang.String PropertyRealHostID
public static final java.lang.String PropertyRealHostName
public static final java.lang.String PropertyRealHostIP
public static final java.lang.String PropertyNewHostID
public static final java.lang.String PropertyNewHostName
public static final java.lang.String PropertyNewHostIP
public static final java.lang.String PropertyComputons
public static final java.lang.String PropertyHostKey
public static final java.lang.String PropertyPendingOpen
public static final java.lang.String PropertyPendingClose
public static final java.lang.String PropertyPendingModify
public static final java.lang.String PropertyVmmMemory
public static final java.lang.String PropertyMacs
public static final java.lang.String PropertyConsole
public static final java.lang.String PropertySerial
public static final java.lang.String PropertyNic
public static final java.lang.String PropertyRoot
public static final java.lang.String PropertyKernel
public static final java.lang.String PropertyCpuModel
public static final java.lang.String PropertyCpuSpeed
public static final java.lang.String PropertyCpuCache
public static final java.lang.String PropertyNetSpeed
public static final java.lang.String PropertyNumCpus
public static final java.lang.String PropertyDnsClass
public static final java.lang.String PropertySlice
public static final java.lang.String PropertySliceID
public static final java.lang.String PropertySliceNumericID
public static final java.lang.String PropertyReservationID
public static final java.lang.String PropertyRemoteReservationID
public static final java.lang.String PropertyDnsZone
public static final java.lang.String PropertyDnsMXRecord
public static final java.lang.String PropertyResourceMemory
public static final java.lang.String PropertyResourceCpuShare
public static final java.lang.String PropertyResourceCpuExtra
public static final java.lang.String PropertyResourceBandwidthShare
public static final java.lang.String PropertyResourceBandwidthExtra
public static final java.lang.String PropertyResourceNewMemory
public static final java.lang.String PropertyResourceNewCpuShare
public static final java.lang.String PropertyResourceNewCpuExtra
public static final java.lang.String PropertyResourceNewBandwidthShare
public static final java.lang.String PropertyResourceNewBandwidthExtra
public static final java.lang.String PropertyLogicalId
public static final java.lang.String PropertyMachineId
public static final java.lang.String PropertyNewLogicalId
public static final java.lang.String PropertyNewMachineId
public static final java.lang.String PropertySaveRestore
public static final java.lang.String PropertyNewSaveRestore
public static final java.lang.String PropertyPoolName
public static final java.lang.String PropertyPoolID
public static final java.lang.String PropertyPoolResourceType
public static final int SaveRestoreNone
public static final int SaveRestoreToSave
public static final int SaveRestoreToRestore
public static final int SaveRestoreSaved
public static final int VmmMemorySlack
public static final int NodeTypeAll
public static final int NodeTypeDefault
public static final int NodeTypePhysicalMachine
public static final int NodeTypeVirtualMachine
public static final java.lang.String PropertyAvailable
public boolean aboutToModify
public boolean aboutToClose
public boolean forcedClose
public int saveRestore
public int newSaveRestore
protected java.util.Properties properties
public int domainZeroMemory
public int nodeType
public NodeID id
public java.lang.String statusMsg
public java.util.Vector macAddresses
public java.net.InetAddress privateIP
public java.net.InetAddress publicIP
public java.lang.String prefferedIP
public java.lang.String hostName
public int machineType
public ResourceType resourceType
public int memory
public long sliverIdx
public Node realHost
public NodeID realHostID
public java.lang.String realHostName
public java.lang.String realHostIP
public Node newHost
public NodeID newHostID
public java.lang.String newHostName
public java.lang.String newHostIP
public ResourceType newResourceType
public int computons
public java.lang.String hostKey
public Node originalNode
public Node updates
public ID logicalId
public ID machineId
public ID newLogicalId
public ID newMachineId
protected boolean dirty
public long[] growing
protected long sequence
public IReservation reservation
protected byte available
| Constructor Detail |
|---|
public Node()
public Node(NodeID nid,
java.lang.String hostName)
public Node(NodeID id,
Node realhost)
public Node(NodeID id,
Node realhost,
int computons,
int basis)
| Method Detail |
|---|
public void setVirtualMachine()
public boolean isVirtualMachine()
public void setPhysicalMachine()
public boolean isPhysicalMachine()
public void configIP(java.net.InetAddress privateIP,
java.net.InetAddress publicIP)
privAddr - private IP addresspublicIP - public (external) IP address or nullpublic void unsetNaming()
public void addMAC(java.lang.String mac)
mac - MAC addresspublic java.lang.Object clone()
clone in class java.lang.Objectpublic void transition(int tostate)
public void clearStatus()
public void activate()
public void deactivate()
public boolean active()
public boolean opening()
public boolean closing()
public boolean closed()
public boolean failed()
public void fail()
public boolean down()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - some other nodepublic java.lang.String getHostKey()
public void setHostKey(java.lang.String hostKey)
public Node getRealHost()
public long getSliverIdx()
public void setSliverIdx(long sliverIdx)
public NodeID getNodeID()
public java.lang.String getPrivateIPaddr()
public java.lang.String getPublicIPaddr()
public java.net.InetAddress getPrivateInetAddr()
public java.net.InetAddress getPublicInetAddr()
public void setPrivateIP(java.lang.String privIP)
throws java.lang.Exception
privIP - private IP address as a string
java.lang.Exception
public void setPublicIP(java.lang.String pubIP)
throws java.lang.Exception
pubIP - public IP address as a string
java.lang.Exceptionpublic void setPublicIP(java.net.InetAddress address)
public java.lang.String getProperty(java.lang.String name)
public void setProperty(java.lang.String name,
java.lang.String value)
public void setProperties(java.util.Properties p)
properties - the new property listpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void setMachineType(int t)
public void setResourceType(ResourceType type)
public ResourceType getResourceType()
public java.util.Properties save()
throws java.lang.Exception
ISerialize
save in interface ISerializejava.lang.Exceptionpublic java.lang.String saveMacs()
protected void resetMacs(java.lang.String s)
throws java.lang.Exception
java.lang.Exception
public void save(java.util.Properties p)
throws java.lang.Exception
ISerialize
save in interface ISerializep - properties list to serialize the object into
java.lang.Exception
public void reset(java.util.Properties p)
throws java.lang.Exception
ISerialize
reset in interface ISerializep - properties list containing the serialized version of
the object
java.lang.Exception
public void revisit(IActorIdentity actor,
java.util.Properties properties)
throws java.lang.Exception
java.lang.Exceptionpublic int getState()
public java.lang.String getStateString()
public java.lang.String getStatusMessage()
public java.lang.String consumeStateMsg()
public void setSlice(java.lang.String name)
public java.lang.String getSlice()
public void setSliceNumericID(int id)
public int getSliceNumericID()
public void setSliceID(SliceID sliceID)
public SliceID getSliceID()
public void setReservationID(ReservationID rid)
public void setRemoteReservationID(ReservationID rid)
public ReservationID getReservationID()
public ReservationID getRemoteReservationID()
public void setPublicNetmask(java.lang.String mask)
public void setPublicNetwork(java.lang.String net)
public void setPrivateNetmask(java.lang.String mask)
public void setPrivateNetwork(java.lang.String net)
public void setPrivateGateway(java.lang.String gw)
public void setNic(java.lang.String nic)
public void setDnsClass(java.lang.String value)
public void setDnsZone(java.lang.String value)
public void setMXRecord(java.lang.String value)
public void setGateway(java.lang.String value)
public void setCpuShare(java.lang.String value)
public java.lang.String getCpuShare()
public void setCpuExtra(java.lang.String value)
public java.lang.String getCpuExtra()
public void setBandwidthShare(java.lang.String value)
public java.lang.String getBandwidthShare()
public void setBandwidthExtra(java.lang.String value)
public java.lang.String getBandwidthExtra()
public void setNewCpuShare(java.lang.String value)
public java.lang.String getNewCpuShare()
public void setNewCpuExtra(java.lang.String value)
public java.lang.String getNewCpuExtra()
public void setNewBandwidthShare(java.lang.String value)
public java.lang.String getNewBandwidthShare()
public void setNewBandwidthExtra(java.lang.String value)
public java.lang.String getNewBandwidthExtra()
public void setNewMemory(int value)
public int getNewMemory()
public void merge(Node other)
public void relocate(Node newHost)
public void completeModify()
public void releaseToPool(BinPool pool)
public Node copy()
throws java.lang.Exception
java.lang.Exceptionpublic ID getLogicalId()
public ID getMachineId()
public void setLogicalId(ID id)
public void setMachineId(ID id)
public boolean hasPending()
public java.util.Properties getProperties()
public java.lang.String getPublicIP()
public void setPoolName(java.lang.String name)
public java.lang.String getPoolName()
public void setDirty(boolean dirty)
public boolean isDirty()
public void setMachineName(java.lang.String name)
name - machine namepublic java.lang.String getMachineName()
public void setHostName(java.lang.String name)
name - host namepublic java.lang.String getHostName()
public static void setHostName(java.util.Properties p,
java.lang.String name)
p - properties listname - host namepublic void setServiceIP(java.lang.String ip)
ip - the service IP addresspublic java.lang.String getServiceIP()
public void setServiceNetwork(java.lang.String base)
base - the service network base address (a valid ip)public java.lang.String getServiceNetwork()
public void setServiceNetworkMask(java.lang.String base)
base - the service network maskpublic java.lang.String getServiceNetworkMask()
public void setServiceGateway(java.lang.String gw)
gw - the service gatewaypublic java.lang.String getServiceGateway()
public static void setServiceIP(java.util.Properties p,
java.lang.String ip)
p - properties listip - IP addresspublic java.lang.String getEthernet()
public void setEthernet(java.lang.String eth)
public boolean isOpening()
public void setOpening(boolean flag)
flag - flag valuepublic boolean isClosing()
public boolean isClosed()
public void setClosing(boolean flag)
flag - flag valuepublic boolean isModifying()
public void setModifying(boolean flag)
flag - flag valuepublic boolean isDonated()
public void setDonated(boolean value)
public long getSequence()
public void setSequence(long sequence)
public java.lang.String getPoolID()
public java.lang.String getPoolResourceType()
public boolean isAvailable()
public void setAvailable(boolean value)
public int getNodeType()
public void setNodeType(int nodeType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||