- Timestamp:
- Sep 5, 2018 4:21:43 PM (6 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r74003 r74086 25185 25185 </method> 25186 25186 25187 <method name="getExportParameters" const="yes"> 25188 <desc> 25189 Returns the parameters required to be shown to user for export a VM to a cloud operation. 25190 </desc> 25191 <param name="jsonString" type="wstring" dir="return"> 25192 <desc>the parameters with values in json format.</desc> 25193 </param> 25194 </method> 25195 25196 <method name="exportVM"> 25197 <desc> 25198 Exports a VM described in description parameter 25199 </desc> 25200 <param name="description" type="IVirtualSystemDescription" dir="in"> 25201 <desc>VirtualSystemDescription object which is describing a machine and all required parameters.</desc> 25202 </param> 25203 <param name="progress" type="IProgress" dir="in"> 25204 <desc>Progress object to track the operation completion.</desc> 25205 </param> 25206 </method> 25207 25208 25209 25210 25187 25211 </interface> 25188 25212 -
trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
r73975 r74086 2386 2386 hrc = ociProfile->CreateCloudClient(cloudClient.asOutParam()); 2387 2387 2388 #ifndef VBOX_WITH_CLOUD_PROVIDERS_NO_COMMANDS 2389 2388 2390 //fills by values from m->m_OciExportData 2389 2391 //mostly all names(keys) come from official OCI API documentation (see LaunchInstance description) … … 2468 2470 cloudClient.setNull(); 2469 2471 } 2472 #else 2473 if (SUCCEEDED(hrc)) 2474 { 2475 LogRel(("Appliance::i_writeFSOCI(): calling OCICloudClient::exportVM\n")); 2476 2477 if (m->virtualSystemDescriptions.size() == 1) { 2478 cloudClient.exportVM(m->virtualSystemDescriptions.front(), pTask->pProgress); 2479 } else { 2480 //TODO: fail here 2481 } 2482 } 2483 #endif 2470 2484 2471 2485 LogFlowFuncLeave(); 2472 2486 return hrc; 2473 2487 } 2474 2475 2488 /** 2476 2489 * Writes the Oracle Public Cloud appliance.
Note:
See TracChangeset
for help on using the changeset viewer.