org.ow2.jasmine.vmm.agent.driver.xenapi
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.xenapi.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 XenAPI-driver-specific implementation of the
ServerPoolMXBean interface.
The XenServerPool accepts the following properties:
- user : XenAPI default login
- password : XenAPI default password
- port : XenAPI default port
These properties will be used to connect to each host member of the
XenServerPool.
|
Field Summary |
protected org.ow2.jasmine.vmm.agent.driver.xenapi.XenServerPool.EventCollector |
eventCollector
|
|
Constructor Summary |
XenServerPool(java.lang.String name,
javax.management.ObjectName objectName,
java.util.Map<java.lang.String,java.lang.String> attributes)
|
| Methods inherited from class org.ow2.jasmine.vmm.agent.domain.ServerPool |
addHost, addHost, deleteHost, getAttributes, getLatestHost, getManagedHosts, getName, getNotificationInfo, moveHost, provisionVM, setProvisioningPolicy |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, 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 |
eventCollector
protected org.ow2.jasmine.vmm.agent.driver.xenapi.XenServerPool.EventCollector eventCollector
XenServerPool
public XenServerPool(java.lang.String name,
javax.management.ObjectName objectName,
java.util.Map<java.lang.String,java.lang.String> attributes)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getHypervisor
public java.lang.String getHypervisor()
getSharedStorageRepository
public java.lang.String getSharedStorageRepository()
newHost
public org.ow2.jasmine.vmm.api.HostMXBean newHost(java.lang.String hostName,
java.util.Map<java.lang.String,java.lang.String> attributes)
throws java.lang.IllegalArgumentException
- Specified by:
newHost in class ServerPool
- Throws:
java.lang.IllegalArgumentException
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
initialize
public void initialize()
deleteImageStore
public void deleteImageStore()
- Specified by:
deleteImageStore in class ServerPool
Copyright © 2011 OW2 Consortium. All Rights Reserved.