'Creates a volume from a snapshot.'

def create_volume_from_snapshot(self, volume, snapshot):

    volume_id = snapshot.provider_id
    snapname = self._id_to_base64(volume.id)
    LOG.info('ScaleIO    create    volume    from    snapshot:    snapshot    %(snapname)s    to    volume    %(volname)s.', {'volname': volume_id, 'snapname': snapname})
    return self._snapshot_volume(volume_id, snapname)
