Search in sources :

Example 1 with GlusterServersListReturn

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

the class JsonRpcVdsServer method glusterServersList.

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

Aggregations

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