org.ow2.jasmine.vmm.agent.driver.libvirt
Class LibvirtServerPool
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.libvirt.LibvirtServerPool
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.ow2.jasmine.vmm.api.ManagedResourceMXBean, org.ow2.jasmine.vmm.api.ServerPoolMXBean
public class LibvirtServerPool
- extends ServerPool
|
Constructor Summary |
LibvirtServerPool(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 |
LibvirtServerPool
public LibvirtServerPool(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()
newHost
public org.ow2.jasmine.vmm.api.HostMXBean newHost(java.lang.String hostName,
java.util.Map<java.lang.String,java.lang.String> props)
throws org.ow2.jasmine.vmm.api.VMMException
- Specified by:
newHost in class ServerPool
- Throws:
org.ow2.jasmine.vmm.api.VMMException
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
getSharedDiskStoreDir
public java.lang.String getSharedDiskStoreDir()
getVmImageStoreHostname
public java.lang.String getVmImageStoreHostname()
getSyncPeriodMillis
public long getSyncPeriodMillis()
deleteImageStore
public void deleteImageStore()
- Specified by:
deleteImageStore in class ServerPool
Copyright © 2011 OW2 Consortium. All Rights Reserved.