'Creates a snapshot.'

@infinisdk_to_cinder_exceptions
def create_snapshot(self, snapshot):

    volume = self._get_infinidat_volume(snapshot.volume)
    name = self._make_snapshot_name(snapshot)
    infinidat_snapshot = volume.create_snapshot(name=name)
    self._set_cinder_object_metadata(infinidat_snapshot, snapshot)
