<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:24 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-413] Incorrect logic in matchbuilder</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-413</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;This was masked by 3050 and thus not visible.&lt;/p&gt;

&lt;p&gt;If you have a match with entriesBuilder.setHasMask(false); &lt;/p&gt;

&lt;p&gt;(as in some testcases), the following logic in MatchCovertorImpl results in an invalid prefix (ip address instead of prefix)&lt;/p&gt;

&lt;p&gt;if (maskMatchEntry != null) {&lt;br/&gt;
   ipv6PrefixStr += PREFIX_SEPARATOR&lt;br/&gt;
    +  MatchConvertorUtil.ipv6NetmaskArrayToCIDRValue(maskMatchEntry.getMask());&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;It should be:&lt;/p&gt;

&lt;p&gt;if (maskMatchEntry != null) {&lt;br/&gt;
   ipv6PrefixStr += PREFIX_SEPARATOR&lt;br/&gt;
    +  MatchConvertorUtil.ipv6NetmaskArrayToCIDRValue(maskMatchEntry.getMask());&lt;br/&gt;
} else {&lt;br/&gt;
    pv6PrefixStr += PREFIX_SEPARATOR + &quot;128&quot;;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Similar for IPv4 prefixes.&lt;/p&gt;

&lt;p&gt;I am quoting sources and lines from Helium. I have not looked at master which I suspect is likely to have the same bug.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27681">OPNFLWPLUG-413</key>
            <summary>Incorrect logic in matchbuilder</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="-1">Unassigned</assignee>
                                    <reporter username="aivanov@brocade.com">Anton Ivanov</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Apr 2015 09:54:17 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:29 +0000</updated>
                            <resolved>Mon, 22 Aug 2016 12:17:56 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="56768" author="aivanov@brocade.com" created="Thu, 23 Apr 2015 10:42:02 +0000"  >&lt;p&gt;There is a fix for v4 in the code already along the same lines. It is just missing for v6 because the regexp matching breakage in the generated Ipv6Prefix.java was not catching it.&lt;/p&gt;</comment>
                            <comment id="56769" author="aivanov@brocade.com" created="Thu, 23 Apr 2015 10:43:18 +0000"  >&lt;p&gt;FlowRemovedTranslator has the same problem.&lt;/p&gt;

&lt;p&gt;In either case if the user originally specified the flow correctly (/128) this will result in opstate != confstate.&lt;/p&gt;</comment>
                            <comment id="56770" author="aivanov@brocade.com" created="Thu, 23 Apr 2015 13:05:49 +0000"  >&lt;p&gt;Gerrit: &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/18917&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/18917&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Gerrit also has the IP addresses in incorrect non-RFC compliant notation fixed (which will probably break it). If it does not pass I will resubmit, but we have to fix those elsewhere. The current notation is bogus as it is pretty much guaranteed to result in a opstate != confstate situation&lt;/p&gt;</comment>
                            <comment id="56771" author="abhijit2511" created="Tue, 10 Nov 2015 19:08:16 +0000"  >&lt;p&gt;Anton,&lt;/p&gt;

&lt;p&gt;Are you planning to resubmit the fix? It says abandoned. Also added Michal Rehak to make sure he is aware of the patch.&lt;/p&gt;

&lt;p&gt;Abhijit&lt;/p&gt;</comment>
                            <comment id="56772" author="aivanov@brocade.com" created="Tue, 10 Nov 2015 19:09:38 +0000"  >&lt;p&gt;I need to reread Li code. I think that was fixed as a part of a different gerrit.&lt;/p&gt;</comment>
                            <comment id="56773" author="suvitha.balu@tcs.com" created="Thu, 26 May 2016 05:56:47 +0000"  >&lt;p&gt;Hope this issue is fixed - &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/19140/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/19140/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any reason why its open ?&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>3053</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=3053]]></customfieldvalue>

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

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