cinder/cinder/tests/unit
Eric Harney bf2b6b9d90 Delete volumes with snapshots
This adds the 'cascade' parameter to volume delete,
which deletes snapshots along with a volume in
one call.

This is done in the volume manager, and not in
a driver-optimized way, which will be a later
improvement.

Blueprint: del-vols-with-snaps
Change-Id: I33d15b76d4bd0de14c635d404b2c97096c977a58
2016-02-28 14:11:37 +00:00
..
api Delete volumes with snapshots 2016-02-28 14:11:37 +00:00
backup Cleanup unused conf variables 2016-02-16 11:26:06 +11:00
brick Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
compute Fix usage of novaclient 2015-09-14 20:03:35 +03:00
db Cleanup unused conf variables 2016-02-16 11:26:06 +11:00
glance Fix exception on uploading a volume to image with glance v2 API 2015-07-28 14:18:10 -04:00
image Fix volume upload failure with glance_api_version=2 2015-12-21 15:06:06 +09:00
keymgr Check context before returning cached value 2015-12-08 20:51:48 -05:00
monkey_patch_example Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
objects Replication v2.1 (Cheesecake) 2016-02-26 13:15:19 -07:00
scheduler Add SIGHUP handlers to reset RPC version pins 2016-02-19 10:30:17 +01:00
targets [LVM] Restore target config during ensure_export 2016-02-19 14:13:53 -05:00
var Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
volume Merge "EMC ScaleIO - fix bug in extend volume" 2016-02-26 19:45:52 +00:00
windows Refactor Windows drivers using os-win 2016-01-14 19:27:05 +02:00
wsgi Remove eventlet WSGI functionality 2015-12-11 21:23:48 +00:00
xenapi Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
zonemanager Remove Cisco FC Zone Manager Driver 2016-02-10 12:18:08 -06:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
cast_as_call.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
conf_fixture.py Revert "Disable backup progress notifications for unit tests" 2015-06-19 14:27:40 -04:00
declare_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_backup.py Add BackupStatus enum field 2016-01-04 14:32:52 +00:00
fake_consistencygroup.py Add backref relationships to ConsistencyGroup obj 2015-12-29 16:09:40 +01:00
fake_constants.py Fix invalid uuid warnings in object unit tests 2016-02-23 08:46:01 -05:00
fake_driver.py Remove useless get_replication_updates driver call 2016-02-19 14:22:43 -07:00
fake_hpe_3par_client.py 3PAR fix driver to work with image cache 2016-02-02 08:56:13 -08:00
fake_hpe_client_exceptions.py Refactor HP 3PAR drivers to now be HPE 2015-11-12 12:46:35 -08:00
fake_hpe_lefthand_client.py LeftHand: Updating minimum client version 2016-02-24 21:31:54 +00:00
fake_notifier.py Tests: Make fake_notifier per-instance 2015-06-19 11:27:40 +02:00
fake_service.py Service object 2015-09-01 07:09:08 +00:00
fake_snapshot.py Fix invalid uuid warnings in object unit tests 2016-02-23 08:46:01 -05:00
fake_utils.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
fake_vmem_client.py Adds the Violin Memory V7000 series FC driver. 2015-06-19 13:38:32 -07:00
fake_volume.py Fix invalid uuid warnings in object unit tests 2016-02-23 08:46:01 -05:00
policy.json Merge "Allow specified backend capabilities to be retrieved" 2015-09-01 19:29:42 +00:00
runtime_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_api.py Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
test_api_urlmap.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_backup.py Merge "Scalable backup service - Liberty compatibility" 2016-02-24 16:49:48 +00:00
test_backup_ceph.py Fix argument order for assertEqual in tests 2015-08-11 10:09:40 -07:00
test_backup_driver_base.py Move import and export backup metadata to object 2015-08-14 10:24:53 +02:00
test_backup_google.py Add cinder backup driver for Google Cloud Storage 2016-01-18 23:28:23 +05:30
test_backup_swift.py Fix ChunkedBackupDriver _create_container 2016-01-14 15:35:15 +01:00
test_backup_tsm.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
test_block_device.py Implement snapshots-related features for Block Device Driver 2015-12-14 17:13:59 +02:00
test_blockbridge.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_cloudbyte.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_cmd.py [LVM] Restore target config during ensure_export 2016-02-19 14:13:53 -05:00
test_coho.py Remove deprecated options from NFS driver 2016-01-25 19:10:55 -05:00
test_conf.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_context.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_coordination.py Fix torpid coordinator unit tests 2016-01-22 06:21:48 -05:00
test_db_api.py Fix NoneType error in service_get_all 2016-02-25 02:20:40 +00:00
test_dellfc.py Don't use Mock.called_once_with that does not exist 2016-02-12 13:25:31 +08:00
test_dellsc.py Remove useless get_replication_updates driver call 2016-02-19 14:22:43 -07:00
test_dellscapi.py Fix 'asert' typo in unit test 2016-02-12 16:20:13 -05:00
test_dothill.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_drbdmanagedrv.py DRBD: Fix arguments for resize_volume DBus API call. 2016-02-08 11:39:06 +01:00
test_emc_vmax.py EMC VMAX - Changing PercentSynced to CopyState in isSynched 2016-02-26 22:18:23 +00:00
test_emc_vnx.py Port test_emc_vnx to Python 3 2016-02-15 14:51:19 +01:00
test_emc_xtremio.py Merge "Fix XtremIO multi cluster support" 2016-02-22 22:28:48 +00:00
test_eqlx.py Declare multiattach is True in Dell Eqlx driver 2015-11-26 09:10:38 +08:00
test_evaluator.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_exception.py Change default Exception code to 500 2015-10-13 11:52:47 -04:00
test_glusterfs.py Merge "Add manage_existing and unmanage to BaseVD" 2015-09-29 20:19:25 +00:00
test_gpfs.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00
test_hacking.py Fix issue in hacking with underscore imports 2016-02-04 15:44:03 +01:00
test_hitachi_hbsd_horcm_fc.py Fix argument order for assertEqual in tests 2015-08-11 10:09:40 -07:00
test_hitachi_hbsd_snm2_fc.py Fix argument order for assertEqual in tests 2015-08-11 10:09:40 -07:00
test_hitachi_hbsd_snm2_iscsi.py Fix argument order for assertEqual in tests 2015-08-11 10:09:40 -07:00
test_hitachi_hnas_backend.py HNAS driver: Fix SSH and cluster_admin_ip0 bug 2016-02-12 11:26:17 -02:00
test_hitachi_hnas_iscsi.py Fix HNAS iSCSI driver attachment 2016-02-24 14:40:45 -03:00
test_hitachi_hnas_nfs.py Remove deprecated options from NFS driver 2016-01-25 19:10:55 -05:00
test_hpe3par.py 3PAR get host by WWN now handles mixed cases 2016-02-19 08:04:09 -08:00
test_hpe_xp_fc.py Cleanup unused conf variables 2016-02-16 11:26:06 +11:00
test_hpelefthand.py LeftHand: Updating minimum client version 2016-02-24 21:31:54 +00:00
test_huawei_drivers.py Huawei: Don't fail when port group does not exist 2016-02-24 11:42:03 +08:00
test_huawei_drivers_compatibility.py Rename Huawei drivers 2015-12-24 09:20:24 +08:00
test_ibm_flashsystem.py Merge "Hacking Checks for assertTrue/IsNone()" 2015-11-26 15:54:58 +00:00
test_ibm_flashsystem_iscsi.py Merge "Hacking Checks for assertTrue/IsNone()" 2015-11-26 15:54:58 +00:00
test_ibm_xiv_ds8k.py Remove useless get_replication_updates driver call 2016-02-19 14:22:43 -07:00
test_image_utils.py Fix the bug of OSError when convert image 2015-11-23 22:44:39 +08:00
test_infortrend_cli.py Remove access_mode 'rw' setting in drivers 2016-01-22 16:47:02 +00:00
test_infortrend_common.py Port infortrend driver to Python 3 2016-02-15 21:35:44 +01:00
test_migrations.py Replication v2.1 (Cheesecake) 2016-02-26 13:15:19 -07:00
test_misc.py Remove downgrade migrations 2015-12-18 14:04:16 +02:00
test_netapp.py NetApp: Support iSCSI CHAP Uni-directional Auth 2016-02-24 16:29:16 +00:00
test_netapp_nfs.py Merge "Filter & goodness functions in NetApp drivers" 2016-02-20 06:50:00 +00:00
test_netapp_ssc.py Revert use of netapp_lib from NetApp Drivers 2015-09-25 10:31:19 -04:00
test_nexenta.py Remove deprecated options from NFS driver 2016-01-25 19:10:55 -05:00
test_nexenta5_iscsi.py NexentaStor 5 iSCSI backend driver. 2016-01-18 20:47:11 +03:00
test_nexenta5_nfs.py NexentaStor 5 NFS backend driver. 2016-01-18 20:34:36 +03:00
test_nexenta_edge.py Nexenta Edge iSCSI backend driver 2015-11-25 17:37:37 -06:00
test_nfs.py Merge "Remove deprecated options from NFS driver" 2016-02-03 03:33:45 +00:00
test_nimble.py Using extra-specs in cloned vols for Nimble driver 2015-11-02 14:16:16 -08:00
test_prophetstor_dpl.py Correct iscsi lun type 2016-02-23 23:43:44 +08:00
test_pure.py Merge "Remove access_mode 'rw' setting in drivers" 2016-02-11 06:14:44 +00:00
test_qos_specs.py Correct assertDictMatch argument order 2015-11-13 16:57:01 +00:00
test_quobyte.py Support insecure NAS security options in Quobyte 2015-10-27 16:26:52 +01:00
test_quota.py Merge "Include allocated quota value in the quota reserve" 2016-02-24 03:30:16 +00:00
test_quota_utils.py Split out NestedQuotas into a separate driver 2016-02-17 22:30:00 +00:00
test_rbd.py RBD: use versioned objects 2016-02-11 11:21:59 -05:00
test_remotefs.py RemoteFS: Fix the offline snapshot delete operation 2015-07-02 22:21:42 +03:00
test_rpc.py Pin RPC and object version to lowest running 2016-01-29 08:36:04 -05:00
test_san.py Port remote_fs driver to use new driver model 2015-06-08 13:02:03 +02:00
test_scality.py Scality SOFS: don't always read /proc/mounts twice 2016-01-04 15:35:54 +00:00
test_service.py Avoid hardcoding value from oslo library 2016-02-24 06:49:18 -08:00
test_sheepdog.py Sheepdog: Fix malformed image url format 2016-02-15 09:04:49 +00:00
test_smbfs.py SMBFS: Fix retrieving total allocated size 2015-10-22 18:08:58 +00:00
test_solidfire.py Merge "Enable trim/discard in SolidFire's driver" 2016-01-14 06:24:22 +00:00
test_ssh_utils.py Reduce use of eval() 2016-01-15 16:52:56 -05:00
test_storwize_svc.py Merge "Storwize/SVC: Volume manage using source-name" 2016-02-17 01:39:41 +00:00
test_tegile.py Merge "Remove access_mode 'rw' setting in drivers" 2016-02-11 06:14:44 +00:00
test_test.py Fix tests failing in gate 2015-07-10 16:15:32 +02:00
test_test_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_tintri.py Merge "Tintri image cache cleanup" 2016-02-25 02:50:07 +00:00
test_utils.py Merge "cinder-api-microversions code" 2016-02-25 00:38:03 +00:00
test_v7000_common.py Fix doc string definitions 2015-07-27 08:06:03 +03:00
test_v7000_fcp.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_vmware_datastore.py VMware: Skip unsupported datastore types 2015-11-24 16:59:13 +05:30
test_vmware_vmdk.py Tests: Strengthen assertFalse assertions 2016-01-22 10:52:02 -05:00
test_vmware_volumeops.py Fix Bad indentation pylint issues 2015-09-27 23:04:26 -07:00
test_volume.py Delete volumes with snapshots 2016-02-28 14:11:37 +00:00
test_volume_configuration.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_volume_glance_metadata.py Cleanup for SnapshotObject 2015-08-31 16:53:30 +02:00
test_volume_rpcapi.py Delete volumes with snapshots 2016-02-28 14:11:37 +00:00
test_volume_throttling.py Cleanup unused conf variables 2016-02-16 11:26:06 +11:00
test_volume_transfer.py Disallow transferring volume in consistency group 2016-01-15 22:52:21 -08:00
test_volume_types.py Merge "Update quota when volume type renames" 2016-02-19 16:21:45 +00:00
test_volume_types_extra_specs.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_volume_utils.py Replication v2.1 (Cheesecake) 2016-02-26 13:15:19 -07:00
test_vzstorage.py Port vzstorage to Python 3 2015-11-08 22:07:57 +01:00
test_xio.py Force target_lun to be int type to make os-brick happy 2016-02-23 17:59:28 -07:00
test_zfssa.py Volume manage/unmanage support to ZFSSA drivers 2016-02-23 14:38:39 -05:00
utils.py Add ConsistencyGroupStatus enum field 2016-01-11 12:39:06 -06:00