use of org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumeSnapshotCreateReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method glusterVolumeSnapshotCreate.
@Override
public GlusterVolumeSnapshotCreateReturn glusterVolumeSnapshotCreate(String volumeName, String snapshotName, String description, boolean force) {
JsonRpcRequest request = new RequestBuilder("GlusterVolume.snapshotCreate").withParameter("volumeName", volumeName).withParameter("snapName", snapshotName).withOptionalParameter("snapDescription", description).withParameter("force", force).build();
Map<String, Object> response = new FutureMap(this.client, request).withIgnoreResponseKey();
return new GlusterVolumeSnapshotCreateReturn(response);
}
Aggregations