// create import spec from ovf
CreateImportSpecResult specResult = vcs.getOvfManager().createImportSpec(
loadOvfContents(ovfPath), rp.getMoRef(), ds.getMoRef(), importParams);
AuAssert.check(specResult.getError() == null && specResult.getWarning() == null);
VmImportSpec importSpec = (VmImportSpec)specResult.getImportSpec();
// start importing the vApp and get the lease to upload vmdks
HttpNfcLease nfcLease = rp.importVApp(importSpec);
// total bytes to be imported
long importTotal = 0;