[Engine-devel] Floating Disks implementation in REST-API
Itamar Heim
iheim at redhat.com
Tue Apr 17 15:54:04 UTC 2012
On 04/17/2012 05:56 PM, Geert Jansen wrote:
>
> On 04/17/2012 04:53 PM, Ori Liel wrote:
>
>>> iirc, shared disk is a flag on the disk to allow it to be shared.
>>> doesn't mean it is shared yet, rather can be shared.
>>
>> Right, but there's no contradiction: a disk can have 'shared' flag and
>> also show the list of VMs it's attached to. The flag tells you if the
>> disk has the ability to be shared, while the list of VMs tells you which
>> VMs are actually sharing the disk right now (if any at all)
>
> If we can expose the "shared" flag though, i think the API gets more
> natural. We can then only show the shared disks in the root context.
>
> Itamar, can we expose this flag, or do you consider this flag is
> internal to the BE?
we have to expose this flag for shared disk functionality. this is the
only way via ui/api to flag the disk as shared (which only then allows
attaching it to more than a single vm - this is explicit to avoid disk
corruptions)
More information about the Engine-devel
mailing list