[Engine-devel] Search option for finding disks for templates / vms

Ayal Baron abaron at redhat.com
Tue Jul 3 20:33:27 UTC 2012



----- Original Message -----
> On 07/03/2012 06:44 PM, Miki Kenneth wrote:
> >
> >
> > ----- Original Message -----
> >> Hey,
> >>
> >> https://bugzilla.redhat.com/show_bug.cgi?id=828089
> >>
> >> I would like add a search option for searching disks of a VM or
> >> Template,
> >>
> >> Please suggest a name for the search option,
> >> In the 'view' level we call it 'entity_type', but maybe 'type' is
> >> nicer ? (or not too specific?)
> > Belongs-To/Attached-To/
> 
> iiuc, this isn't about the vm it is attached to (which would be
> vm=xxxx
> or disk.vm =xxxx i hope).
> this is about showing disks of VMs or Templates.
> so its more like "parent_type".
> though i don't have a good name to offer

Neither.
There is no such thing as a VM disk or a Template disk.
There are ReadOnly disks and Writeable disks.
It just so happens that currently we only support read-only disks in templates, but we will probably remove this limitation in the future.



> 
> >>
> >>
> >> Thanks,
> >>
> >>
> >>
> >> Regards,
> >> Asaf
> >>
> >>
> >>
> >>
> 
> 
> 



More information about the Engine-devel mailing list