Issue #830: added VdcClient.upload comment about file size of -1

This commit is contained in:
Aled Sage 2012-03-16 17:28:20 +00:00
parent 0904766a3f
commit 677cdfaafa
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,9 @@ public interface VdcClient {
* The status of vApp template will be NOT_READY(0) until the ovf and all disks are uploaded * The status of vApp template will be NOT_READY(0) until the ovf and all disks are uploaded
* to the transfer site. After this a task will run on the vApp template uploading. * to the transfer site. After this a task will run on the vApp template uploading.
* *
* Note that the empty vApp template's getFiles() returns a file of size -1 after step one above,
* because the descriptor.ovf does not yet exist.
*
* @return a VAppTemplate resource which will contain a task. * @return a VAppTemplate resource which will contain a task.
* The user should should wait for this task to finish to be able to use the VAppTemplate. * The user should should wait for this task to finish to be able to use the VAppTemplate.
*/ */