Search in sources :

Example 1 with DomainXmlListReturn

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

the class JsonRpcVdsServer method dumpxmls.

@Override
public DomainXmlListReturn dumpxmls(List<String> vmIds) {
    JsonRpcRequest request = new RequestBuilder("Host.dumpxmls").withOptionalParameterAsList("vmList", vmIds).build();
    Map<String, Object> response = new FutureMap(this.client, request).withResponseKey("domxmls").withResponseType(Object[].class);
    return new DomainXmlListReturn(response);
}
Also used : JsonRpcRequest(org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest) RequestBuilder(org.ovirt.vdsm.jsonrpc.client.RequestBuilder) DomainXmlListReturn(org.ovirt.engine.core.vdsbroker.vdsbroker.DomainXmlListReturn)

Aggregations

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