cinder/cinder/api/v2
Brianna Poulos 3caa76a2b2 Add encrypted flag to volumes
Currently, the only way to determine whether a volume is encrypted
is by retrieving the encryption metadata about the volume (through
cinder.api.contrib.volume_encryption_metadata) and checking the
encryption_key_id value.  This patch adds an "encrypted" flag to
the basic volume api to enable other services (like Horizon: see
patch https://review.openstack.org/#/c/71125) to easily tell
whether a volume is encrypted using a basic get call,instead of
requiring an additional call.

Implements blueprint encrypt-cinder-volumes
https://blueprints.launchpad.net/nova/+spec/encrypt-cinder-volumes

Change-Id: Id8e422135f17795de06589930afd0309fde28fd1
2014-02-14 12:59:47 -05:00
..
views Add encrypted flag to volumes 2014-02-14 12:59:47 -05:00
__init__.py adding copy of v1 as v2 2012-11-21 21:26:40 -08:00
limits.py All API controllers inherit from wsgi.Controller 2013-12-04 14:53:08 +08:00
router.py Remove vim header 2013-12-30 18:53:02 -06:00
snapshot_metadata.py Remove vim header 2013-12-30 18:53:02 -06:00
snapshots.py Handle NotFound exception in snapshots API code 2013-11-27 14:02:48 -07:00
types.py Remove vim header 2013-12-30 18:53:02 -06:00
volume_metadata.py Remove vim header 2013-12-30 18:53:02 -06:00
volumes.py Add notifier events to cinder volume rename, reset-state 2014-01-22 18:57:03 -08:00