Bug 7453 - FlowRemoved doesn't have Removed Reason Information 80/51280/1
authoreeiillu <suja.t@ericsson.com>
Thu, 12 Jan 2017 04:59:18 +0000 (10:29 +0530)
committerD Arunprakash <d.arunprakash@ericsson.com>
Wed, 1 Feb 2017 06:34:18 +0000 (06:34 +0000)
commit371c65647d29712b92836dcc2b178d42aecbf9c7
treeffbbd5340d85607ebdfb820b50b2184261d83ed0
parentde64a9f6fb2da03236885800cc65a4fb10349511
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>
(cherry picked from commit 80cee5d71d306b8806d9316d12dceb5c1d1d63e6)
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