<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:37 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>[CONTROLLER-684] Minimum values of SET_TP_SRC and SET_TP_DST are incorrectly set to 1.</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-684</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Minimum values of SET_TP_SRC and SET_TP_DST actions are incorrectly set to 1 in SAL (Service Abstraction Layer).&lt;/p&gt;

&lt;p&gt;Therefore, when I tried to install a flow entry which contains an action &quot;SET_TP_SRC=0&quot;, the following error message was output.&lt;/p&gt;

&lt;p&gt;    ERROR o.o.controller.sal.action.Action - Invalid field value assignement. For type: setTpSrc Expected: &lt;span class=&quot;error&quot;&gt;&amp;#91;0x1-0xffff&amp;#93;&lt;/span&gt;, Got: 0x0&lt;/p&gt;


&lt;p&gt;Because the range of TCP port and UDP port includes 0, the minimum values of SET_TP_SRC and SET_TP_DST actions must be set to 0.&lt;/p&gt;


&lt;p&gt;What I used to reproduce the issue&lt;br/&gt;
----------------------------------&lt;/p&gt;

&lt;p&gt;The latest version of the Base Edition on August 12th, 2014.&lt;br/&gt;
I built the Base Edition from source code of the Git repository of Integration group.&lt;/p&gt;

&lt;p&gt;$ git log -3 --oneline&lt;br/&gt;
759ec09 Updating VTN OF13 to get mininet to start with OpenFlow13&lt;br/&gt;
418c937 Patch to fix VTN after OVSDB changed Neutron artifact name&lt;br/&gt;
7b21316 BUG-1255 extension proposal&lt;/p&gt;



&lt;p&gt;How to reproduce the issue&lt;br/&gt;
--------------------------&lt;/p&gt;

&lt;p&gt;1. Start up the Base Edition.&lt;/p&gt;

&lt;p&gt;$ ./run.sh&lt;/p&gt;


&lt;p&gt;2. Install a flow entry by using REST API of FlowProgrammer.&lt;/p&gt;

&lt;p&gt;For example, you can use the REST API by executing curl command on Linux as follows.&lt;/p&gt;

&lt;p&gt;$ curl --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Content-type: application/json&quot; -X PUT \&lt;br/&gt;
    &lt;a href=&quot;http://localhost:8080/controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:01/staticFlow/flow0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:01/staticFlow/flow0&lt;/a&gt; \&lt;br/&gt;
    -d &apos;{ &quot;installInHw&quot;:&quot;true&quot;, &quot;name&quot;:&quot;flow0&quot;, &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;,&quot;ingressPort&quot;:&quot;2&quot;,&quot;priority&quot;:&quot;501&quot;,&quot;etherType&quot;:&quot;0x800&quot;,&quot;protocol&quot;:&quot;tcp&quot;,&quot;actions&quot;:&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;SET_TP_SRC=0&amp;quot;&amp;#93;&lt;/span&gt; }&apos;&lt;/p&gt;

&lt;p&gt;You can see the following error message in the OSGi console right after you execute the above command.&lt;/p&gt;

&lt;p&gt;    ERROR o.o.controller.sal.action.Action - Invalid field value assignement. For type: setTpSrc Expected: &lt;span class=&quot;error&quot;&gt;&amp;#91;0x1-0xffff&amp;#93;&lt;/span&gt;, Got: 0x0&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25238">CONTROLLER-684</key>
            <summary>Minimum values of SET_TP_SRC and SET_TP_DST are incorrectly set to 1.</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="Hideyuki1985">Hideyuki Tai</assignee>
                                    <reporter username="Hideyuki1985">Hideyuki Tai</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Aug 2014 00:14:38 +0000</created>
                <updated>Tue, 5 May 2015 15:17:24 +0000</updated>
                            <resolved>Tue, 5 May 2015 15:17:24 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="48849" author="hideyuki.tai@necam.com" created="Wed, 13 Aug 2014 00:39:49 +0000"  >&lt;p&gt;I&apos;ve verified that this issue is fixed by the following patch.&lt;br/&gt;
    &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/9904/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/9904/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48850" author="carolsand@gmail.com" created="Tue, 5 May 2015 15:17:24 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.&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>1536</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=1536]]></customfieldvalue>

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

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