@classmethod
    def _notify(cls, task, topic, message, node_id=None, task_uuid=None):
        # Due to design of UI, that shows all notifications,
        # we should notify provision task only then the task is top-level task
        if (task.name == consts.TASK_NAMES.provision
                and task.parent_id is not None) or message is None:
            return

        notifier.notify(
            topic,
            message,
            task.cluster_id,
            node_id=node_id,
            task_uuid=task_uuid
        )
Adds an index to the database and returns it. 
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/rpc/receiver.py/NailgunReceiver._notify--crossover with--dataset/ETHPy150Open espeed/bulbs/bulbs/titan/index.py/EdgeIndexProxy.create