Skip to content

API to import OVF via vCenter to ESXi host #9

Description

@Tilden18

Is your feature request related to a problem? Please describe.

Hi All,
We have a problem related to OVF imports in the ESXi host.

We are using the VI Java Client API for our automation.

Our automation works as follows:

  1. Authentication using the https:///sdk
  2. And we upload the OVF templates to ESXi Host
  3. And VM is created

Reference code: https://developer.vmware.com/samples/7622/deploy-ovf?h=ovf#code

Here we have a dependency on ESXi Host connectivity/reachability, or else the OVF import will fail.

We want to break this dependency, maybe by using some vcenter API which will help us to upload the OVF to the ESXi Host via the vcenter, (Similar to Uploading an OVF in vCenter portal).

We are not able to find the right API. Our understanding is, vsphere automation API has features to upload the OVF to the content library and deploy/create an OVF from the content library.

Currently, we don't want to use the content library, so do we have any other API which will help us to achieve our goals?

Describe the solution you'd like

API which will help us to upload the OVF image to the EXSI host via vCenter. So we eliminate the connectivity dependency towards ESXi Host.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions