Bug 7453 - FlowRemoved doesn't have Removed Reason Information 35/50335/7
authoreeiillu <suja.t@ericsson.com>
Thu, 12 Jan 2017 04:59:18 +0000 (10:29 +0530)
committerSuja T <suja.t@ericsson.com>
Tue, 31 Jan 2017 09:42:29 +0000 (09:42 +0000)
commit80cee5d71d306b8806d9316d12dceb5c1d1d63e6
treecbdd57c33d6687a843b0c999bf7d5741ddf5e77e
parenta2c0d5a3f660e899967a39767f3c227eb4bcc826
Bug 7453 - FlowRemoved doesn't have Removed Reason Information

On flow being removed from switch on idle timeout, onFlowRemoved() api was
invoked and while conversion reason was not being converted and added, so
the application using API onFlowRemoved() was not getting the reason for
flow being removed from the switch.
This change will provide the reason invoking onFlowRemoved() API

Change-Id: Id8b957b5b2cc581215fb84b8ca84d1d9a04e5619
Signed-off-by: eeiillu <suja.t@ericsson.com>
model/model-flow-base/src/main/yang/opendaylight-flow-types.yang
model/model-flow-service/src/main/yang/sal-flow.yang
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/translator/FlowRemovedTranslator.java
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/translator/FlowRemovedTranslator.java