BUG-3229: Add support for PacketIn filtering 69/20969/1
authorRobert Varga <rovarga@cisco.com>
Fri, 15 May 2015 18:35:50 +0000 (20:35 +0200)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 22 May 2015 11:01:21 +0000 (13:01 +0200)
commit0c09ae4a352cccbd7dbaa1058bfb5ac370b9310a
tree7f48c7ef9884f1ae096448731dd34475bd94e32d
parentaa13d46568a13f9d73f9ea90b2c14211b473dde6
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>
(cherry picked from commit 1f1a00d6c132e58a4d8f549f836323ecfe003e77)
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