"""Get provider info updates from driver.
:param volumes: List of Cinder volumes to check for updates
- :return: dict of update {'id': uuid, provider_id: <provider-id>}
+ :param snapshots: List of Cinder snapshots to check for updates
+ :return: tuple (volume_updates, snapshot_updates)
+
+ where volume updates {'id': uuid, provider_id: <provider-id>}
+ and snapshot updates {'id': uuid, provider_id: <provider-id>}
"""
- return None
+ return None, None
+ def migrate_volume(self, context, volume, host):
+ """Migrate volume stub.
+
+ This is for drivers that don't implement an enhanced version
+ of this operation.
+ """
+ return (False, None)
+
@six.add_metaclass(abc.ABCMeta)
class LocalVD(object):