]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
mark oslo.vmware as optional dependency
authorMatthew Edmonds <edmondsw@us.ibm.com>
Fri, 17 Jul 2015 20:42:35 +0000 (16:42 -0400)
committerMatthew Edmonds <edmondsw@us.ibm.com>
Mon, 10 Aug 2015 15:20:52 +0000 (15:20 +0000)
commite67adc385ce6997249fbf70e9402264f758fc6f4
treebc34af40d357fa9dff1d201b0226f437234c6c92
parent110cac181c52263037a1cd3821c0fb48835a2083
mark oslo.vmware as optional dependency

Driver-specific requirements are not hard requirements, since the
choice of drivers is up to the operator. The oslo.vmware module is
herein moved out of requirements.txt and instead listed as an optional
dependency using the extras functionality in setup.cfg.

A check is added to the vmdk driver to gracefully handle import errors
if the vmdk driver is used and oslo.vmware is not found.

Change-Id: I9b00edc38f0700304a1a164f0679a734f8701ebe
Closes-Bug: #1475739
cinder/volume/drivers/vmware/vmdk.py
requirements.txt
setup.cfg
tox.ini