mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-12-26 19:51:57 +01: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
16 lines
323 B
Python
16 lines
323 B
Python
COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + [
|
|
"//core/common:onos-core-common",
|
|
"@openflowj//jar",
|
|
"@io_netty_netty_transport//jar",
|
|
]
|
|
|
|
TEST_DEPS = TEST + [
|
|
"//core/api:onos-api-tests",
|
|
]
|
|
|
|
osgi_jar_with_tests(
|
|
test_deps = TEST_DEPS,
|
|
visibility = ["//visibility:public"],
|
|
deps = COMPILE_DEPS,
|
|
)
|