<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:03 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-280] The return value of sal-compatibility on flow entry update API is always SUCCESS.</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-280</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;The return value of sal-compatibility on flow entry update API was always SUCCESS, even when an AD-SAL application tried to install an inconsistent flow entry with MD-SAL OF plugin via sal-compatibility, but a switch refused the flow entry.&lt;/p&gt;


&lt;p&gt;When an AD-SAL application executes synchronous methods of the flow entry update API of the sal-compatibility, the sal-compatibility waits for the completion of the flow entry update, and returns control to the caller.&lt;br/&gt;
However, the sal-compatibility does not check the result of the flow entry update, and returns SUCCESS.&lt;/p&gt;

&lt;p&gt;Due to this issue, AD-SAL application cannot know if a flow entry update is successful or not.&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;How to reproduce the issue&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;To reproduce the issue, let&apos;s try to install an inconsistent flow entry.&lt;/p&gt;

&lt;p&gt;For example, please try to install the following flow entry into OF 1.3 switch using AD-SAL&apos;s NB API.&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;actions&quot;: [&lt;br/&gt;
        &quot;SET_TP_SRC=8&quot;&lt;br/&gt;
    ], &lt;br/&gt;
    &quot;ingressPort&quot;: &quot;1&quot;, &lt;br/&gt;
    &quot;installInHw&quot;: &quot;true&quot;, &lt;br/&gt;
    &quot;name&quot;: &quot;flow1&quot;, &lt;br/&gt;
    &quot;node&quot;: &lt;/p&gt;
{
        &quot;id&quot;: &quot;00:00:00:00:00:00:00:01&quot;, 
        &quot;type&quot;: &quot;OF&quot;
    }
&lt;p&gt;, &lt;br/&gt;
    &quot;priority&quot;: &quot;500&quot;&lt;br/&gt;
}&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://192.168.2.56:8080/controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:01/staticFlow/flow1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.2.56:8080/controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:01/staticFlow/flow1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The above flow entry is inconsistent, because it does not specify IP protocol in match condition, but it has a SET_TP_SRC action.&lt;br/&gt;
Therefore, a switch refuses the flow entry to be installed, and it sends a OFPT_ERROR message whose type is OFPET_BAD_ACTION and whose code is OFPBAC_MATCH_INCONSISTENT.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27548">OPNFLWPLUG-280</key>
            <summary>The return value of sal-compatibility on flow entry update API is always SUCCESS.</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Hideyuki1985">Hideyuki Tai</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Sep 2014 23:25:22 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:20 +0000</updated>
                            <resolved>Tue, 16 Aug 2016 11:07:40 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="56158" author="jgloncak" created="Tue, 27 Jan 2015 13:57:48 +0000"  >&lt;p&gt;I started Karaf in debug mode with &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;odl-openflowplugin-flow-services&lt;/li&gt;
	&lt;li&gt;odl-adsal-all&lt;br/&gt;
features installed.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I started my IDE and I connected to remote debug on port 5005&lt;/p&gt;

&lt;p&gt;I tried to do rest call (PUT data as you specified to URI as you specified (with my own address of running ODL)). &lt;br/&gt;
I assumed that FlowProgrammerNorthbound.addOrModifyFlow() method of artifact flowprogrammer.northbound will be called, but it wasn&apos;t.&lt;/p&gt;

&lt;p&gt;Currently I am quite lost and I can&apos;t replicate your problem. Can you please more precisely specify how I could replicate or please notify if my assumption about handling method (addOrModifyFlow) was wrong.&lt;/p&gt;</comment>
                            <comment id="56159" author="abhijit2511" created="Tue, 10 Nov 2015 00:59:06 +0000"  >&lt;p&gt;Hideyuki - is this still an issue or not?&lt;/p&gt;</comment>
                            <comment id="56160" author="hideyuki.tai@necam.com" created="Tue, 10 Nov 2015 18:50:42 +0000"  >&lt;p&gt;(In reply to Abhijit Kumbhare from comment #2)&lt;br/&gt;
&amp;gt; Hideyuki - is this still an issue or not?&lt;/p&gt;

&lt;p&gt;I&apos;m not sure if this issue is fixed or not.&lt;br/&gt;
Maybe if I have time, I might try to reproduce the issue.&lt;/p&gt;

&lt;p&gt;That being said, since the sal-compatibility is deleted in Beryllium, I think the issue is not important anymore.&lt;/p&gt;</comment>
                            <comment id="56161" author="andrejleitner" created="Tue, 16 Aug 2016 11:07:40 +0000"  >&lt;p&gt;Since this was not relevant by beryllium, it&apos;s not relevant in boron/carbon era too - closing bug.&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>1939</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=1939]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10360"><![CDATA[Helium-2]]></customfieldvalue>

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

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