]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement validate_connector in FibreChannelDriver
authorMark Sturdevant <mark.sturdevant@hp.com>
Fri, 25 Apr 2014 17:58:42 +0000 (10:58 -0700)
committerMark Sturdevant <mark.sturdevant@hp.com>
Thu, 1 May 2014 18:35:51 +0000 (11:35 -0700)
commitbdfc450f59a6b73c1548734e0a5cca5a9e6256ab
tree3cfed7d8f4be55ebcfeaff16a2acd5466176bda2
parent07f231c5eff4efb41ed5984fc04f4f70064f41e6
Implement validate_connector in FibreChannelDriver

The base FibreChannelDriver didn't implement the
validate_connector() method. It fell back to the
parent class which simply does a pass.  Now the
FCDriver checks to ensure that the connector has
wwnns and wwpns and raises an exception if either
one is empty or not set.

Closes-Bug: #1294812

Change-Id: I1e63c4718d24bdb3ead78de871971cdc498f6b01
cinder/tests/test_volume.py
cinder/volume/driver.py