apyrgio / synnefo

Synnefo is open source cloud software, used to create massively scalable IaaS clouds.
GNU General Public License v3.0
0 stars 0 forks source link

Mark volume types as detachable #322

Open apyrgio opened 9 years ago

apyrgio commented 9 years ago

For the attach/detach functionality, we will need a way to mark some volume types (e.g. archipelago) as detachable. For the time being, this is being handled in the Cyclades settings with the parameter CYCLADES_DETACHABLE_VOLUME_TYPES. However, this should be an extra field in the volume_type table.

apyrgio commented 9 years ago

Also, we can add a function in VolumeType, e.g. is_detachable(), that will return True or False, depending on the type.

apyrgio commented 9 years ago

The "detachable" capability can be returned like OpenStack returns it: http://developer.openstack.org/api-ref-blockstorage-v2.html