'Create snapshot object from data
:param data: Node data object.
:type data: ``dict``
:rtype: :class:`VolumeSnapshot`'

def _to_snapshot(self, data):

    extra = {'tags': data.get('tags', None), 'name': data.get('name', None), 'volume_id': data.get('volumeid', None)}
    return VolumeSnapshot(data['id'], driver=self, extra=extra)
