cinder/cinder/tests
Mathieu Gagné 6c0f50b1ec Volume type access extension
This extension adds the ability to manage volume type access:
* Volume types are public by default
* Private volume types can be created by setting
  the is_public boolean field to False at creation time.
* Access to a private volume type can be controlled
  by adding or removing a project from it.
* Private volume types without projects are only visible
  by users with the admin role/context.

Implementation details and unit tests were mostly adapted
from Nova flavor access extension.

DocImpact: New volume type access extension
Implements: blueprint private-volume-types
Change-Id: I8faf1d8097bf8412d4e169ec3503821351795561
2014-12-01 18:46:31 -05:00
..
api Volume type access extension 2014-12-01 18:46:31 -05:00
backup Use abstract class for the backup driver interface 2014-08-15 08:30:05 +02:00
brick Brick LVM: LV not found logging and error handling 2014-11-25 08:57:29 -05:00
compute Enable flake8 F841 checking 2014-04-01 11:38:35 +04:00
db Fixes docstring typos (Cinder) 2014-10-09 12:20:01 -04:00
glance Remove vim header 2013-12-30 18:53:02 -06:00
image Amend unused variables to assist pylint testing 2014-10-30 16:23:57 +00:00
integrated Switch to oslo.serialization 2014-11-19 15:49:03 +08:00
keymgr Fix calls to assert_called_once in unit tests 2014-11-24 16:56:10 +00:00
monkey_patch_example Remove vim header 2013-12-30 18:53:02 -06:00
scheduler Use oslo.utils 2014-11-20 22:17:47 +08:00
targets Add iSCSI Target objects as independent objects 2014-11-25 09:09:00 -07:00
var Support for SSL in wsgi.Server 2013-01-14 15:55:16 -05:00
volume Refactoring to allow addition of NetApp FibreChannel drivers 2014-11-24 10:48:08 -05:00
windows Fix calls to assert_called_once in unit tests 2014-11-24 16:56:10 +00:00
xenapi Add XenAPINFSDriver 2012-11-21 15:03:35 +00:00
zonemanager Merge "CiscoFCSanLookupService passing command as string" 2014-11-28 03:37:27 +00:00
__init__.py Remove vim header 2013-12-30 18:53:02 -06:00
cast_as_call.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
conf_fixture.py Sync the latest common db code from oslo 2014-06-20 10:46:12 +03:00
declare_conf.py Remove vim header 2013-12-30 18:53:02 -06:00
fake_driver.py Use oslo.i18n 2014-08-08 17:26:41 -05:00
fake_hp_3par_client.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
fake_hp_client_exceptions.py HP 3PAR configurable ssh-host-key-policy 2014-09-10 11:22:56 -07:00
fake_hp_lefthand_client.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
fake_notifier.py Integrate OSprofiler and Cinder 2014-08-21 02:19:36 +04:00
fake_utils.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
policy.json Volume type access extension 2014-12-01 18:46:31 -05:00
runtime_conf.py Remove vim header 2013-12-30 18:53:02 -06:00
test_api_urlmap.py Add tests for cinder/api/urlmap.py 2013-07-11 11:30:00 +04:00
test_api.py Use six.StringIO instead of StringIO.StringIO 2014-02-25 17:07:29 +08:00
test_backup_ceph.py Merge "Remove Mock class monkey patching" 2014-11-24 11:11:48 +00:00
test_backup_driver_base.py Fix calls to assert_called_once in unit tests 2014-11-24 16:56:10 +00:00
test_backup_swift.py Merge "Amend unused variables to assist pylint testing" 2014-11-19 23:41:01 +00:00
test_backup_tsm.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
test_backup.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_block_device.py Fix host option isn't set when using multiple backend 2014-07-02 10:28:29 +00:00
test_conf.py Remove vim header 2013-12-30 18:53:02 -06:00
test_context.py context.elevated() should use copy.deepcopy() 2014-11-20 19:24:33 -06:00
test_coraid.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_create_volume_flow.py Consistency Groups 2014-08-27 01:47:31 -04:00
test_db_api.py Truncate fail_reason to column length 2014-10-09 20:07:08 +05:30
test_drivers_compatibility.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_emc_vmax.py Use look up service for auto zoning 2014-10-27 17:56:20 -04:00
test_emc_vnxdirect.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
test_emc_xtremio.py XtremIO cinder iSCSI & FC volume drivers for Juno 2014-08-27 15:53:37 +03:00
test_eqlx.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
test_exception.py Fix exception message formatting 2014-11-24 12:39:00 -02:00
test_fujitsu.py Add Fujitsu ETERNUS DX support 2014-09-01 07:57:04 +00:00
test_fusionio_ioControl.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_glusterfs.py Fix calls to assert_called_once in unit tests 2014-11-24 16:56:10 +00:00
test_gpfs.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
test_hacking.py Add hacking check for use of LOG.audit 2014-08-09 10:22:03 -05:00
test_hds_iscsi.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_hds_nfs.py Fix duplicate teardown to allow tox upgrade 2014-08-22 11:54:28 -06:00
test_hds.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_hitachi_hbsd_horcm_fc.py Introduce Hitachi storage volume driver 2014-08-29 12:00:01 +09:00
test_hitachi_hbsd_snm2_fc.py Introduce Hitachi storage volume driver 2014-08-29 12:00:01 +09:00
test_hitachi_hbsd_snm2_iscsi.py Introduce Hitachi storage volume driver 2014-08-29 12:00:01 +09:00
test_hp3par.py Removing locks from 3PAR FC and iSCSI drivers 2014-11-24 13:33:14 -08:00
test_hp_msa.py Fix calls to assert_called_once in unit tests 2014-11-24 16:56:10 +00:00
test_hplefthand.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_huawei_hvs.py Turn on Flake-8 Complexity Checking 2014-10-17 13:53:31 -06:00
test_huawei_t_dorado.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_ibm_xiv_ds8k.py Add retype method to xiv/ds8k driver interface. 2014-08-27 05:52:51 +03:00
test_ibmnas.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
test_image_utils.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
test_iscsi.py LioAdm: Delete initiator from targets on terminate_connection 2014-10-23 16:58:44 -04:00
test_migrations.conf Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
test_migrations.py Volume type access extension 2014-12-01 18:46:31 -05:00
test_misc.py Use oslo.i18n 2014-08-08 17:26:41 -05:00
test_netapp_eseries_iscsi.py Refactoring to allow addition of NetApp FibreChannel drivers 2014-11-24 10:48:08 -05:00
test_netapp_nfs.py Refactoring to allow addition of NetApp FibreChannel drivers 2014-11-24 10:48:08 -05:00
test_netapp_ssc.py Refactoring to allow addition of NetApp FibreChannel drivers 2014-11-24 10:48:08 -05:00
test_netapp.py Refactoring to allow addition of NetApp FibreChannel drivers 2014-11-24 10:48:08 -05:00
test_nexenta.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_nfs.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_nimble.py Match mock.patch decorator with appropriate param 2014-11-25 14:31:21 +00:00
test_prophetstor_dpl.py Merge "ProphetStor with pool aware cinder scheduler" 2014-11-24 04:58:54 +00:00
test_pure.py PureISCSIDriver:Handle delete called on already deleted volume 2014-11-25 12:09:54 -08:00
test_qos_specs.py Switch to use oslo.db 2014-07-21 16:10:41 +03:00
test_quota.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_rbd.py Add limited retype support for rbd 2014-11-25 11:04:26 -08:00
test_remotefs.py NFS Security Enhancements: allows secure NFS environment setup 2014-10-23 16:35:51 -04:00
test_replication.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_scality.py Scality SOFS: implement volume backup and restore 2014-11-21 18:23:46 +01:00
test_service.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
test_sheepdog.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
test_smbfs.py Fix calls to assert_called_once in unit tests 2014-11-24 16:56:10 +00:00
test_solidfire.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_storwize_svc.py Remove Python 2.6 backwards compatibility code 2014-11-26 08:14:34 +00:00
test_test_utils.py Verify the full interface of the context object 2014-10-24 19:25:54 +03:00
test_test.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
test_utils.py Fix calls to assert_called_once in unit tests 2014-11-24 16:56:10 +00:00
test_vmware_api.py vmware: Fix problems with VIM API retry logic 2014-04-16 15:00:52 +05:30
test_vmware_datastore.py Use oslo.utils 2014-11-20 22:17:47 +08:00
test_vmware_io_util.py VMware: Handle exceptions raised by image update 2014-08-18 19:41:49 +05:30
test_vmware_vmdk.py VMware: Set target ESX host for backing VM clone 2014-11-24 20:06:40 +05:30
test_vmware_volumeops.py VMware: Set target ESX host for backing VM clone 2014-11-24 20:06:40 +05:30
test_volume_configuration.py Replace tearDown with addCleanup - Part 4 2014-04-15 17:46:08 +04:00
test_volume_glance_metadata.py Enable flake8 F841 checking 2014-04-01 11:38:35 +04:00
test_volume_rpcapi.py Switch to oslo.serialization 2014-11-19 15:49:03 +08:00
test_volume_transfer.py Fix possible race condition for accept transfer 2014-09-08 08:54:52 -07:00
test_volume_types_extra_specs.py Replace tearDown with addCleanup - Part 2 2014-04-23 06:22:02 -05:00
test_volume_types.py Volume type access extension 2014-12-01 18:46:31 -05:00
test_volume_utils.py Switch Cinder to use oslo.concurrency 2014-11-20 22:21:46 +08:00
test_volume.py Match mock.patch decorator with appropriate param 2014-11-25 14:31:21 +00:00
test_wsgi.py Cinder api service doesn't handle SIGHUP properly 2014-10-22 09:33:51 +08:00
test_xio.py Adding volume driver for X-IO ISE 2014-11-26 10:30:34 -07:00
test_zadara.py Amend unused variables to assist pylint testing 2014-10-30 16:23:57 +00:00
test_zfssa.py Use oslo.utils 2014-11-20 22:17:47 +08:00
utils.py Consistency Groups 2014-08-27 01:47:31 -04:00