org.glassfish.virtualization.config
Interface MachineConfig

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy

public interface MachineConfig
extends org.jvnet.hk2.config.ConfigBeanProxy

A physical machine can be represented by either a name, an IP or a mac-address


Nested Class Summary
static class MachineConfig.MachineResolver
           
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Method Summary
 String getDisksLocation()
          Relative path location on the target machine where the virtual machines volumes will be stored.
 String getIpAddress()
           
 String getMacAddress()
           
 String getName()
           
 String getNetworkName()
           
 String getOsName()
           
 String getTemplateCacheLocation()
          Relative path location on the target machine where the cached virtual machines templates will be stored.
 String getTemplatesLocation()
          Relative path location on the target machine where the virtual machines templates will be stored.
 VirtUser getUser()
          Defines the user identify on the remote machine that can be used to connect to the virtualization layer and manipulate virtual machines, storage pools etc...
 void setDisksLocation(String location)
           
 void setIpAddress(String ipAddress)
           
 void setMacAddress(String macAddress)
           
 void setName(String name)
           
 void setNetworkName(String networkName)
           
 void setOsName(String osName)
           
 void setTemplateCacheLocation(String location)
           
 void setTemplatesLocation(String location)
           
 void setUser(VirtUser user)
           
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 

Method Detail

getName

String getName()

setName

void setName(String name)

getNetworkName

String getNetworkName()

setNetworkName

void setNetworkName(String networkName)

getIpAddress

String getIpAddress()

setIpAddress

void setIpAddress(String ipAddress)

getMacAddress

String getMacAddress()

setMacAddress

void setMacAddress(String macAddress)

getOsName

String getOsName()

setOsName

void setOsName(String osName)

getDisksLocation

String getDisksLocation()
Relative path location on the target machine where the virtual machines volumes will be stored. The path is relative to the configured user home directory.

Returns:
the virtual machine volume storage path
See Also:
getUser()

setDisksLocation

void setDisksLocation(String location)

getTemplatesLocation

String getTemplatesLocation()
Relative path location on the target machine where the virtual machines templates will be stored. The path is relative to the configured user home directory

Returns:
the virtual machine templates storage path
See Also:
getUser()

setTemplatesLocation

void setTemplatesLocation(String location)

getTemplateCacheLocation

String getTemplateCacheLocation()
Relative path location on the target machine where the cached virtual machines templates will be stored. The cache is used to quickly allocate virtual machine without requiring last minute copying of templates into disks


setTemplateCacheLocation

void setTemplateCacheLocation(String location)

getUser

VirtUser getUser()
Defines the user identify on the remote machine that can be used to connect to the virtualization layer and manipulate virtual machines, storage pools etc... If not defined, the serverPool's user will be used.

Returns:
the machine user information
See Also:
ServerPoolConfig.getUser()

setUser

void setUser(VirtUser user)


Copyright © 2012. All Rights Reserved.