Browse Source

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
tags/2014.1.b3
Walter A. Boring IV 5 years ago
parent
commit
f1d30c9bc4
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      cinder/volume/driver.py

+ 4
- 3
cinder/volume/driver.py View File

@@ -503,6 +503,10 @@ class VolumeDriver(object):
503 503
         """
504 504
         return False
505 505
 
506
+    def accept_transfer(self, context, volume, new_user, new_project):
507
+        """Accept the transfer of a volume for a new user/project."""
508
+        pass
509
+
506 510
 
507 511
 class ISCSIDriver(VolumeDriver):
508 512
     """Executes commands relating to ISCSI volumes.
@@ -733,9 +737,6 @@ class ISCSIDriver(VolumeDriver):
733 737
         data['QoS_support'] = False
734 738
         self._stats = data
735 739
 
736
-    def accept_transfer(self, context, volume, new_user, new_project):
737
-        pass
738
-
739 740
     def get_target_admin(self):
740 741
         root_helper = utils.get_root_helper()
741 742
         if CONF.iscsi_helper == 'iseradm':

Loading…
Cancel
Save