I guess you turned the FLOW_REM flag on while sending the flow that you are deleting.
eg : https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:End_to_End_Flows Br,shuva On Tue, Apr 18, 2017 at 7:24 PM, Chetan A G < [email protected]> wrote: > Hi Shuva, > > > > I’m testing this in odl-master(nitrogen) and the version been used is > 0.5.0-SNAPSHOT(https://github.com/opendaylight/openflowplugin/blob/master/ > pom.xml) > > > > I believe it’s the Lithum plugin been used in odl-master. > > > > Thanks, > > Chetan > > > > *From:* Shuva Kar [mailto:[email protected]] > *Sent:* 18 April 2017 15:16 > *To:* Chetan A G <[email protected]> > *Cc:* openflowplugin-dev <[email protected]>; N > Vivekanandan <[email protected]>; Sharath Kumar V < > [email protected]>; Karthikeyan Krishnan <karthikeyan.k@ > altencalsoftlabs.com> > *Subject:* Re: [openflowplugin-dev] : onFlowRemoved() not getting called > > > > I find that you are using the Boron builds. Which plugin model are you > using ? > > > Br,shuva > > > > On Tue, Apr 18, 2017 at 12:43 PM, Chetan A G <chetan.arakere@ > altencalsoftlabs.com> wrote: > > Hi All, > > > > I'm observing the onFlowRemoved() is not getting called on Flow removal > from Switch with latest code on ODL-master. NAT has implemented > SalFlowListener and does certain clean-up on receiving Flow Removed > Notification on specific table(on IDLE_TIME_OUT). > > > > public class NaptFlowRemovedEventHandler implements SalFlowListener { > > > > public void onFlowRemoved(FlowRemoved flowRemoved) { > > ... > > } > > > > } > > > > As a result of onFlowremoved() not called, certain allocated ports where > never released(allocated for an SNAT session) and certain flows(table=44) > where never gets removed from Switch. > > > > I see the following flag been set to true(ODL-master\netvirt\ > vpnservice\distribution\karaf\target\assembly\system\org\ > opendaylight\openflowplugin\openflowplugin-blueprint- > config\0.5.0-SNAPSHOT\openflowplugin-blueprint- > config-0.5.0-SNAPSHOT-config.cfg) > > > > #Flow removed notification is turned on by default. Default value true > > enable-flow-removed-notification=true > > > > I have opened a bug to track this issue. > > > > https://bugs.opendaylight.org/show_bug.cgi?id=8238 > > > > Request to let us know on this issue. > > > > Thanks, > > Chetan > > > _______________________________________________ > openflowplugin-dev mailing list > [email protected] > https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev > > >
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
