]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
scality: add export and name keys to os-initialize_connection info
authorMatt Riedemann <mriedem@us.ibm.com>
Thu, 16 Jul 2015 20:51:23 +0000 (13:51 -0700)
committerMatt Riedemann <mriedem@us.ibm.com>
Thu, 16 Jul 2015 21:13:29 +0000 (14:13 -0700)
commit9e6e677318f3b92f34d2549011407b83d2997487
treee2fb23aff62af7e1628ac47816acf17be6a21cd0
parent50aad81fd5928b0b4dd2039733536b66f09362f8
scality: add export and name keys to os-initialize_connection info

Nova is standardizing on some of the common code for file system type
volume drivers in blueprint consolidate-libvirt-fs-volume-drivers and
expects the 'export' and 'name' keys to be in connection_info['data']
returned from the os-initialize_connection Cinder API.

The Scality volume driver wasn't providing these keys so those are added
here.

Related Nova change: I7db834956c67383e63be2fe2c465118e00273e4b

Closes-Bug: #1475419

Change-Id: I73938c51ac147dca5cf39765768f4ac078bf5e63
cinder/tests/unit/test_scality.py
cinder/volume/drivers/scality.py