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 thePOST /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.
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?