org.ow2.jasmine.vmm.agent.driver.xen
Class XenServerPool
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.ow2.jasmine.vmm.agent.domain.ManagedResource
org.ow2.jasmine.vmm.agent.domain.ServerPool
org.ow2.jasmine.vmm.agent.driver.xen.XenServerPool
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.ow2.jasmine.vmm.api.ManagedResourceMXBean, org.ow2.jasmine.vmm.api.ServerPoolMXBean
public class XenServerPool
- extends ServerPool
The XenServerPool is the Xen-driver-specific implementation of the
ServerPoolMXBean interface.
The Xen driver resorts to a combination of SSH commands and XenAPI
connections to control each Xen host of a XenServerPool. The XenServerPool
accepts the following properties:
- sshDefaultRootPassword : default root ssh password
- vmmDomain0HomeDir : directory where the driver host-side shell scripts
are installed
- xenapiDefaultUser : XenAPI default login
- xenapiDefaultPassword : XenAPI default password
- xenapiDefaulPort : XenAPI default port
These properties will be used to connect to each host member of the
XenServerPool.
|
Constructor Summary |
XenServerPool(java.lang.String name,
javax.management.ObjectName objectName,
java.util.Properties props)
|
|
Method Summary |
org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean |
getVMImageStore()
|
java.lang.String |
getVMMDomain0HomeDir()
|
org.ow2.jasmine.vmm.api.HostMXBean |
newHost(java.lang.String hostName,
java.util.Map<java.lang.String,java.lang.String> props)
|
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ow2.jasmine.vmm.api.ManagedResourceMXBean |
getObjectName, getPath |
XenServerPool
public XenServerPool(java.lang.String name,
javax.management.ObjectName objectName,
java.util.Properties props)
newHost
public org.ow2.jasmine.vmm.api.HostMXBean newHost(java.lang.String hostName,
java.util.Map<java.lang.String,java.lang.String> props)
- Specified by:
newHost in class ServerPool
getVMImageStore
public org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean getVMImageStore()
- Specified by:
getVMImageStore in interface org.ow2.jasmine.vmm.api.ServerPoolMXBean- Specified by:
getVMImageStore in class ServerPool
getVMMDomain0HomeDir
public java.lang.String getVMMDomain0HomeDir()
Copyright © 2009 OW2 Consortium. All Rights Reserved.