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.
  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.
  7. Initiate the upload operation.
  8. Complete the update session.
  9. Delete the session.