Probably not, but you can - get the disk image UUID (that's the name in the filesystem or LV name), - get the UUID of the storage domain (that will be the top level dir name or VG name) - get the DC UUID (this will be the top level dir name and the mount point for LVM)
Then compose the path out of these. Keep in mind that the disk UUID you get is the latest leaf in a snapshot tree, and if you need the entire chain of images, you need to recursively traverse the tree starting at the leaf, using the PUUID tag to find the parent. Might be a better way, but I'm not aware of it. Moreover, if you explain why you need to touch those images manually instead of letting ovirt handle everything, we might be able to suggest a better way -- D On Wed, Dec 4, 2013 at 2:34 AM, Исаев Виталий Анатольевич <[email protected]>wrote: > Dear ovirt-engine users, > > > > I will be appreciated if someone experienced in oVirt Python SDK could > advice the method of getting the full filename of the VM’s disk images in > the RHEV hypervisor’s file system. Can I get filename with a full file > system path from a ovirtsdk.infrastructure.brokers.VMDisk class instance? > > > > If Python SDK (what is preffered) can’t provide such an information, may > be it is still possible with RHEV-M REST API? > > > > Thank you, > > Vitaly Isaev > > Software engineer > > Information security department > > Fintech JSC, Moscow, Russia > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

