[Engine-devel] RESTAPI: what is the purpose for /api/disks collection

Michael Pasternak mpastern at redhat.com
Sun Jun 10 13:18:14 UTC 2012


IIUC originally this collection was suppose to keep all disks
that can be shared between different vms and/or available to be
attached to certain vm.

At the moment this collection contains all disks in system while
engine does not provide any search capabilities for it,

in my view it not really useful, till we add search capabilities
for being able:

1. locate <shareable>true</shareable> disks
2. distinguish between <shareable>true|false</shareable> and <active>true|false</active>
   disks
3. maybe even worth taking <active>false</active>&&<shareable>false</shareable>
   out of this collection and place them under api/clusters/xxx/disks (or under DC).
   this way /api/disks will only have disks that can be shared.

your thoughts?

-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D



More information about the Engine-devel mailing list