cinder/cinder/tests/unit
Jay Mehta 4649d3d830 Fix Lun ID 0 in HPE 3PAR driver
If Lun ID is set to 0, auto is not disabled.
Instead, we checked if Lun_id is not None to disable auto.
Added unittest to verify auto

Closes-Bug: #1573298
Change-Id: I67c509c828cadbd0585b6badca733039d697eeea
2016-05-05 13:59:29 -07:00
..
api Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
backup Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
brick Cleanup orphaned code from brick LVM 2015-11-26 23:40:25 -06:00
compute Fix usage of novaclient 2015-09-14 20:03:35 +03:00
db Fix uuid warnings from db unit tests 2016-04-22 12:57:26 -04:00
glance Added more options while uploading volume as image 2016-03-23 18:55:53 +00:00
image User messages API for error cases 2016-04-29 18:41:10 +00:00
keymgr Fix call to Barbican Secrets create() 2016-03-03 14:15:08 +00:00
message User messages API for error cases 2016-04-29 18:41:10 +00:00
monkey_patch_example
objects Add ordering possibilities to conditional update 2016-05-05 11:27:50 +02:00
scheduler Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
targets Remove deprecated ISERTgtAdm 2016-04-11 12:46:44 -05:00
volume Merge "NetApp: Use Local Cache to Copy an Available Image" 2016-05-05 17:21:45 +00:00
windows Refactor Windows drivers using os-win 2016-01-14 19:27:05 +02:00
zonemanager Merge "Fix Brcd lookup service to use defined southbound protocol" 2016-04-14 18:17:24 +00:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
cast_as_call.py
conf_fixture.py Revert "Disable backup progress notifications for unit tests" 2015-06-19 14:27:40 -04:00
declare_conf.py
fake_backup.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
fake_cgsnapshot.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
fake_consistencygroup.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
fake_constants.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
fake_driver.py Add get_volume_stats for LoggingVolumeDriver 2016-03-08 16:00:50 +00:00
fake_hpe_3par_client.py 3PAR fix create_cloned_volume for larger size 2016-03-16 03:39:12 -07: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 Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04: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 Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
policy.json User messages API for error cases 2016-04-29 18:41:10 +00:00
runtime_conf.py
test_api.py
test_api_urlmap.py Remove XML API 2016-04-21 16:05:29 +00:00
test_backup.py init_host offload to default to true 2016-04-21 13:50:18 +00:00
test_backup_ceph.py Fix invalid uuid warnings in backup unit tests 2016-03-03 19:04:00 -05:00
test_backup_driver_base.py Conditionally restore display_name 2016-03-28 18:51:42 +00:00
test_backup_google.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_backup_swift.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_backup_tsm.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_block_device.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_blockbridge.py Pass new volume size when cloning (blockbridge) 2016-03-09 20:15:36 -05:00
test_cloudbyte.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_cmd.py fix invalid uuid warnings from test_cmd 2016-04-22 12:59:03 -04:00
test_coho.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03:00
test_conf.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_context.py Use the catalog to retrieve glance_api_servers 2015-12-03 19:02:38 +00:00
test_coordination.py Fix torpid coordinator unit tests 2016-01-22 06:21:48 -05:00
test_db_api.py Fix uuid warnings from test_db_api unit tests 2016-05-01 00:12:39 -04:00
test_dellfc.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_dellsc.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_dellscapi.py Dell SC: Updated to utilize provider_id 2016-04-05 16:54:09 -05:00
test_dothill.py Hacking Checks for assertTrue/IsNone() 2015-11-25 11:22:35 -06:00
test_drbdmanagedrv.py DRBD driver: resize volume if cloned image is larger 2016-03-11 10:51:08 +01:00
test_emc_vmax.py EMC VMAX - Operations and timeout issues 2016-03-20 21:23:04 +00:00
test_emc_vnx.py Tests: Fix invalid UUIDs in EMC VNX tests 2016-04-22 12:30:13 -04:00
test_emc_xtremio.py fix invalid uuid in emc extremio unit tests 2016-04-22 13:01:31 -04:00
test_eqlx.py Dell Eqlx: Cloning volume does not honor new size 2016-03-29 13:44:31 -05:00
test_evaluator.py
test_exception.py Change default Exception code to 500 2015-10-13 11:52:47 -04:00
test_fixtures.py Copy unit tests for StandardLogging fixture from Nova 2016-03-01 09:44:22 -05:00
test_glusterfs.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03:00
test_gpfs.py Cleaned duplicate dictionary values 2016-03-16 13:56:19 +00: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 Hitachi drivers: resize volume if cloned image is larger 2016-03-17 20:17:37 +01:00
test_hitachi_hbsd_snm2_fc.py Hitachi drivers: resize volume if cloned image is larger 2016-03-17 20:17:37 +01:00
test_hitachi_hbsd_snm2_iscsi.py Hitachi drivers: resize volume if cloned image is larger 2016-03-17 20:17:37 +01: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 Hitachi drivers: resize volume if cloned image is larger 2016-03-17 20:17:37 +01:00
test_hitachi_hnas_nfs.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03:00
test_hpe3par.py Fix Lun ID 0 in HPE 3PAR driver 2016-05-05 13:59:29 -07:00
test_hpe_xp_fc.py Merge "Remove duplicated code in volume manager and base driver" 2016-03-03 02:24:24 +00:00
test_hpelefthand.py LeftHand: Add default SSH timeout and key values 2016-03-15 16:34:58 -07:00
test_huawei_drivers.py Huawei: Do not do split if replication pair abnormal 2016-04-02 19:56:21 +08:00
test_huawei_drivers_compatibility.py Rename Huawei drivers 2015-12-24 09:20:24 +08:00
test_ibm_flashsystem.py ibm flashsystem: Fixing hardcoded attribute 2016-04-22 16:16:55 +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 IBM XIV/DS8K: Implement Replication v2.1 2016-03-14 17:16:10 +02:00
test_image_utils.py Remove remaining oslo-incubator code from Cinder 2016-03-09 10:49:18 -06: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 User messages API for error cases 2016-04-29 18:41:10 +00:00
test_misc.py Remove downgrade migrations 2015-12-18 14:04:16 +02:00
test_netapp.py NetApp: Fix SSH Client File Creation in Unit Test 2016-02-27 13:46:59 -05:00
test_netapp_nfs.py NetApp: Use Local Cache to Copy an Available Image 2016-05-04 15:39:03 +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 NexentaStor drivers: resize volume if cloned image is larger 2016-03-28 11:46:32 -07:00
test_nexenta5_iscsi.py NexentaStor drivers: resize volume if cloned image is larger 2016-03-28 11:46:32 -07:00
test_nexenta5_nfs.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03:00
test_nexenta_edge.py Merge "Fix for NexentaEdge jsonrpc url formatting" 2016-04-05 20:29:30 +00:00
test_nfs.py Deprecate nas_ip and change this to nas_host 2016-04-18 15:08:11 +03: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 Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_qos_specs.py Correct assertDictMatch argument order 2015-11-13 16:57:01 +00:00
test_quobyte.py Remove remaining oslo-incubator code from Cinder 2016-03-09 10:49:18 -06:00
test_quota.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_quota_utils.py Update quotas to handle domain acting as project 2016-03-07 17:06:28 +00:00
test_rbd.py Merge "Tests: Define fake_constants as constants" 2016-04-15 17:38:20 +00:00
test_remotefs.py SMBFS: Fix initialize connection issues caused by in-use images 2016-03-08 16:06:16 +02:00
test_rpc.py Fix RPC and Object version pinning on API 2016-04-13 12:04:31 +02:00
test_san.py
test_scality.py Remove remaining oslo-incubator code from Cinder 2016-03-09 10:49:18 -06:00
test_service.py Fix service version pinning on start 2016-04-13 11:24:43 +02:00
test_sheepdog.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_smbfs.py Merge "SMBFS: Fix initialize connection issues caused by in-use images" 2016-04-19 23:13:52 +00:00
test_solidfire.py Handle TFlow short comings in SF driver 2016-04-18 15:18:19 +00:00
test_ssh_utils.py Fix sshpool.remove code 2016-03-01 03:20:04 +00:00
test_storwize_svc.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_tegile.py Merge "Remove access_mode 'rw' setting in drivers" 2016-02-11 06:14:44 +00:00
test_test.py Remove "patch mock to raise for invalid assert calls" 2016-04-06 18:00:26 -04:00
test_test_utils.py
test_tintri.py Fix invalid uuids in tintri unit tests 2016-04-22 12:58:30 -04:00
test_utils.py Pass default executor to os-brick 2016-05-04 21:49:43 +03: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 Merge "VMware: Unit test refactoring" 2016-04-21 16:23:04 +00:00
test_vmware_volumeops.py VMware: Support for paraVirtual image adapter type 2016-05-04 14:59:34 -07:00
test_volume.py Merge "Add provider_location to cloned volume" 2016-05-05 09:28:08 +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 Tests: Define fake_constants as constants 2016-04-12 16:56:19 -04:00
test_volume_rpcapi.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_volume_throttling.py Cleanup unused conf variables 2016-02-16 11:26:06 +11:00
test_volume_transfer.py Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00
test_volume_types.py Permit volume type operations for policy authorized users 2016-03-10 11:55:14 -05: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 Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04: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 Tests: lower case all fake uuid constants 2016-05-03 13:36:22 -04:00