Added missing accept_transfer to FC
The base class FibreChannelDriver was missing the new accept_transfer method. This was caught while running the devstack driver certification tests again the 3PAR FC driver. This patch adds the missing method to the base VolumeDriver. Change-Id: I0aa91a4f11edd03eee7607d15317b89c30732cb7 Closes-Bug: #1269633
This commit is contained in:
parent
5be4620ae5
commit
f1d30c9bc4
|
@ -503,6 +503,10 @@ class VolumeDriver(object):
|
|||
"""
|
||||
return False
|
||||
|
||||
def accept_transfer(self, context, volume, new_user, new_project):
|
||||
"""Accept the transfer of a volume for a new user/project."""
|
||||
pass
|
||||
|
||||
|
||||
class ISCSIDriver(VolumeDriver):
|
||||
"""Executes commands relating to ISCSI volumes.
|
||||
|
@ -733,9 +737,6 @@ class ISCSIDriver(VolumeDriver):
|
|||
data['QoS_support'] = False
|
||||
self._stats = data
|
||||
|
||||
def accept_transfer(self, context, volume, new_user, new_project):
|
||||
pass
|
||||
|
||||
def get_target_admin(self):
|
||||
root_helper = utils.get_root_helper()
|
||||
if CONF.iscsi_helper == 'iseradm':
|
||||
|
|
Loading…
Reference in New Issue