Search in sources :

Example 1 with GlusterHostsPubKeyReturn

use of org.ovirt.engine.core.vdsbroker.gluster.GlusterHostsPubKeyReturn in project ovirt-engine by oVirt.

the class JsonRpcVdsServer method glusterGeoRepKeysGet.

@Override
public GlusterHostsPubKeyReturn glusterGeoRepKeysGet() {
    JsonRpcRequest request = new RequestBuilder("GlusterVolume.geoRepKeysGet").build();
    Map<String, Object> response = new FutureMap(this.client, request);
    return new GlusterHostsPubKeyReturn(response);
}
Also used : JsonRpcRequest(org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest) RequestBuilder(org.ovirt.vdsm.jsonrpc.client.RequestBuilder) GlusterHostsPubKeyReturn(org.ovirt.engine.core.vdsbroker.gluster.GlusterHostsPubKeyReturn)

Aggregations

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