org.ow2.jasmine.vmm.agent.driver.xen
Class XenServerPool

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.ow2.jasmine.vmm.agent.domain.ManagedResource
          extended by org.ow2.jasmine.vmm.agent.domain.ServerPool
              extended by 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:

These properties will be used to connect to each host member of the XenServerPool.


Field Summary
 
Fields inherited from class org.ow2.jasmine.vmm.agent.domain.ServerPool
hosts, logger, name, placementPolicy
 
Fields inherited from class org.ow2.jasmine.vmm.agent.domain.ManagedResource
objectName, path
 
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 org.ow2.jasmine.vmm.agent.domain.ServerPool
addHost, getManagedHosts, getName, provisionVM, setProvisioningPolicy
 
Methods inherited from class org.ow2.jasmine.vmm.agent.domain.ManagedResource
emitNotification, emitNotification, getObjectName, getPath
 
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
 

Constructor Detail

XenServerPool

public XenServerPool(java.lang.String name,
                     javax.management.ObjectName objectName,
                     java.util.Properties props)
Method Detail

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.