]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add iSCSI Target objects as independent objects
authorJohn Griffith <john.griffith@solidfire.com>
Thu, 10 Jul 2014 00:00:31 +0000 (00:00 +0000)
committerJohn Griffith <john.griffith8@gmail.com>
Fri, 15 Aug 2014 23:55:20 +0000 (17:55 -0600)
commitd10fb796f491152486e394481e920479bab9e3d1
tree0d53bc50d361d127d0f7a27f85eb3a1cbed73bc7
parent80d83dac783c4eacb42d5d6d09cd797540729b90
Add iSCSI Target objects as independent objects

This patch is a step in decoupling the target
methods and the Volume Driver's Control methods.

This adds the targets directory and the new target objects
that we use with the exception of IET (follow up for that later).
TgtAdm and LIO drivers have been tested with the new LVM object.

All existing drivers are still able to be specified and use the
same objects and code-path they were using previously.  New
connector objects are only used when specifying the new driver.

Next step will be mapping current ref LVM driver to the new
LVM object and target model and working on the unit-tests.

After that mark the "old" methods and objects as deprecated
and we can then begin working on some other improvements.

Partial-Bug: #1329139

Change-Id: Iaa55e31e3dadc7dcb58112302c3807a8f92bcada
cinder/exception.py
cinder/volume/driver.py
cinder/volume/targets/__init__.py [new file with mode: 0644]
cinder/volume/targets/driver.py [new file with mode: 0644]
cinder/volume/targets/fake.py [new file with mode: 0644]
cinder/volume/targets/iet.py [new file with mode: 0644]
cinder/volume/targets/iscsi.py [new file with mode: 0644]
cinder/volume/targets/iser.py [new file with mode: 0644]
cinder/volume/targets/lio.py [new file with mode: 0644]
cinder/volume/targets/tgt.py [new file with mode: 0644]