'Creates a snapshot.
:param snapshot: snapshot information.'

def create_snapshot(self, snapshot):

    src_lun_id = self.get_lun_id(snapshot.volume)
    snap = self.client.create_snap(src_lun_id, snapshot.name)
    location = self._build_provider_location(lun_type='snapshot', lun_id=snap.get_id())
    return {'provider_location': location, 'provider_id': snap.get_id()}
