[Engine-devel] restapi: 'gluster' prefix
Michael Pasternak
mpastern at redhat.com
Wed May 9 08:58:48 UTC 2012
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
More information about the Engine-devel
mailing list