use of com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXMLParser in project cloudstack by apache.
the class ManagedNfsStorageAdaptor method getStorageVolumeDef.
public LibvirtStorageVolumeDef getStorageVolumeDef(Connect conn, StorageVol vol) throws LibvirtException {
String volDefXML = vol.getXMLDesc(0);
LibvirtStorageVolumeXMLParser parser = new LibvirtStorageVolumeXMLParser();
return parser.parseStorageVolumeXML(volDefXML);
}
use of com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXMLParser in project cloudstack by apache.
the class LibvirtStorageAdaptor method getStorageVolumeDef.
public LibvirtStorageVolumeDef getStorageVolumeDef(Connect conn, StorageVol vol) throws LibvirtException {
String volDefXML = vol.getXMLDesc(0);
LibvirtStorageVolumeXMLParser parser = new LibvirtStorageVolumeXMLParser();
return parser.parseStorageVolumeXML(volDefXML);
}
use of com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXMLParser in project cosmic by MissionCriticalCloud.
the class ManagedNfsStorageAdaptor method getStorageVolumeDef.
public LibvirtStorageVolumeDef getStorageVolumeDef(final Connect conn, final StorageVol vol) throws LibvirtException {
final String volDefXml = vol.getXMLDesc(0);
final LibvirtStorageVolumeXmlParser parser = new LibvirtStorageVolumeXmlParser();
return parser.parseStorageVolumeXml(volDefXml);
}
use of com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXMLParser in project cosmic by MissionCriticalCloud.
the class LibvirtStorageAdaptor method getStorageVolumeDef.
public LibvirtStorageVolumeDef getStorageVolumeDef(final Connect conn, final StorageVol vol) throws LibvirtException {
final String volDefXml = vol.getXMLDesc(0);
final LibvirtStorageVolumeXmlParser parser = new LibvirtStorageVolumeXmlParser();
return parser.parseStorageVolumeXml(volDefXml);
}
Aggregations