Fwd: question about importing VMware-produced OVA

Sharing the thread below with the list. ---------- Forwarded message ---------- From: Shao-Da Huang <sdhuang32@gmail.com> Date: Tue, Mar 13, 2018 at 11:23 AM Subject: Re: question about importing VMware-produced OVA To: Arik Hadas <ahadas@redhat.com> 2018-03-13 15:51 GMT+08:00 Arik Hadas <ahadas@redhat.com>:
On Tue, Mar 13, 2018 at 6:10 AM, Shao-Da Huang <sdhuang32@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?
participants (1)
-
Arik Hadas