<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:26 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OPNFLWPLUG-50] Flow removed works only for 1 flow and 2nd flow remove does not work.</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-50</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;This is how I tested:&lt;br/&gt;
1. Run ODL&lt;br/&gt;
2. Run Mininet: sudo mn --topo single,3  --controller&lt;br/&gt;
&apos;remote,ip=192.168.56.1&apos; --switch ovsk,protocols=OpenFlow13&lt;br/&gt;
3. Add flows&lt;/p&gt;

&lt;p&gt;osgi&amp;gt; addMDFlow openflow:1 f4&lt;/p&gt;

&lt;p&gt;ovs&amp;gt; sudo ovs-ofctl -OOpenFLow13 dump-flows  s1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0xa, duration=10.071s, table=2, n_packets=0, n_bytes=0,&lt;br/&gt;
send_flow_rem&lt;br/&gt;
priority=2,ip,dl_src=00:00:00:00:00:00/ff:ff:ff:00:00:00,dl_dst=ff:ff:00:00:&lt;br/&gt;
00:00/ff:ff:00:00:00:00 actions=drop&lt;/p&gt;

&lt;p&gt;osgi&amp;gt; addMDFlow openflow:1 f5&lt;/p&gt;

&lt;p&gt;ovs&amp;gt; sudo ovs-ofctl -OOpenFLow13 dump-flows  s1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0xa, duration=0.757s, table=2, n_packets=0, n_bytes=0, send_flow_rem&lt;br/&gt;
priority=2,ip,nw_dst=10.0.0.0/24 actions=drop&lt;br/&gt;
 cookie=0xa, duration=37.356s, table=2, n_packets=0, n_bytes=0,&lt;br/&gt;
send_flow_rem&lt;br/&gt;
priority=2,ip,dl_src=00:00:00:00:00:00/ff:ff:ff:00:00:00,dl_dst=ff:ff:00:00:&lt;br/&gt;
00:00/ff:ff:00:00:00:00 actions=drop&lt;/p&gt;

&lt;p&gt;Everything is OK! Then:&lt;/p&gt;

&lt;p&gt;4. Remove flows&lt;br/&gt;
osgi&amp;gt; removeMDFlow openflow:1 f4&lt;br/&gt;
2014-01-23 11:05:20.198 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-notification-2&amp;#93;&lt;/span&gt; ERROR&lt;br/&gt;
o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener:&lt;br/&gt;
org.opendaylight.controller.sal.compatibility.FlowProgrammerAdapter$$Broker$&lt;br/&gt;
ListenerInvoker@5c7bf2e2&lt;br/&gt;
java.lang.NullPointerException: null&lt;br/&gt;
	at&lt;br/&gt;
org.opendaylight.controller.sal.compatibility.NodeMapping.toADNode(NodeMappi&lt;br/&gt;
ng.java:274) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at&lt;br/&gt;
org.opendaylight.controller.sal.compatibility.FlowProgrammerAdapter.onFlowRe&lt;br/&gt;
moved(FlowProgrammerAdapter.java:201) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at&lt;br/&gt;
org.opendaylight.controller.sal.compatibility.FlowProgrammerAdapter$$Broker$&lt;br/&gt;
ListenerInvoker.onNotification(FlowProgrammerAdapter$$Broker$ListenerInvoker&lt;br/&gt;
.java) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at&lt;br/&gt;
org.opendaylight.controller.sal.binding.impl.NotifyTask.call(NotifyTask.java&lt;br/&gt;
:59) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at&lt;br/&gt;
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)&lt;br/&gt;
~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)&lt;br/&gt;
~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at&lt;br/&gt;
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11&lt;br/&gt;
45) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at&lt;br/&gt;
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6&lt;br/&gt;
15) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:724) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
Status of Flow Data Loaded Transaction: COMMITED&lt;/p&gt;

&lt;p&gt;ovs&amp;gt; sudo ovs-ofctl -OOpenFLow13 dump-flows  s1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0xa, duration=79.276s, table=2, n_packets=0, n_bytes=0,&lt;br/&gt;
send_flow_rem priority=2,ip,nw_dst=10.0.0.0/24 actions=drop&lt;/p&gt;

&lt;p&gt;osgi&amp;gt; removeMDFlow openflow:1 f5&lt;br/&gt;
osgi&amp;gt; Status of Flow Data Loaded Transaction: COMMITED&lt;/p&gt;

&lt;p&gt;Flow still in switch.&lt;/p&gt;

&lt;p&gt;sudo ovs-ofctl -OOpenFLow13 dump-flows  s1:&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0xa, duration=138.365s, table=2, n_packets=0, n_bytes=0,&lt;br/&gt;
send_flow_rem priority=2,ip,nw_dst=10.0.0.0/24 actions=drop&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Windows&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27318">OPNFLWPLUG-50</key>
            <summary>Flow removed works only for 1 flow and 2nd flow remove does not work.</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="prasanna.huddar@ericsson.com">Prasanna Huddar</assignee>
                                    <reporter username="prasanna.huddar@ericsson.com">Prasanna Huddar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Jan 2014 16:29:35 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:03 +0000</updated>
                            <resolved>Sun, 26 Jan 2014 16:22:42 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="55279" author="mirehak@cisco.com" created="Sat, 25 Jan 2014 18:55:01 +0000"  >&lt;p&gt;Fixed by &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/4769/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/4769/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By removing the whole switch has been removed from both datastore contexts (config+operational). Now only config context is modified when removing flow and switch is preserved.&lt;/p&gt;

&lt;p&gt;Please test&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>365</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=365]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02yrb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>