[ovirt-users] Fwd: question about importing VMware-produced OVA

Arik Hadas ahadas at redhat.com
Tue Mar 13 09:30:37 UTC 2018


Sharing the thread below with the list.

---------- Forwarded message ----------
From: Shao-Da Huang <sdhuang32 at gmail.com>
Date: Tue, Mar 13, 2018 at 11:23 AM
Subject: Re: question about importing VMware-produced OVA
To: Arik Hadas <ahadas at redhat.com>


2018-03-13 15:51 GMT+08:00 Arik Hadas <ahadas at redhat.com>:

>
> On Tue, Mar 13, 2018 at 6:10 AM, Shao-Da Huang <sdhuang32 at gmail.com>
> wrote:
>
>> Hi Arik,
>>
>> I'm Michael, an oVirt user from Taiwan, and I'm trying to import OVAs
>> produced by VMware into my data center.
>> I've tried the functionality in the 'Virtual Machine' tab -> Import ->
>> Source 'VMware Virtual Appliance (OVA)', but I wanna know that is there a
>> corresponding REST API so I can use it to automate this procedure?
>>
>> I found the
>> POST /externalvmimports API,
>> but it seems not to be used for OVA.
>>
>
> Hi Michael,
>
> You can import an OVA via REST-API using that post command. Let's say that
> you would like to import an OVA that is located in /home/user/vm.ova on
> host 'myhost' then you should set the host to 'myhost', the URL to
> 'ova:///home/user/vm.ova' and the provider to VMware.
>
> Please let me know if that did the trick.
>

Thank you very much! It works!


> Btw, any reason not to send this to the users-list?
>
If no such REST API exists, how to use CLI commands combinations to achieve
>> the same goal as in the engine UI?
>>
>> Could you give me some advices?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180313/b76bbc1b/attachment.html>


More information about the Users mailing list