]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Create key manager interface
authorJoel Coffman <joel.coffman@jhuapl.edu>
Tue, 30 Jul 2013 14:06:28 +0000 (10:06 -0400)
committerJoel Coffman <joel.coffman@jhuapl.edu>
Tue, 6 Aug 2013 13:34:10 +0000 (09:34 -0400)
commiteeb70eafa36383ffa02b36decd2f205395c20ed5
tree18f68b2f47ab7ce38dcef26bea4d328d5d0ddfb5
parent7df656ff0be9fef34a4e19f7b83a0cae554db1e7
Create key manager interface

This interface provides a thin wrapper around an underlying key
management implementation such as Barbican or a KMIP server. The key
manager interface is used by the volume encryption code to retrieve
keys for volumes.

This change is a copy-paste of the key manager interface accepted by
Nova. The major modifications are to the module imports (i.e.,
nova -> cinder).

Change-Id: I8f79165d66d67ad8faaca60946959c5a61811c59
Implements: blueprint encrypt-cinder-volumes
cinder/keymgr/__init__.py [new file with mode: 0644]
cinder/keymgr/key.py [new file with mode: 0644]
cinder/keymgr/key_mgr.py [new file with mode: 0644]
cinder/tests/keymgr/__init__.py [new file with mode: 0644]
cinder/tests/keymgr/mock_key_mgr.py [new file with mode: 0644]
cinder/tests/keymgr/test_key.py [new file with mode: 0644]
cinder/tests/keymgr/test_key_mgr.py [new file with mode: 0644]
cinder/tests/keymgr/test_mock_key_mgr.py [new file with mode: 0644]