org.ow2.jasmine.vmm.agent.driver.xen
Class XenVMImageStore
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.ow2.jasmine.vmm.agent.domain.ManagedResource
org.ow2.jasmine.vmm.agent.driver.xen.XenVMImageStore
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.ow2.jasmine.vmm.api.ManagedResourceMXBean, org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
public class XenVMImageStore
- extends ManagedResource
- implements org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
Xen driver VirtualMachineImageStore MXBean implementation This store is
implemented as a directory containing for each VM template:
- a XML metadata file
- the image file (raw filesystem image)
|
Constructor Summary |
XenVMImageStore(javax.management.ObjectName objectName,
java.lang.String rootDirectory,
java.lang.String storeServer,
java.lang.String vmmDomain0HomeDir,
java.lang.String sshPassword)
|
| 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 |
XenVMImageStore
public XenVMImageStore(javax.management.ObjectName objectName,
java.lang.String rootDirectory,
java.lang.String storeServer,
java.lang.String vmmDomain0HomeDir,
java.lang.String sshPassword)
throws org.ow2.jasmine.vmm.api.VMMException
- Throws:
org.ow2.jasmine.vmm.api.VMMException
removeVMImageTemplate
public void removeVMImageTemplate(org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean vmImage)
throws org.ow2.jasmine.vmm.api.VMMException
- Specified by:
removeVMImageTemplate in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
- Throws:
org.ow2.jasmine.vmm.api.VMMException
lookUpByName
public org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean lookUpByName(java.lang.String name)
lookUpByUUID
public org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean lookUpByUUID(java.lang.String uuid)
- Specified by:
lookUpByUUID in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
listVMImageTemplates
public java.util.List<org.ow2.jasmine.vmm.api.VirtualMachineImageMXBean> listVMImageTemplates()
- Specified by:
listVMImageTemplates in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
getCapacityMB
public long getCapacityMB()
- Specified by:
getCapacityMB in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
getFreeSpaceMB
public long getFreeSpaceMB()
- Specified by:
getFreeSpaceMB in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
getName
public java.lang.String getName()
- Specified by:
getName in interface org.ow2.jasmine.vmm.api.VirtualMachineImageStoreMXBean
Copyright © 2009 OW2 Consortium. All Rights Reserved.