]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix SolidFire target composition
authorJohn Griffith <john.griffith8@gmail.com>
Tue, 6 Oct 2015 23:39:24 +0000 (17:39 -0600)
committerJohn Griffith <john.griffith8@gmail.com>
Wed, 7 Oct 2015 15:32:01 +0000 (15:32 +0000)
commit2f797f807d984e87608d408af35e0e118e1721ef
tree07f30bbd826f76d661a374d5230c7736f56b2f6b
parentb85cbda2c4d5136d0df54e30d6ed967b6c7af72b
Fix SolidFire target composition

We added the target composition a while back but never
really finished it.  We created a set of interface methods
and had them call the target class mostly thinking we'd
want this when adding FC.

It turns out that doing a regular composition and using
get_attr will actually work fine when the FC target is
added, so re factor this and make it a true composition
where both objects inherit attributes from each other.

Change-Id: I1da439c2e50ec66d759def19d3eda997797d00a5
cinder/volume/drivers/solidfire.py