Search in sources :

Example 1 with GetVmsFromExternalProviderQueryParameters

use of org.ovirt.engine.core.common.queries.GetVmsFromExternalProviderQueryParameters in project ovirt-engine by oVirt.

the class AsyncDataProvider method getVmsFromExternalServer.

public void getVmsFromExternalServer(AsyncQuery aQuery, Guid dataCenterId, Guid vdsId, String url, String username, String password, OriginType originType, List<String> vmsToImport) {
    aQuery.converterCallback = new ListConverter<>();
    Frontend.getInstance().runQuery(QueryType.GetVmsFromExternalProvider, new GetVmsFromExternalProviderQueryParameters(url, username, password, originType, vdsId, dataCenterId, vmsToImport), aQuery);
}
Also used : GetVmsFromExternalProviderQueryParameters(org.ovirt.engine.core.common.queries.GetVmsFromExternalProviderQueryParameters)

Aggregations

GetVmsFromExternalProviderQueryParameters (org.ovirt.engine.core.common.queries.GetVmsFromExternalProviderQueryParameters)1