BUG-3229: Add support for PacketIn filtering 59/20559/8
authorRobert Varga <rovarga@cisco.com>
Fri, 15 May 2015 18:35:50 +0000 (20:35 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 18 May 2015 14:42:23 +0000 (16:42 +0200)
commit1f1a00d6c132e58a4d8f549f836323ecfe003e77
tree584131201b3239d839b02552362bd2e1dd226522
parent44b028491689d8d89c2ffea2e7bc6bb2d80209fe
BUG-3229: Add support for PacketIn filtering

When we are facing an overload situation, we may need to suppress
PacketIns while still processing other messages. This patch adds the
interface for ConnectionAdapter users which they can use to enable
filtering of such packets.

The implementation ensures that we filter these packets as efficiently
as possible.

Change-Id: I431631922437af7a08eb8ece647904d487634bd9
Signed-off-by: Robert Varga <rovarga@cisco.com>
openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/connection/ConnectionAdapter.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/OFVersionDetector.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/ConnectionAdapterImpl.java