use of org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumeGeoRepStatus in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method glusterVolumeGeoRepSessionList.
@Override
public GlusterVolumeGeoRepStatus glusterVolumeGeoRepSessionList(String volumeName, String slaveHost, String slaveVolumeName, String userName) {
JsonRpcRequest request = new RequestBuilder("GlusterVolume.geoRepSessionList").withParameter("volumeName", volumeName).withParameter("remoteHost", slaveHost).withParameter("remoteVolumeName", slaveVolumeName).withOptionalParameter("remoteUserName", userName).build();
Map<String, Object> response = new FutureMap(this.client, request).withIgnoreResponseKey();
return new GlusterVolumeGeoRepStatus(response);
}
use of org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumeGeoRepStatus in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method glusterVolumeGeoRepSessionList.
@Override
public GlusterVolumeGeoRepStatus glusterVolumeGeoRepSessionList() {
JsonRpcRequest request = new RequestBuilder("GlusterVolume.geoRepSessionList").build();
Map<String, Object> response = new FutureMap(this.client, request).withIgnoreResponseKey();
return new GlusterVolumeGeoRepStatus(response);
}
Aggregations