mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-16 01:41:26 +02:00
Process OF messages through 8 queues. Output queue for messages controlled per OF Agent with help of message classifiers. Queues can be configured through component configuration mechanism for "org.onosproject.openflow.controller.impl.OpenFlowControllerImpl" component. Classifiers can be configured through NetworkConfig API in the following form: { "devices": { "of:0000000000000001": { "classifiers": [{ "ethernet-type":"LLDP", "target-queue":0 },{ "ethernet-type":"BDDP", "target-queue":0 },{ "ethernet-type":"0x1234", "target-queue":1 }] } } } Where "target_queue" is queue number from 0 to 7 (7 is default queue), "ethernet_type" is a type of a packet either in "0xFFFF" from or enum name as defined in the "org.onlab.packet.EthType.EtherType" enum. Change-Id: I0512ef653d90c36f00289014872170c1a8aa5204