use of org.ovirt.engine.core.vdsbroker.irsbroker.UUIDListReturn in project ovirt-engine by oVirt.
the class JsonRpcIIrsServer method getVolumesList.
@Override
public UUIDListReturn getVolumesList(String sdUUID, String spUUID, String imgUUID) {
JsonRpcRequest request = new RequestBuilder("StorageDomain.getVolumes").withParameter("storagedomainID", sdUUID).withParameter("storagepoolID", spUUID).withParameter("imageID", imgUUID).build();
Map<String, Object> response = new FutureMap(this.client, request).withResponseKey("uuidlist").withResponseType(Object[].class);
return new UUIDListReturn(response);
}
Aggregations