cinder/cinder/tests/unit
Adriano Rosso 8f82bb7966 HNAS: Change snapshot names
Currently, HNAS NFS driver creates snapshots named as
snapshot-<snapshot-id> in the backend. This is not very effective
because there is no precise way to relate the snapshot with the volume
that originated it using HNAS features.
This patch changes the snapshot related features to work with
snapshots named as <volume-name>.<snapshot-id> in order to make easier
to relate the snapshots with their parent volumes. The operations for
snapshots named the old way are still supported, but deprecated.

Co-Authored-By: Erlon Cruz <erlon.cruz@fit-tecnologia.org.br>
Change-Id: I188c7a3f67558e17ccc1c50e0f00dbb076395b18
2017-01-13 09:28:23 -02:00
..
api Merge "Fix create_group with group type name" 2017-01-11 12:23:24 +00:00
backup Merge "Tests: Split up NFS backup notification test" 2017-01-11 12:23:33 +00:00
brick Provide cfg to ignore lvm descriptor leak warnings 2016-09-26 09:20:58 +00:00
compute Read domain info from context when contacting nova 2016-09-20 19:49:34 +00:00
consistencygroup Merge "Replace assertDictMatch with assertDictEqual method in tests" 2016-12-22 10:28:32 +00:00
db Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
glance Files with no code must be left completely empty 2016-09-28 16:29:30 +07:00
group [1/4]Reset generic volume group status 2016-12-23 22:58:48 +08:00
image Merge "Simplify calls to mock_object" 2017-01-10 18:20:47 +00:00
keymgr Modifies override logic for key_manager 2016-09-21 11:01:59 -04:00
message Simplify calls to mock_object 2016-12-13 18:37:26 +01:00
monkey_patch_example
objects Merge "Revert "Swap volume type for migration started by retype"" 2017-01-11 07:43:16 +00:00
scheduler Merge "Simplify calls to mock_object" 2017-01-10 18:20:47 +00:00
targets Skip unit-tests which use os.fdatasync on MacOS 2016-10-22 23:55:58 +03:00
volume HNAS: Change snapshot names 2017-01-13 09:28:23 -02:00
windows test: fix wrong usage of config option in test_window 2016-12-01 18:50:45 +08:00
zonemanager Fix Cisco Initiator zoning updates 2017-01-03 23:12:49 +01:00
__init__.py Remove nosetests i18n fix 2016-11-29 18:16:59 +02:00
cast_as_call.py
conf_fixture.py Merge two fake drivers into the one FakeLoggingVolumeDriver 2016-09-09 14:37:21 +00:00
fake_cluster.py Update Versioned Objects with Cluster object 2016-07-22 21:00:08 +02:00
fake_constants.py Add backup notification to cinder-volume-usage-audit 2016-10-07 15:26:58 +00:00
fake_group.py Add group type and group specs 2016-07-08 14:26:39 -04:00
fake_notifier.py Remove anyjson test dependency 2016-12-07 11:12:00 -05:00
fake_objects.py Use manifest to backport OVOs during upgrades 2016-06-12 13:49:01 +02:00
fake_service.py Update is_up from Service OVO class to match ORM 2016-12-21 20:55:37 +01:00
fake_snapshot.py Add SnapshotStatus enum field 2016-05-19 15:16:18 -05:00
fake_utils.py Remove unused function from unit/fake_utils.py 2016-08-30 15:09:58 +07:00
fake_volume.py Add get_all capability to volume_attachments 2016-12-16 14:25:21 -07:00
policy.json Cascade + force volume delete parameters 2017-01-04 14:03:49 -05:00
test_api_urlmap.py Replace use of mox with mock in test_api_urlmap 2016-07-01 17:17:44 +03:00
test_api.py
test_cleanable_manager.py Make c-vol use workers table for cleanup 2016-11-03 10:17:38 +01:00
test_cmd.py Merge "Fix TypeError when execute cinder-volume-usage-audit" 2016-12-08 15:56:46 +00:00
test_context.py Use context.from_dict to determine available arguments 2016-07-12 13:38:55 +10:00
test_coordination.py Update synchronized decorator 2016-10-12 10:25:33 -05:00
test_coprhd.py Tests: Fix invalid UUID warnings 2016-12-06 14:08:38 -05:00
test_db_api.py Merge "Replace assertDictMatch with assertDictEqual method in tests" 2016-12-22 10:28:32 +00:00
test_db_worker_api.py Make c-vol use workers table for cleanup 2016-11-03 10:17:38 +01:00
test_evaluator.py
test_exception.py Remove cinder/tests/unit/test_misc.py 2016-08-31 17:00:58 +03:00
test_falconstor_fss.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_fixtures.py Copy unit tests for StandardLogging fixture from Nova 2016-03-01 09:44:22 -05:00
test_hacking.py Hacking: Remove N333 oslo namespace import check 2016-12-12 10:08:31 -05:00
test_image_utils.py Error message for image conversion failure 2016-10-04 15:45:48 -04:00
test_migrations.py Migrate consistency groups to groups 2016-11-21 21:43:17 -05:00
test_qnap.py Add QNAP ES Storage Driver 2016-12-08 16:25:13 +08:00
test_qos_specs.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_quota_utils.py Cinder consistency group returning generic error message 2016-12-21 12:52:06 +08:00
test_quota.py Set replication_status on volume creation 2016-12-21 19:27:16 +01:00
test_reduxio.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_rpc.py Cleanup upgrade-related FIXME's 2016-08-23 09:48:34 +02:00
test_service.py Merge "Remove unnecessary setUp" 2016-11-11 23:11:08 +00:00
test_setup_profiler.py Support new osprofiler API 2016-12-15 15:46:56 +07:00
test_ssh_utils.py Merge "Change assertTrue(isinstance()) with optimal assert" 2016-08-30 13:13:54 +00:00
test_synology_common.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_synology_iscsi.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_test_utils.py
test_test.py Updated unit tests to use official unittest methods 2016-06-29 21:49:50 +00:00
test_utils.py Merge "Use method is_valid_boolstr from oslo_utils" 2016-12-16 04:59:38 +00:00
test_volume_cleanup.py Make c-vol use workers table for cleanup 2016-11-03 10:17:38 +01:00
test_volume_configuration.py
test_volume_glance_metadata.py Tests: Define fake_constants as constants 2016-04-12 16:56:19 -04:00
test_volume_rpcapi.py Merge "Use oslo.messaging topics for multibackend" 2016-12-23 14:44:05 +00:00
test_volume_throttling.py
test_volume_transfer.py check quota per_volume_gigabytes for transfer-accept 2016-09-02 03:13:25 +00:00
test_volume_types_extra_specs.py
test_volume_types.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_volume_utils.py Merge "Set replication_status on volume creation" 2017-01-04 04:30:06 +00:00
test_volume.py Merge "Cascade + force volume delete parameters" 2017-01-11 23:42:58 +00:00
utils.py Fix replication_status on InvalidReplicationTarget 2016-12-05 20:10:50 +01:00