ResourceAllocation ra = vm.getResourceAllocation();
String memory = Integer.toString(ra.getMemory());
String cpuCount = Integer.toString(ra.getIndCpuCount());
String uri = vm.getVMFiles()[0].getURI().getPath();
VMTranslation vmt = new VMTranslation(id, node, creatorId, groupId, groupName, state, startTime, endTime,
memory, cpuCount, uri);
return vmt;
}
catch (ManageException e) {
throw new RemoteException(e.getMessage());