Upload an OVF Package from a Local File System to a Library Item

You can upload an OVF package from a local file system. This procedure describes how to use the AddSpec object after you have created a library item and initiated an update session.

Note: If you try to upload a signed OVF package and it returns preview warnings, you must ignore the preview warnings to complete the upload.

Prerequisites

  • Created a new local content library or retrieve the desired existing content library.

Procedure

  1. Create a library item.
  2. Create an update session.
  3. Create an AddSpec object to describe the properties and the upload location of the descriptor file of the OVF package.
  4. Link the AddSpec object to the update session.
  5. Create an AddSpec object for each VMDK file included in the OVF package.
  6. Add all AddSpec objects to the update session.
    Steps 5 and 6 must be repeated for each VMDK file included in the OVF package. If you are uploading a signed OVF package, steps 5 and 6 must also be repeated for the manifest and certificate files included in the OVF package.
  7. Initiate the upload operation.
  8. Complete the update session.
  9. Delete the session.