org.glassfish.virtualization.config
Interface ServerPoolConfig
- All Superinterfaces:
- org.jvnet.hk2.config.ConfigBeanProxy
public interface ServerPoolConfig
- extends org.jvnet.hk2.config.ConfigBeanProxy
Provides configuration for a serverPool of machines.
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
createChild, deepCopy, getParent, getParent |
getName
String getName()
setName
void setName(String name)
getPortName
String getPortName()
- Semicolon list of port names used by the serverPool master machine to receive administrative communication on.
possible values are a single port name like br0, eth0, eth1... or multiple ports values like br0, eth0 and so
on.
When multiple values are provided, the ports will be queried in the order of their
definition until a valid IP address is obtained..
- Returns:
- list of port name used by this serverPool master to receive admin command.
setPortName
void setPortName(String portName)
getSubNet
String getSubNet()
setSubNet
void setSubNet(String subNet)
getUser
@NotNull
VirtUser getUser()
setUser
void setUser(VirtUser user)
getMachines
List<MachineConfig> getMachines()
machineByName
@DuckTyped
MachineConfig machineByName(String name)
getVirtualization
@DuckTyped
Virtualization getVirtualization()
- Returns the virtualization technology used to interface with low-level machine creation/deletion/etc...
Possible values are libvirt, jclouds, deltacloud.
So far only libvirt is supported.
- Returns:
- the virtualization solution.
- See Also:
Virtualization.getName()
Copyright © 2012. All Rights Reserved.