Apply six for metaclass

__metaclass__ cannot be used in python3.
six be used in general for python 3 compatibility.

Change-Id: I1d21c82163a1c00bbf4fbf3c9dd513f1c0591b00
Closes-Bug: #1236648
NetApp unit test fail fix for http_proxy

The environment having http_proxy settings caused
the unit tests to fail with 404 error. This fix
handles both situations with proxy or without
proxy settings.

Change-Id: I791a45adff654305db9f1fb6f039e91b11ba88d8
Closes-Bug:#1223145
Nexenta iSCSI driver: Refactor create_cloned_volume

Optimize volume cloning of Nexenta iSCSI driver, current implementation
with zfs send recv may take long time, because it requires data
transferring.

Change-Id: Iaa2eea608e09d0a4ac155b74f964b153de561f4c
Imported Translations from Transifex

Change-Id: Ie2ea233527914abbbd069c56cc550fc835f1abb8
Merge "Nexenta iSCSI driver: Refactor create_cloned_volume"
remove rundundant lockfile requirement

This requirement was removed from nova even before
the cinder split.

Change-Id: Ie85eeee9aef81a80d1279f7d21566ec33e20159f
Add cinder.db.migration.db_initial_version()

Updates Cinder to use a new function called db_initial_version()
instead of the INIT_VERSION constant. This allows us to
move the top level INIT_VERSION constant into the
sqlalchemy migration.py implementation where it belongs.

Change-Id: I10dacdebb50d3121e3bfd094e40138807233aa64
Add missing space to num_iser_scan_tries text

Should read "...rescan iSER target to" rather than
"targetto".

Change-Id: I785f67f3a029f06c0184762ddf795202ae198397
Merge "Add cinder.db.migration.db_initial_version()"
Merge "Apply six for metaclass"
Imported Translations from Transifex

Change-Id: Icd1f44454695217295422cfc18007296ec77521f
Use pipe between ceph backup diff export/import

We now use a piped transfer between the rbd export-diff
and import-diff for incremental backups/restores as
opposed to holding the entire diff in memory.

Change-Id: I33476d9b3934781413af5cd2867a11d825a5d78e
Fixes: bug 1244464
Allow spaces in quoted SSH command arguments

The check_ssh_injection() method was rejecting arguments with spaces
even when they were quoted, this was causing problems with some volume
driver commands such as commands for a storage pool with spaces in the
name.

Closes-Bug: #1244415
Change-Id: Ie4b809e1b39fdb752cf634e6d3c0a3924d8ac52b
Fixes typo in method name _notify_voloume_type_error

Closes-Bug: #1246228

Change-Id: I7b408f2c4085ba5af5fc4b539000e5675bdc5a76
clean up numeric expressions in test

Replace numeric expressions with constants in tests
to make code more readable.

Change-Id: I42469cdbe3cafd36f8d9855c8284f885ffa7f465
Add tests for LVM -cow clearing

Ensure that volume_clear for Thick LVM snapshot deletion
references the -cow device, and that it uses the LV instead
of the -cow device for ThinLVM.

These tests were written for a change to stable/grizzly --
but are applicable for general use here as well.

Related-Bug: #1245529
Change-Id: I380ad7832d558d9aa73a701cbf3acc35229e70ab
Merge "Fixes typo in method name _notify_voloume_type_error"
Merge "Use pipe between ceph backup diff export/import"
Merge "remove rundundant lockfile requirement"
Merge "Allow spaces in quoted SSH command arguments"