use of org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method migrateStatus.
@Override
public MigrateStatusReturn migrateStatus(String vmId) {
JsonRpcRequest request = new RequestBuilder("VM.getMigrationStatus").withParameter("vmID", vmId).build();
Map<String, Object> response = new FutureMap(this.client, request).withResponseKey("response").withResponseType(Long.class);
return new MigrateStatusReturn(response);
}
Aggregations