Whether a volume is a leaf can be easily computed since it's the last
volume in the chain, see[1]


[1] 
https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/ImagesHandler.java#L667

On Tue, Feb 18, 2020 at 5:14 PM Fedor Gavrilov <[email protected]> wrote:
>
> Hi,
>
> It seems I was able to get my setup working for NFS storage, thanks for your 
> advices!
>
> Now I'm afraid I am stuck again: what I need to do is to add validation for 
> volume metadata to a certain command (to be exact, that VOLTYPE is LEAF). But 
> I can't find examples of us dealing with this data in the engine part at all. 
> I understand this is in the end executed by VDSM, but nevertheless - in what 
> format are we even reading and writing volume metadata? Even class/method 
> name would be helpful.
>
> Thanks,
> Fedor
> _______________________________________________
> Devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/[email protected]/message/EBNNYCDNFV35SSSS3HN4HZK3XSIX5ABC/
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/NVRHIEDO6JNYHPTD4SNJFDYNNMEJLVDP/

Reply via email to