Got it. I'm changing my code accordingly.

Many thanks

Luca

Il 2 mar 2018 5:59 PM, "Ondra Machacek" <omachace@redhat.com> ha scritto:
On 03/02/2018 05:24 PM, Luca 'remix_tj' Lorenzetto wrote:
On Fri, Mar 2, 2018 at 3:21 PM, Ondra Machacek <omachace@redhat.com> wrote:
Hi,

As per documentation:

http://ovirt.github.io/ovirt-engine-api-model/4.1/#services/storage_domain_vms

That resource is used to list VMs on export storage domain, not on data
domain.

If you want to find VMs using specific storage you may use following query:

   /ovirt-engine/api/vms?search=storage.name=nameofthestorage

Hi Ondra,

thanks. So what's the purpose of the ovirt_storage_vms_facts, only
working with export domains (which has been deprecated?)

Mainly listing the unregistered VMs, so it works as export domain.


Luca