<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:49 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-569] Li - Flowmod succeed even if switch send Error</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-569</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;feature : odl-openflowplugin-flow-services-ui-li&lt;/p&gt;

&lt;p&gt;openflowplugin is expected to generate an error when flowmod fail. The bug is that flowmod succeed even if switch send Error.&lt;/p&gt;

&lt;p&gt;Steps to reproduce :&lt;/p&gt;

&lt;p&gt;1. Compile forked branch (OVS will return an OFPERR_OFPBAC_TOO_MANY to flowmods with actions)&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;git clone -b branch-2.3 &lt;a href=&quot;https://github.com/omardyson/ovs.git&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/omardyson/ovs.git&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;apt-get install mininet   # Install mininet to get dependencies&lt;/li&gt;
	&lt;li&gt;cd ovs/&lt;/li&gt;
	&lt;li&gt;./configure --prefix=/usr --with-linux=/lib/modules/`uname -r`/build&lt;/li&gt;
	&lt;li&gt;make &amp;amp;&amp;amp; make install &amp;amp;&amp;amp; make modules_install&lt;/li&gt;
	&lt;li&gt;rmmod openvswitch &amp;amp;&amp;amp; depmod -a&lt;/li&gt;
	&lt;li&gt;/etc/init.d/openvswitch-controller stop&lt;/li&gt;
	&lt;li&gt;update-rc.d openvswitch-controller disable&lt;/li&gt;
	&lt;li&gt;/etc/init.d/openvswitch-switch start&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;2. Setup a virtual switch with some ports:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;ip tuntap add dev myeth1 mode tap&lt;/li&gt;
	&lt;li&gt;ip link set dev myeth1 up&lt;/li&gt;
	&lt;li&gt;ip tuntap add dev myeth2 mode tap&lt;/li&gt;
	&lt;li&gt;ip link set dev myeth2 up&lt;/li&gt;
	&lt;li&gt;ovs-vsctl add-br sw1 &amp;#8211; set Bridge sw1 other_config:datapath-id=0000000000000001 &amp;#8211; set-fail-mode sw1 secure &amp;#8211; add-port sw1 myeth1 &amp;#8211; set Interface myeth1 ofport_request=1 &amp;#8211; add-port sw1 myeth2 &amp;#8211; set Interface myeth2 ofport_request=2 &amp;#8211; set-controller sw1 tcp:127.0.0.1:6633 ptcp:6634 &amp;#8211; set bridge sw1 other-config:disable-in-band=true &amp;#8211; set bridge sw1 protocols=OpenFlow13&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;3. Send any flowmod with actions in it.&lt;/p&gt;

&lt;p&gt;4. In wireshark you get OFPERR_OFPBAC_TOO_MANY error, but openflowplugin Li report successful future.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27837">OPNFLWPLUG-569</key>
            <summary>Li - Flowmod succeed even if switch send Error</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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="mounaouar@gmail.com">omar mounaouar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 6 Nov 2015 15:22:05 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:40 +0000</updated>
                            <resolved>Mon, 9 Nov 2015 23:54:58 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="57401" author="mirehak@cisco.com" created="Mon, 9 Nov 2015 08:11:07 +0000"  >&lt;p&gt;Hi Omar,&lt;br/&gt;
could you please specify the way how did you send the flow? Using dataStore (DS) way prevents controller from returning any error result as the flow is being sent after restconf or DS-API response is delivered.&lt;br/&gt;
If you use direct rpc that it is supposed to work - actually it was already fixed once: &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-538&quot; title=&quot;Li: flowMod result ignores relevant errors from device&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-538&quot;&gt;&lt;del&gt;OPNFLWPLUG-538&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57402" author="mounaouar@gmail.com" created="Mon, 9 Nov 2015 23:54:58 +0000"  >&lt;p&gt;Hi Michal, &lt;br/&gt;
Thank for your answer, you are right, I was using a build before &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-538&quot; title=&quot;Li: flowMod result ignores relevant errors from device&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-538&quot;&gt;&lt;del&gt;OPNFLWPLUG-538&lt;/del&gt;&lt;/a&gt; fix. This issue is now resolved with latest build.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="27806">OPNFLWPLUG-538</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>4591</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=4591]]></customfieldvalue>

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

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