Search in sources :

Example 1 with GlusterVolumeProfileInfoReturn

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);
}
Also used : GlusterVolumeProfileInfoReturn(org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumeProfileInfoReturn) JsonRpcRequest(org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest) RequestBuilder(org.ovirt.vdsm.jsonrpc.client.RequestBuilder)

Aggregations

GlusterVolumeProfileInfoReturn (org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumeProfileInfoReturn)1 JsonRpcRequest (org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest)1 RequestBuilder (org.ovirt.vdsm.jsonrpc.client.RequestBuilder)1