Work-in-progress. Completed page will be linked into the Tutorials page.
Overview
ONOS Rabbit MQ app currently supports the following events:
- Device Event
Describes infrastructure device event. - Port Event
Describes infrastructure port event. - Link Event
Describes infrastructure link event. - Topology Event
Describes network topology event. - Packet Event
Describes inbound packet recieved.
- Device Event
Configuration
To configure Rabbit MQ event notification from ONOS the following components needs to be configured:
- ONOS Rabbit MQ App
- Rabbit MQ Server (External to ONOS)
- Rabbit MQ Client (External to ONOS)
Message event json structures and their attributes
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 message event json structure, attributes and definitions,
mq_message_definition_&_structures.docx