Work-in-progress. Completed page will be linked into the Tutorials page.

Overview

        ONOS Rabbit MQ application will be capture and parse the ONOS events and notifications. There by converting the below listed events into appropriate json schema and publish them on to MQ server. The interested ONOS application can consume the published json messages.

Types of ONOS events supported by RabbitMQ app

To configure Rabbit MQ event notification from ONOS the following components needs to be configured:

             For example device event message structure as below

{
"switch_id": "of:0000000000000001",
"infra_device_name": "SWITCH",
"event_type": "DEVICE_EVENT",
"sub_event_type": "DEVICE_UPDATED",
"hwVersion": "Open vSwitch",
"mfr": "Nicira, Inc.",
"serial": "None",
"sw_version": "2.5.0",
"chassis_id": 1,
"occurrence_time": "Tue Aug 23 15:40:59 IST 2016"
}

Please refer below attached document for complete set of json message onos event structure, attributes and their definitions,

mq_message_definition_&_structures.docx