use of org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method glusterVolumesList.
@Override
public GlusterVolumesListReturn glusterVolumesList(Guid clusterId) {
JsonRpcRequest request = new RequestBuilder("GlusterVolume.list").build();
Map<String, Object> response = new FutureMap(this.client, request).withIgnoreResponseKey();
return new GlusterVolumesListReturn(clusterId, response);
}
use of org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method glusterVolumeInfo.
@Override
public GlusterVolumesListReturn glusterVolumeInfo(Guid clusterId, String volumeName) {
JsonRpcRequest request = new RequestBuilder("GlusterVolume.list").withParameter("volumeName", volumeName).build();
Map<String, Object> response = new FutureMap(this.client, request).withIgnoreResponseKey();
return new GlusterVolumesListReturn(clusterId, response);
}
Aggregations