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