]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add iSCSI Target objects as independent objects
authorJohn Griffith <john.griffith8@gmail.com>
Wed, 29 Oct 2014 19:34:54 +0000 (13:34 -0600)
committerJohn Griffith <john.griffith8@gmail.com>
Tue, 25 Nov 2014 16:09:00 +0000 (09:09 -0700)
commitc505cb8046a2d49a327838d32126c41852f2f8da
treee3423516986a506da8624f0d88c6f4788f1386f6
parent2030cc8bbe8e54a6bb84fbeb0637d69ab88773b8
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 continued work on the unit-tests.

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

Change-Id: If02db137f936dc5b509fc81ca3c29ae4f87f1cb2
Partial-Bug: #1329139
12 files changed:
cinder/exception.py
cinder/tests/targets/__init__.py [new file with mode: 0644]
cinder/tests/targets/test_base_iscsi_driver.py [new file with mode: 0644]
cinder/tests/targets/test_tgt_driver.py [new file with mode: 0644]
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]