]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Isolate Cinder Attach and Connect in Base Driver
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 15 Dec 2014 22:59:12 +0000 (22:59 +0000)
committerJohn Griffith <john.griffith@solidfire.com>
Wed, 17 Dec 2014 16:01:44 +0000 (09:01 -0700)
commiteac97df4dd0c3937afaf38583ee53b6bbf4bfd7d
tree72e244ed522a40865f970b85f0a17ad8ae192e41
parent40995e4434a5c8d5fba1459e82ce0e33e593189d
Isolate Cinder Attach and Connect in Base Driver

The base Cinder Driver combines the Attach process and the
actual Connect process all under the Attach method.  This makes
sense, but the method can be split between the parts that perform
things like DB updates and RPC calls and those that just take iqn
info and actually make connections to the Cinder Volume Node.

This would allow Drivers to utilize the connector portion of the
code to add enhancements of their own.

Change-Id: I9e3cd24dc978e7c7672bf1eb09626428d2ba144d
cinder/volume/driver.py