Have openflow switch report all flow removals 48/2148/3
authorAlessandro Boch <aboch@cisco.com>
Thu, 24 Oct 2013 17:23:44 +0000 (10:23 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 25 Oct 2013 16:16:57 +0000 (16:16 +0000)
commit821fc2279471ff1bddc856aae2cebc8e8d1fa647
tree283cc9d7c2753e9660e2d9bc21baf599f9c99d03
parenta5c01d20552da9b256f628db12d384dd2d4d3702
Have openflow switch report all flow removals

- Current Flow Programmer Service code in protocol_plugins.openflow
  instructs the switch to report the flow removal event to the controller
  only for hard or idle timeout flows, during flowmod message creation.
  Nevrekar pointed out in some switches a removal of openflow flows may
  be done by other entities. So in order for the app on top of controller
  to get to know about this flow deletions, we are here enabling the flow
  removal event report from the switch for all controller installed flows.

Change-Id: Iae2f7716b592269fd09c4e2fa4a18ae274367f9d
Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/internal/FlowConverter.java