On 05/09/2012 11:46 AM, Ori Liel wrote:
>>>> why not having type in volume?,
>>> >>
>>> >> because the different volumes would be entirely different entities not 
>>> >> resembling each other
>> >
>> >it's still works for our api, as non relevant properties does not shown in 
>> >resource representation,
>> >we using this concept all over the api.
>> >
> properties - yes, but I'm afraid the sub-collections might be different and 
> we don't 
> have support for that
> 

sub-collections is the different story, you can create two volumes inheriting 
from same
base class and return them according to the context, but this is implementation 
detail.

-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D
_______________________________________________
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel

Reply via email to