Search in sources :

Example 1 with LibvirtStorageVolumeXmlParser

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);
}
Also used : LibvirtStorageVolumeXMLParser(com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXMLParser)

Example 2 with LibvirtStorageVolumeXmlParser

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);
}
Also used : LibvirtStorageVolumeXMLParser(com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXMLParser)

Example 3 with LibvirtStorageVolumeXmlParser

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);
}
Also used : LibvirtStorageVolumeXmlParser(com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXmlParser)

Example 4 with LibvirtStorageVolumeXmlParser

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);
}
Also used : LibvirtStorageVolumeXmlParser(com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXmlParser)

Aggregations

LibvirtStorageVolumeXMLParser (com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXMLParser)2 LibvirtStorageVolumeXmlParser (com.cloud.hypervisor.kvm.resource.LibvirtStorageVolumeXmlParser)2