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