
Vojtech Juranek <vjuranek@redhat.com> writes:
On Friday, 1 October 2021 07:51:56 CEST divan@santanas.co.za wrote:
Hi oVirt Team,
Reading the API docs
http://ovirt.github.io/ovirt-engine-api-model/4.3/#services/external_vm_impo rts http://ovirt.github.io/ovirt-engine-api-model/4.3/#types/external_vm_provid er_type and ovirt_vm module https://docs.ansible.com/ansible/latest/collections/ovirt/ovirt/ovirt_vm_mod ule.html#ansible-collections-ovirt-ovirt-ovirt-vm-module
I see support for - kvm - vmware - XEN
In the oVirt web GUI (4.3) there is under compute -> VM -> import -> source options for: - kvm - vmware - XEN - Virtual Appliance OVA
I'm trying to import an OVA that sits on the file system on the oVirt node. Via the GUI selecting Virtual Appliance OVA does the job.
Is the API missing this functionality or am I missing something?
here is example how to import OVA file (for 4.4, not sure about 4.3, but probably should work as well):
https://github.com/oVirt/python-ovirt-engine-sdk4/blob/main/examples/import_...
Thanks. This example is useful indeed. Though it doesn't really answer the question. Because this example uses requires KVM/libvirt storage domain AFAIK. Unlike the web interface which can import an ova file that is residing on the file system. Having an API for that, would be nice.