generate OVF xml from libvirt xml and Import existing data domain

Latest response

I have a couple of questions regarding RHEV VMs and storage domains that I'd really appreciate everyone's insights on:

1] Is there a way to generate an OVF from the libvirt xml obtained from https://[RHEVM]:443/api/vms/[VMGUID] ?
- essentially, I see that the way to do this is to create an export domain and to export each VM manually. As a part of this, the disk images get copied to the export domain and the libvirt xml gets converted to OVF and copied to "master/vms" on the export domain. Can we do this second part separately via an supported/unsupported API/operation?

2] On a related note, can we import a non-export (i.e. data) storage domain into the RHEV datacenter?
Use case: storage vendor based snapshot of the lun on which the block storage domain exists could be taken and the resulting lun may be exposed back as a valid storage domain.

Thanks!

Responses